AWS::ElasticBeanstalk::ApplicationVersionSpecify an AWS Elastic Beanstalk application version by using the AWS::ElasticBeanstalk::ApplicationVersion resource in an AWS CloudFormation template. The AWS::ElasticBeanstalk::ApplicationVersion resource is an AWS Elastic Beanstalk resource type that specifies an application version, an iteration of deployable code, for an Elastic Beanstalk application. > After you create an application version with a specified Amazon S3 bucket and key location, you can't change that Amazon S3 location. If you change the Amazon S3 location, an attempt to launch an environment from the application version will fail.
import { CfnApplicationVersion } from 'aws-cdk-lib/aws-elasticbeanstalk';Or use the module namespace:
import * as elasticbeanstalk from 'aws-cdk-lib/aws-elasticbeanstalk';
// elasticbeanstalk.CfnApplicationVersionConfiguration passed to the constructor as CfnApplicationVersionProps.
applicationNameRequiredstring | IApplicationRefThe name of the Elastic Beanstalk application that is associated with this application version.
sourceBundleRequiredIResolvable | SourceBundlePropertyThe 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.
descriptionOptionalstringA description of this application version.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-elasticbeanstalkAWS::ElasticBeanstalk::ApplicationVersion