Skip to content

Commit

Permalink
S3 にACLを追加しました
Browse files Browse the repository at this point in the history
  • Loading branch information
AsukaNamiki committed Apr 15, 2024
1 parent 62b76a9 commit 6b73112
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/lib/backend-stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export class BackendStack extends cdk.Stack {
serverAccessLogsBucket: logBucket,
serverAccessLogsPrefix: "DiaryHostingBucketLog/",
blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL,
accessControl: s3.BucketAccessControl.PUBLIC_READ_WRITE,
cors: [
{
allowedMethods: [s3.HttpMethods.GET, s3.HttpMethods.HEAD],
Expand Down

0 comments on commit 6b73112

Please sign in to comment.