@gradientedge/cdk-utils 8.96.0 → 8.97.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -371,7 +371,7 @@ class SiteWithEcsBackend extends common_1.CommonConstruct {
371
371
  * Method to create Site distribution
372
372
  */
373
373
  createDistribution() {
374
- this.siteDistribution = this.cloudFrontManager.createDistributionWithHttpOrigin(`${this.id}-distribution`, this, this.props.siteDistribution, this.siteOrigin, this.siteDomainNames, this.siteLogBucket, this.siteCertificate, this.siteFunctionAssociations);
374
+ this.siteDistribution = this.cloudFrontManager.createDistributionWithHttpOrigin(`${this.id}-distribution`, this, this.props.siteDistribution, this.siteOrigin, this.siteDomainNames, this.siteLogBucket, this.siteCertificate, this.siteFunctionAssociations, this.props.siteDistribution.defaultBehavior.responseHeadersPolicy);
375
375
  }
376
376
  /**
377
377
  * Method to create Route53 records for distribution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gradientedge/cdk-utils",
3
- "version": "8.96.0",
3
+ "version": "8.97.0",
4
4
  "description": "Utilities for AWS CDK provisioning",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -448,7 +448,8 @@ export class SiteWithEcsBackend extends CommonConstruct {
448
448
  this.siteDomainNames,
449
449
  this.siteLogBucket,
450
450
  this.siteCertificate,
451
- this.siteFunctionAssociations
451
+ this.siteFunctionAssociations,
452
+ this.props.siteDistribution.defaultBehavior.responseHeadersPolicy
452
453
  )
453
454
  }
454
455