interface SourceConfig
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.S3.Deployment.SourceConfig |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awss3deployment#SourceConfig |
![]() | software.amazon.awscdk.services.s3.deployment.SourceConfig |
![]() | aws_cdk.aws_s3_deployment.SourceConfig |
![]() | aws-cdk-lib » aws_s3_deployment » SourceConfig |
Source information.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
import { aws_s3_deployment as s3_deployment } from 'aws-cdk-lib';
declare const bucket: s3.Bucket;
declare const markers: any;
const sourceConfig: s3_deployment.SourceConfig = {
bucket: bucket,
zipObjectKey: 'zipObjectKey',
// the properties below are optional
markers: {
markersKey: markers,
},
};
Properties
Name | Type | Description |
---|---|---|
bucket | IBucket | The source bucket to deploy from. |
zip | string | An S3 object key in the source bucket that points to a zip file. |
markers? | { [string]: any } | A set of markers to substitute in the source content. |
bucket
Type:
IBucket
The source bucket to deploy from.
zipObjectKey
Type:
string
An S3 object key in the source bucket that points to a zip file.
markers?
Type:
{ [string]: any }
(optional, default: no markers)
A set of markers to substitute in the source content.