CfnApplicationVersionProps

class aws_cdk.aws_elasticbeanstalk.CfnApplicationVersionProps(*, application_name, source_bundle, description=None)

Bases: object

Properties for defining a CfnApplicationVersion.

Parameters:
  • application_name (str) – The name of the Elastic Beanstalk application that is associated with this application version.

  • source_bundle (Union[IResolvable, SourceBundleProperty, Dict[str, Any]]) – The Amazon S3 bucket and key that identify the location of the source bundle for this version. .. epigraph:: The Amazon S3 bucket must be in the same region as the environment.

  • description (Optional[str]) – A description of this application version.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-applicationversion.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_elasticbeanstalk as elasticbeanstalk

cfn_application_version_props = elasticbeanstalk.CfnApplicationVersionProps(
    application_name="applicationName",
    source_bundle=elasticbeanstalk.CfnApplicationVersion.SourceBundleProperty(
        s3_bucket="s3Bucket",
        s3_key="s3Key"
    ),

    # the properties below are optional
    description="description"
)

Attributes

application_name

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

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-applicationversion.html#cfn-elasticbeanstalk-applicationversion-applicationname

description

A description of this application version.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-applicationversion.html#cfn-elasticbeanstalk-applicationversion-description

source_bundle

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.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticbeanstalk-applicationversion.html#cfn-elasticbeanstalk-applicationversion-sourcebundle