We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The static site example utilizes
origin: new cloudfront_origins.S3Origin(siteBucket, {originAccessIdentity: cloudfrontOAI}),
even though S3Origin is labeled as deprecated: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins.S3Origin.html
S3Origin
The example uses S3BucketOrigin or S3StaticWebsiteOrigin instead.
S3BucketOrigin
S3StaticWebsiteOrigin
Using the example triggers a deprecation warning.
Checkout https://github.com/aws-samples/aws-cdk-examples/blob/main/typescript/static-site/static-site.ts and install latest deps.
No response
2.161.1
20.11.1
macOS 14.6.1
Typescript
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
The static site example utilizes
even though
S3Origin
is labeled as deprecated: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cloudfront_origins.S3Origin.htmlExpected Behavior
The example uses
S3BucketOrigin
orS3StaticWebsiteOrigin
instead.Current Behavior
Using the example triggers a deprecation warning.
Reproduction Steps
Checkout https://github.com/aws-samples/aws-cdk-examples/blob/main/typescript/static-site/static-site.ts and install latest deps.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.161.1
Framework Version
No response
Node.js Version
20.11.1
OS
macOS 14.6.1
Language
Typescript
Language Version
No response
The text was updated successfully, but these errors were encountered: