interface ISource
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.S3.Deployment.ISource |
Java | software.amazon.awscdk.services.s3.deployment.ISource |
Python | aws_cdk.aws_s3_deployment.ISource |
TypeScript (source) | @aws-cdk/aws-s3-deployment » ISource |
Obtainable from
Source
.asset()
, Source
.bucket()
, Source
.data()
, Source
.jsonData()
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
Deployment
Source Context
Returns
Binds the source to a bucket deployment.