NAME
Paws::Proton::CreateEnvironmentTemplateVersion - Arguments for method CreateEnvironmentTemplateVersion on Paws::Proton
DESCRIPTION
This class represents the parameters used for calling the method CreateEnvironmentTemplateVersion on the AWS Proton service. Use the attributes of this class as arguments to method CreateEnvironmentTemplateVersion.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEnvironmentTemplateVersion.
SYNOPSIS
my $proton = Paws->service('Proton');
my $CreateEnvironmentTemplateVersionOutput =
$proton->CreateEnvironmentTemplateVersion(
Source => {
S3 => {
Bucket => 'MyS3Bucket', # min: 3, max: 63
Key => 'MyS3Key', # min: 1, max: 1024
}, # OPTIONAL
},
TemplateName => 'MyResourceName',
ClientToken => 'MyClientToken', # OPTIONAL
Description => 'MyDescription', # OPTIONAL
MajorVersion => 'MyTemplateVersionPart', # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
);
# Results:
my $EnvironmentTemplateVersion =
$CreateEnvironmentTemplateVersionOutput->EnvironmentTemplateVersion;
# Returns a L<Paws::Proton::CreateEnvironmentTemplateVersionOutput> 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/proton/CreateEnvironmentTemplateVersion
ATTRIBUTES
ClientToken => Str
When included, if two identicial requests are made with the same client token, AWS Proton returns the environment template version that the first request created.
Description => Str
A description of the new version of an environment template.
MajorVersion => Str
To create a new minor version of the environment template, include a majorVersion
.
To create a new major and minor version of the environment template, exclude majorVersion
.
REQUIRED Source => Paws::Proton::TemplateVersionSourceInput
An object that includes the template bundle S3 bucket path and name for the new version of an template.
Tags => ArrayRef[Paws::Proton::Tag]
Create tags for a new version of an environment template.
REQUIRED TemplateName => Str
The name of the environment template.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateEnvironmentTemplateVersion in Paws::Proton
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