AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ElasticBeanstalk::ApplicationVersion

CfnApplicationVersion

Specify 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

import { CfnApplicationVersion } from 'aws-cdk-lib/aws-elasticbeanstalk';

Or use the module namespace:

import * as elasticbeanstalk from 'aws-cdk-lib/aws-elasticbeanstalk';
// elasticbeanstalk.CfnApplicationVersion

Properties

Configuration passed to the constructor as CfnApplicationVersionProps.

applicationNameRequired
string | IApplicationRef

The name of the Elastic Beanstalk application that is associated with this application version.

sourceBundleRequired
IResolvable | SourceBundleProperty

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.

descriptionOptional
string

A description of this application version.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-elasticbeanstalk
CFN TypeAWS::ElasticBeanstalk::ApplicationVersion
Properties3

External Links