Class: AWS::CloudFormation::StackEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/cloud_formation/stack_event.rb

Overview

Stack Event

You can get stack events from a Stack object.

stack = cfm.stacks['stack-name']
stack.events.each do |event|
  puts "#{event.timestamp}: #{event.resource_status}"
end

Instance Attribute Summary collapse

Instance Attribute Details

#event_idString (readonly)



41
42
43
# File 'lib/aws/cloud_formation/stack_event.rb', line 41

def event_id
  @event_id
end

#logical_resource_idString (readonly)



45
46
47
# File 'lib/aws/cloud_formation/stack_event.rb', line 45

def logical_resource_id
  @logical_resource_id
end

#physical_resource_idString (readonly)



49
50
51
# File 'lib/aws/cloud_formation/stack_event.rb', line 49

def physical_resource_id
  @physical_resource_id
end

#resource_propertiesString (readonly)



52
53
54
# File 'lib/aws/cloud_formation/stack_event.rb', line 52

def resource_properties
  @resource_properties
end

#resource_statusSymbol (readonly)



55
56
57
# File 'lib/aws/cloud_formation/stack_event.rb', line 55

def resource_status
  @resource_status
end

#resource_status_reasonString? (readonly)



59
60
61
# File 'lib/aws/cloud_formation/stack_event.rb', line 59

def resource_status_reason
  @resource_status_reason
end

#resource_typeString (readonly)



62
63
64
# File 'lib/aws/cloud_formation/stack_event.rb', line 62

def resource_type
  @resource_type
end

#stackStack (readonly)



38
39
40
# File 'lib/aws/cloud_formation/stack_event.rb', line 38

def stack
  @stack
end

#stack_idString (readonly)



65
66
67
# File 'lib/aws/cloud_formation/stack_event.rb', line 65

def stack_id
  @stack_id
end

#stack_nameString (readonly)



68
69
70
# File 'lib/aws/cloud_formation/stack_event.rb', line 68

def stack_name
  @stack_name
end

#timestampTime (readonly)



71
72
73
# File 'lib/aws/cloud_formation/stack_event.rb', line 71

def timestamp
  @timestamp
end