We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79742e8 commit 5fc937aCopy full SHA for 5fc937a
1 file changed
cdk_cloudfront_update/constructs.py
@@ -26,6 +26,7 @@ def __init__(
26
distribution_arn: str,
27
behavior_config: Optional[Dict] = None,
28
origin_config: Optional[Dict] = None,
29
+ nonce: str = '',
30
lambda_execution_policy_statements: Sequence[iam.PolicyStatement] = [],
31
**kwargs,
32
) -> None:
@@ -89,6 +90,7 @@ def __init__(
89
90
properties={
91
"Id": distribution_id,
92
"FunctionVersion": cf_update_lambda.current_version.version,
93
+ "Nonce": nonce,
94
"PolicyStatementHash": sha256(
95
b"\n".join(
96
[
0 commit comments