diff --git a/authenticated-cloud-docs/deployment/src/lib/s3/myStaticWebsite.ts b/authenticated-cloud-docs/deployment/src/lib/s3/myStaticWebsite.ts index ae1f0df5..b391c57c 100644 --- a/authenticated-cloud-docs/deployment/src/lib/s3/myStaticWebsite.ts +++ b/authenticated-cloud-docs/deployment/src/lib/s3/myStaticWebsite.ts @@ -36,7 +36,7 @@ export class MyStaticWebsite extends Construct { bucketName: `${siteDomain}-website`, websiteIndexDocument: 'index.html', websiteErrorDocument: 'error.html', - publicReadAccess: true, + publicReadAccess: falsepublic read a, // The default removal policy is RETAIN, which means that cdk destroy will not attempt to delete // the new bucket, and it will remain in your account until manually deleted. By setting the policy to