Class: AwsHelpers::CloudFormation::StackModifyParameters

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

Instance Method Summary collapse

Constructor Details

#initialize(cloud_formation_client, stack_name, updated_parameters) ⇒ StackModifyParameters

Returns a new instance of StackModifyParameters


7
8
9
10
11
# File 'lib/aws_helpers/cloud_formation/stack_modify_parameters.rb', line 7

def initialize(cloud_formation_client, stack_name, updated_parameters)
  @cloud_formation_client = cloud_formation_client
  @stack_name = stack_name
  @updated_parameters = updated_parameters
end

Instance Method Details

#executeObject


13
14
15
16
# File 'lib/aws_helpers/cloud_formation/stack_modify_parameters.rb', line 13

def execute
  puts "Modifying Parameters #{@stack_name}"
  StackUpdate.new(@cloud_formation_client, request).execute
end