You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetTemplateInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  stack_name: "StackName",
  change_set_name: "ChangeSetNameOrId",
  template_stage: "Original", # accepts Original, Processed
}

The input for a GetTemplate action.

Instance Attribute Summary collapse

Instance Attribute Details

#change_set_nameString

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.

Returns:

  • (String)

    The name or Amazon Resource Name (ARN) of a change set for which AWS CloudFormation returns the associated template.

#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)

    The name or the unique stack ID that is associated with the stack, which are not always interchangeable:.

#template_stageString

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.

Possible values:

  • Original
  • Processed

Returns:

  • (String)

    For templates that include transforms, the stage of the template that AWS CloudFormation returns.