Last active
March 20, 2022 02:39
-
-
Save JoshM1994/b7c48026c0facd709175ab902cf41283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const siteBucket = new s3.Bucket(this, 'WebsiteBucket', { | |
encryption: BucketEncryption.S3_MANAGED, | |
removalPolicy: RemovalPolicy.DESTROY, | |
autoDeleteObjects: true, | |
// No website related settings | |
accessControl: BucketAccessControl.PRIVATE, | |
publicReadAccess: false, | |
blockPublicAccess: BlockPublicAccess.BLOCK_ALL, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment