interface ISource
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3.Deployment.ISource |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awss3deployment#ISource |
Java | software.amazon.awscdk.services.s3.deployment.ISource |
Python | aws_cdk.aws_s3_deployment.ISource |
TypeScript (source) | aws-cdk-lib » aws_s3_deployment » ISource |
Obtainable from
Source.asset(), Source.bucket(), Source.data(), Source.jsonData(), Source.yamlData()
Represents a source for bucket deployments.
Methods
| Name | Description |
|---|---|
| bind(scope, context?) | Binds the source to a bucket deployment. |
bind(scope, context?)
public bind(scope: Construct, context?: DeploymentSourceContext): SourceConfig
Parameters
- scope
Construct— The construct tree context. - context
DeploymentSource Context
Returns
Binds the source to a bucket deployment.

.NET
Go
Java
Python
TypeScript (