Skip to content

Add support for custom CloudFront origin request policies#73

Open
graimondo wants to merge 1 commit intoanomalyco:masterfrom
graimondo:master
Open

Add support for custom CloudFront origin request policies#73
graimondo wants to merge 1 commit intoanomalyco:masterfrom
graimondo:master

Conversation

@graimondo
Copy link

This update introduces the ability to override CloudFront origin request policy properties for SSR sites.

It seems that is impossible to set the Origin Request Policy for the behaviours using staticServer origin.
With this small modification, is it possible to handle S3 Cors needs, using transform in this way

                cdk: {                    
                    originRequestPolicy: OriginRequestPolicy.CORS_S3_ORIGIN,

This update introduces the ability to override CloudFront origin request policy properties for SSR sites.
@netlify
Copy link

netlify bot commented May 2, 2025

Deploy Preview for sst-docs canceled.

Name Link
🔨 Latest commit f77769f
🔍 Latest deploy log https://app.netlify.com/sites/sst-docs/deploys/68152ca6c573210008fe3a62

@jayair jayair requested a review from fwang May 2, 2025 21:40
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.

1 participant