The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::CloudFormation::GetTemplate - Arguments for method GetTemplate on Paws::CloudFormation

DESCRIPTION

This class represents the parameters used for calling the method GetTemplate on the AWS CloudFormation service. Use the attributes of this class as arguments to method GetTemplate.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetTemplate.

SYNOPSIS

    my $cloudformation = Paws->service('CloudFormation');
    my $GetTemplateOutput = $cloudformation->GetTemplate(
      ChangeSetName => 'MyChangeSetNameOrId',    # OPTIONAL
      StackName     => 'MyStackName',            # OPTIONAL
      TemplateStage => 'Original',               # OPTIONAL
    );

    # Results:
    my $StagesAvailable = $GetTemplateOutput->StagesAvailable;
    my $TemplateBody    = $GetTemplateOutput->TemplateBody;

    # Returns a L<Paws::CloudFormation::GetTemplateOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloudformation/GetTemplate

ATTRIBUTES

ChangeSetName => Str

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.

StackName => Str

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.

TemplateStage => Str

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.

Valid values are: "Original", "Processed"

SEE ALSO

This class forms part of Paws, documenting arguments for method GetTemplate in Paws::CloudFormation

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues