-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cloudfront): s3 origin access control L2 construct #31254
Conversation
…prop from origin base
packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-bucket-origin.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks Grace for the great work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noice, great work @gracelu0!
packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-bucket-origin.ts
Outdated
Show resolved
Hide resolved
packages/aws-cdk-lib/aws-cloudfront-origins/lib/s3-bucket-origin.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for the work!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excited to see this launch. Thank you for the hard work
Thank you all for reviewing!! @paulhcsun @GavinZZ @xazhao @samson-keung |
@Mergifyio update |
✅ Branch has been successfully updated |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
1 similar comment
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Comments on closed issues and PRs are hard for our team to see. |
Issue # (if applicable)
Closes #21771 .
Reason for this change
L2 support for setting up OAC for S3 origins.
See RFC 617 for more details.
Description of changes
OriginAccessControl
CloudFrontWebDistribution
— replaced by existingDistribution
constructS3Origin
— replaced by new constructsS3BucketOrigin
andS3StaticWebsiteOrigin
Description of how you validated changes
Added unit tests and integration tests
Internal tracking: V1491594161
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license