Skip to content

Commit

Permalink
issue aws#32018 add integration test and snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanbarlog committed Nov 8, 2024
1 parent 3f6df63 commit 8852f07
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 13 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@
"Principal": "*"
}
},
"OriginAccessControl": {
"Type": "AWS::CloudFront::OriginAccessControl",
"Properties": {
"OriginAccessControlConfig": {
"Name": "sample",
"OriginAccessControlOriginType": "lambda",
"SigningBehavior": "always",
"SigningProtocol": "sigv4"
}
}
},
"Distribution830FAC52": {
"Type": "AWS::CloudFront::Distribution",
"Properties": {
Expand Down Expand Up @@ -113,7 +124,13 @@
}
]
},
"Id": "integcloudfrontfunctionurloriginDistributionOrigin19836FF4B"
"Id": "integcloudfrontfunctionurloriginDistributionOrigin19836FF4B",
"OriginAccessControlId": {
"Fn::GetAtt": [
"OriginAccessControl",
"Id"
]
}
}
]
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const fnUrl = fn.addFunctionUrl({

const oac = new cloudfront.CfnOriginAccessControl(
stack,
'HandlerOriginAccessControl',
'OriginAccessControl',
{
originAccessControlConfig: {
name: 'sample',
Expand Down

0 comments on commit 8852f07

Please sign in to comment.