Class: AwsHelpers::CloudFormation::StackProgress

Inherits:
Object
  • Object
show all
Defined in:
lib/aws_helpers/cloud_formation/stack_progress.rb

Instance Method Summary collapse

Constructor Details

#initialize(cloud_formation_client, stack_name) ⇒ StackProgress


9
10
11
12
13
# File 'lib/aws_helpers/cloud_formation/stack_progress.rb', line 9

def initialize(cloud_formation_client, stack_name)
  @pollStackStatus = PollStackStatus.new(cloud_formation_client, stack_name)
  @stackErrorEvents = StackErrorEvents.new(cloud_formation_client, stack_name)
  @checkStackFailure = CheckStackFailure.new(cloud_formation_client, stack_name)
end

Instance Method Details

#executeObject


15
16
17
18
19
# File 'lib/aws_helpers/cloud_formation/stack_progress.rb', line 15

def execute
  @pollStackStatus.execute
  @stackErrorEvents.execute
  @checkStackFailure.execute
end