Class: AWS::CloudFormation::StackEvent
- Inherits:
-
Object
- Object
- AWS::CloudFormation::StackEvent
- Defined in:
- lib/stacco.rb
Instance Method Summary collapse
Instance Method Details
#error ⇒ Object
26 27 28 |
# File 'lib/stacco.rb', line 26 def error self.resource_status_reason if (self.resource_status_reason and self.resource_status_reason !~ / Initiated$/) end |
#operation ⇒ Object
15 16 17 |
# File 'lib/stacco.rb', line 15 def operation self.resource_status.split('_', 2).first end |
#status ⇒ Object
19 20 21 22 23 24 |
# File 'lib/stacco.rb', line 19 def status stat = self.resource_status.split('_', 2).last return "started" if (self.resource_type == "AWS::CloudFormation::Stack" and stat == "IN_PROGRESS") return "WORKING" if stat == "IN_PROGRESS" stat end |