You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what is the error message you are seeing?
node_modules/@aws-solutions-constructs/core/lib/utils.ts:144
if (resource.cfnOptions.metadata?.cfn_nag?.rules_to_suppress) {
^
TypeError: Cannot read property 'cfnOptions' of undefined
at Object.addCfnSuppressRules (node_modules/@aws-solutions-constructs/core/lib/utils.ts:144:16)
at Object.CloudFrontDistributionForS3 (node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.ts:195:3)
at new CloudFrontToS3 (node_modules/@aws-solutions-constructs/aws-cloudfront-s3/lib/index.ts:54:20)
Environment
**AWS Solutions Constructs Version :1.114.0
**Language :Typescript
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
description of the bug:
Failed to create CloudFrontToS3 object using “existingBucketInterface” property
Reproduction Steps
a reference code:
Error Log
what is the error message you are seeing?
node_modules/@aws-solutions-constructs/core/lib/utils.ts:144
if (resource.cfnOptions.metadata?.cfn_nag?.rules_to_suppress) {
^
TypeError: Cannot read property 'cfnOptions' of undefined
at Object.addCfnSuppressRules (node_modules/@aws-solutions-constructs/core/lib/utils.ts:144:16)
at Object.CloudFrontDistributionForS3 (node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.ts:195:3)
at new CloudFrontToS3 (node_modules/@aws-solutions-constructs/aws-cloudfront-s3/lib/index.ts:54:20)
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: