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

typescript/static-site: S3Origin -> S3BucketOrigin #1107

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stenczelt
Copy link

Updated the typescript/static-site example with:

  • replaced cloudfront_origins.S3Origin with cloudfront_origins.S3BucketOrigin
  • converted to usage of OriginAccessControl instead of OriginAccessIdentity for cloudfront to access S3, according to CloudFront docs

While this example is marked not to be auto-tested, the typescript code runs and I can confirm that the stack deploys on a test account where the previous version did as well.

Fixes #1084


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

and use OriginAccessControl over OriginAccessIdentity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove deprecated cloudfront_origins.S3Origin from static site example
1 participant