SourceBundleProperty Struct
Use the SourceBundle property type to specify the Amazon S3 location of the source bundle for an AWS Elastic Beanstalk application version when defining an AWS::ElasticBeanstalk::ApplicationVersion resource in an AWS CloudFormation template.
The SourceBundle property is an embedded property of the AWS::ElasticBeanstalk::ApplicationVersion resource. It specifies the Amazon S3 location of the source bundle for an AWS Elastic Beanstalk application version.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 sourceBundleProperty: elasticbeanstalk.CfnApplicationVersion.SourceBundleProperty = {
s3Bucket: 's3Bucket',
s3Key: 's3Key',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_elasticbeanstalk as elasticbeanstalk
source_bundle_property = elasticbeanstalk.CfnApplicationVersion.SourceBundleProperty(
s3_bucket="s3Bucket",
s3_key="s3Key"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.elasticbeanstalk.*;
SourceBundleProperty sourceBundleProperty = SourceBundleProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticBeanstalk;
var sourceBundleProperty = new SourceBundleProperty {
S3Bucket = "s3Bucket",
S3Key = "s3Key"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
sourceBundleProperty := &SourceBundleProperty{
S3Bucket: jsii.String("s3Bucket"),
S3Key: jsii.String("s3Key"),
}