Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 388 Bytes

File metadata and controls

13 lines (12 loc) · 388 Bytes

S3 Bucket with Sync Directory

export class S3BucketWithZipContentApp {
    constructor(app: App, name: string) {
        const stack: S3BucketStack = new S3BucketStack(app, name, {
            bucket: "665333684765-cdktf-bucket-sync-zip-content",
            acl: "private"
        });
        stack.S3Bucket.uploadFolderAsZip(resolve(__dirname, "./dist/"));
    }
}