Skip to content
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

Merged
merged 79 commits into from
Sep 5, 2024

Conversation

gracelu0
Copy link
Contributor

@gracelu0 gracelu0 commented Aug 29, 2024

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

  • New L2 construct OriginAccessControl
  • Deprecation of CloudFrontWebDistribution — replaced by existing Distribution construct
  • Deprecation of S3Origin — replaced by new constructs S3BucketOrigin and S3StaticWebsiteOrigin
  • README updates

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

Copy link
Contributor

@GavinZZ GavinZZ left a 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!

Copy link
Contributor

@paulhcsun paulhcsun left a 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!

Copy link
Contributor

@xazhao xazhao left a 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!

@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Sep 5, 2024
Copy link
Contributor

@samson-keung samson-keung left a 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

@gracelu0
Copy link
Contributor Author

gracelu0 commented Sep 5, 2024

Thank you all for reviewing!! @paulhcsun @GavinZZ @xazhao @samson-keung

@gracelu0 gracelu0 removed the pr/do-not-merge This PR should not be merged at this time. label Sep 5, 2024
@gracelu0
Copy link
Contributor Author

gracelu0 commented Sep 5, 2024

@Mergifyio update

Copy link
Contributor

mergify bot commented Sep 5, 2024

update

✅ Branch has been successfully updated

Copy link
Contributor

mergify bot commented Sep 5, 2024

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
Copy link
Contributor

mergify bot commented Sep 5, 2024

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-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 3d79694
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 30675f0 into main Sep 5, 2024
11 of 12 checks passed
Copy link
Contributor

mergify bot commented Sep 5, 2024

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).

@mergify mergify bot deleted the gracelu0/s3-oac-l2 branch September 5, 2024 17:36
Copy link

github-actions bot commented Sep 5, 2024

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution/core This is a PR that came from AWS. effort/medium Medium work item – several days of effort feature-request A feature should be added or improved. p2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cloudfront: Support Origin Access Control
6 participants