Skip to content

Conversation

@stenczelt
Copy link
Contributor

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.

stenczelt and others added 2 commits December 8, 2024 20:08
Copy link
Contributor

@kaiz-io kaiz-io left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@kaiz-io kaiz-io merged commit 95212c3 into aws-samples:main Dec 27, 2024
7 checks passed
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

2 participants