Class: Aws::CloudFormation::Types::GetTemplateInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudformation/types.rb

Overview

Note:

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_set_nameString

The name or Amazon Resource Name (ARN) of a change set for which CloudFormation returns the associated template. If you specify a name, you must also specify the `StackName`.

Returns:

  • (String)

3968
3969
3970
3971
3972
3973
3974
# File 'lib/aws-sdk-cloudformation/types.rb', line 3968

class GetTemplateInput < Struct.new(
  :stack_name,
  :change_set_name,
  :template_stage)
  SENSITIVE = []
  include Aws::Structure
end

#stack_nameString

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.

Returns:

  • (String)

3968
3969
3970
3971
3972
3973
3974
# File 'lib/aws-sdk-cloudformation/types.rb', line 3968

class GetTemplateInput < Struct.new(
  :stack_name,
  :change_set_name,
  :template_stage)
  SENSITIVE = []
  include Aws::Structure
end

#template_stageString

For templates that include transforms, the stage of the template that CloudFormation returns. To get the user-submitted template, specify `Original`. To get the template after CloudFormation has processed all transforms, specify `Processed`.

If the template doesn't include transforms, `Original` and `Processed` return the same template. By default, CloudFormation specifies `Processed`.

Returns:

  • (String)

3968
3969
3970
3971
3972
3973
3974
# File 'lib/aws-sdk-cloudformation/types.rb', line 3968

class GetTemplateInput < Struct.new(
  :stack_name,
  :change_set_name,
  :template_stage)
  SENSITIVE = []
  include Aws::Structure
end