# SourceBundleProperty

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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-beanstalk-sourcebundle.html) resource. It specifies the Amazon S3 location of the source bundle for an AWS Elastic Beanstalk application version.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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"),
}
```

## Properties

- `s3Bucket`: string (required) — The Amazon S3 bucket where the data is located.

- `s3Key`: string (required) — The Amazon S3 key where the data is located.
