diff --git a/packages/static-hosting/lib/static-hosting.ts b/packages/static-hosting/lib/static-hosting.ts index be47d391..f397cae3 100644 --- a/packages/static-hosting/lib/static-hosting.ts +++ b/packages/static-hosting/lib/static-hosting.ts @@ -579,7 +579,6 @@ export class StaticHosting extends Construct { origin: s3Origin, viewerProtocolPolicy: ViewerProtocolPolicy.REDIRECT_TO_HTTPS, - edgeLambdas: prefix.behaviourOverride.edgeLambdas, originRequestPolicy: originRequestPolicy, cachePolicy: originCachePolicy, responseHeadersPolicy: