interface CfnApplicationVersionProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ElasticBeanstalk.CfnApplicationVersionProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awselasticbeanstalk#CfnApplicationVersionProps |
Java | software.amazon.awscdk.services.elasticbeanstalk.CfnApplicationVersionProps |
Python | aws_cdk.aws_elasticbeanstalk.CfnApplicationVersionProps |
TypeScript | aws-cdk-lib » aws_elasticbeanstalk » CfnApplicationVersionProps |
Properties for defining a CfnApplicationVersion.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_elasticbeanstalk as elasticbeanstalk } from 'aws-cdk-lib';
const cfnApplicationVersionProps: elasticbeanstalk.CfnApplicationVersionProps = {
applicationName: 'applicationName',
// the properties below are optional
buildConfiguration: {
codeBuildServiceRole: 'codeBuildServiceRole',
image: 'image',
// the properties below are optional
artifactName: 'artifactName',
computeType: 'computeType',
timeoutInMinutes: 123,
},
description: 'description',
imageConfiguration: {
buildProperty: {
codeBuildServiceRole: 'codeBuildServiceRole',
type: 'type',
// the properties below are optional
architecture: 'architecture',
buildpack: 'buildpack',
computeType: 'computeType',
dockerfileLocation: 'dockerfileLocation',
timeoutInMinutes: 123,
},
source: {
uri: 'uri',
},
},
process: false,
sourceBundle: {
s3Bucket: 's3Bucket',
s3Key: 's3Key',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| application | string | IApplication | The name of the Elastic Beanstalk application that is associated with this application version. |
| build | IResolvable | Build | |
| description? | string | A description of this application version. |
| image | IResolvable | Image | |
| process? | boolean | IResolvable | Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default. |
| source | IResolvable | Source | The Amazon S3 bucket and key that identify the location of the source bundle for this version. |
applicationName
Type:
string | IApplication
The name of the Elastic Beanstalk application that is associated with this application version.
buildConfiguration?
Type:
IResolvable | Build
(optional)
description?
Type:
string
(optional)
A description of this application version.
imageConfiguration?
Type:
IResolvable | Image
(optional)
process?
Type:
boolean | IResolvable
(optional)
Pre-process and validate the environment manifest (env.yaml) and configuration files in the source bundle. Leave unset for the service default.
sourceBundle?
Type:
IResolvable | Source
(optional)
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.

.NET
Go
Java
Python
TypeScript