NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $cloudformation = Paws->service('CloudFormation');
my $ValidateTemplateOutput = $cloudformation->ValidateTemplate(
  TemplateBody => 'MyTemplateBody',    # OPTIONAL
  TemplateURL  => 'MyTemplateURL',     # OPTIONAL
);

# Results:
my $Capabilities       = $ValidateTemplateOutput->Capabilities;
my $CapabilitiesReason = $ValidateTemplateOutput->CapabilitiesReason;
my $DeclaredTransforms = $ValidateTemplateOutput->DeclaredTransforms;
my $Description        = $ValidateTemplateOutput->Description;
my $Parameters         = $ValidateTemplateOutput->Parameters;

# Returns a L<Paws::CloudFormation::ValidateTemplateOutput> 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/ValidateTemplate

ATTRIBUTES

TemplateBody => Str

Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. For more information, go to Template Anatomy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) in the AWS CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

TemplateURL => Str

Location of file containing the template body. The URL must point to a template (max size: 460,800 bytes) that is located in an Amazon S3 bucket or a Systems Manager document. For more information, go to Template Anatomy (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html) in the AWS CloudFormation User Guide.

Conditional: You must pass TemplateURL or TemplateBody. If both are passed, only TemplateBody is used.

SEE ALSO

This class forms part of Paws, documenting arguments for method ValidateTemplate 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