![]() |
![]()
| ![]() |
![]()
NAMEPaws::ElasticBeanstalk::CreateApplicationVersion - Arguments for method CreateApplicationVersion on Paws::ElasticBeanstalk DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESREQUIRED ApplicationName => StrThe name of the application. If no application is found with this name, and "AutoCreateApplication" is "false", returns an "InvalidParameterValue" error. AutoCreateApplication => BoolSet to "true" to create an application with the specified name if it doesn't already exist. BuildConfiguration => Paws::ElasticBeanstalk::BuildConfigurationSettings for an AWS CodeBuild build. Description => StrA description of this application version. Process => BoolPre-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. 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. SourceBuildInformation => Paws::ElasticBeanstalk::SourceBuildInformationSpecify a commit in an AWS CodeCommit Git repository to use as the source code for the application version. SourceBundle => Paws::ElasticBeanstalk::S3LocationThe 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. Tags => ArrayRef[Paws::ElasticBeanstalk::Tag]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. REQUIRED VersionLabel => StrA 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. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateApplicationVersion in Paws::ElasticBeanstalk BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|