Paws::ElasticBeanstalk::CreateApplicationVersion - Arguments for method CreateApplicationVersion on Paws::ElasticBeanstalk
This class represents the parameters used for calling the method CreateApplicationVersion on the AWS Elastic Beanstalk service. Use the attributes of this class as arguments to method CreateApplicationVersion.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApplicationVersion.
my $elasticbeanstalk = Paws->service('ElasticBeanstalk'); # To create a new application # The following operation creates a new version (v1) of an application named # my-app: my $ApplicationVersionDescriptionMessage = $elasticbeanstalk->CreateApplicationVersion( 'ApplicationName' => 'my-app', 'AutoCreateApplication' => 1, 'Description' => 'my-app-v1', 'Process' => 1, 'SourceBundle' => { 'S3Bucket' => 'my-bucket', 'S3Key' => 'sample.war' }, 'VersionLabel' => 'v1' ); # Results: my $ApplicationVersion = $ApplicationVersionDescriptionMessage->ApplicationVersion;
# Returns a Paws::ElasticBeanstalk::ApplicationVersionDescriptionMessage 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/elasticbeanstalk/CreateApplicationVersion
The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error.
AutoCreateApplication
false
InvalidParameterValue
Set to true to create an application with the specified name if it doesn't already exist.
true
Settings for an AWS CodeBuild build.
A description of this application version.
Pre-processes and validates the environment manifest (env.yaml) and configuration files (*.config files in the .ebextensions folder) in the source bundle. Validating configuration files can identify issues prior to deploying the application version to an environment.
env.yaml
*.config
.ebextensions
You must turn processing on for application versions that you create using AWS CodeBuild or AWS CodeCommit. For application versions built from a source bundle in Amazon S3, processing is optional.
The Process option validates Elastic Beanstalk configuration files. It doesn't validate your application's configuration files, like proxy server or Docker configuration.
Process
Specify a commit in an AWS CodeCommit Git repository to use as the source code for the application version.
The Amazon S3 bucket and key that identify the location of the source bundle for this version.
The Amazon S3 bucket must be in the same region as the environment.
Specify a source bundle in S3 or a commit in an AWS CodeCommit repository (with SourceBuildInformation), but not both. If neither SourceBundle nor SourceBuildInformation are provided, Elastic Beanstalk uses a sample application.
SourceBuildInformation
SourceBundle
Specifies the tags applied to the application version.
Elastic Beanstalk applies these tags only to the application version. Environments that use the application version don't inherit the tags.
A label identifying this version.
Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue error.
This class forms part of Paws, documenting arguments for method CreateApplicationVersion in Paws::ElasticBeanstalk
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.