aws-cdk-lib.aws_s3_deployment.SourceConfig

interface SourceConfig

LanguageType name
.NETAmazon.CDK.AWS.S3.Deployment.SourceConfig
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awss3deployment#SourceConfig
Javasoftware.amazon.awscdk.services.s3.deployment.SourceConfig
Pythonaws_cdk.aws_s3_deployment.SourceConfig
TypeScript (source)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

NameTypeDescription
bucketIBucketThe source bucket to deploy from.
zipObjectKeystringAn 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.