Class: Aws::CloudFormation::Types::GetTemplateInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFormation::Types::GetTemplateInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudformation/types.rb
Overview
When making an API call, you may pass GetTemplateInput data as a hash:
{
stack_name: "StackName",
change_set_name: "ChangeSetNameOrId",
template_stage: "Original", # accepts Original, Processed
}
The input for a GetTemplate action.
Instance Attribute Summary collapse
-
#change_set_name ⇒ String
The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated template.
-
#stack_name ⇒ String
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:.
-
#template_stage ⇒ String
For templates that include transforms, the stage of the template that AWS CloudFormation returns.
Instance Attribute Details
#change_set_name ⇒ String
The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated template. If you specify a name, you must also specify the ‘StackName`.
2570 2571 2572 2573 2574 2575 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 2570 class GetTemplateInput < Struct.new( :stack_name, :change_set_name, :template_stage) include Aws::Structure end |
#stack_name ⇒ String
The name or the unique stack ID that is associated with the stack, which are not always interchangeable:
-
Running stacks: You can specify either the stack’s name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
2570 2571 2572 2573 2574 2575 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 2570 class GetTemplateInput < Struct.new( :stack_name, :change_set_name, :template_stage) include Aws::Structure end |
#template_stage ⇒ String
For templates that include transforms, the stage of the template that AWS CloudFormation returns. To get the user-submitted template, specify ‘Original`. To get the template after AWS CloudFormation has processed all transforms, specify `Processed`.
If the template doesn’t include transforms, ‘Original` and `Processed` return the same template. By default, AWS CloudFormation specifies `Original`.
2570 2571 2572 2573 2574 2575 |
# File 'lib/aws-sdk-cloudformation/types.rb', line 2570 class GetTemplateInput < Struct.new( :stack_name, :change_set_name, :template_stage) include Aws::Structure end |