-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cloudformation-include): string arrays inside unknown properties …
…cannot be parsed (#32461) We are using `this` to refer to static methods, which fails at runtime. Use the class name instead. Fixes #32454. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
0f5fe9a
commit 0c2f98b
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
packages/aws-cdk-lib/cloudformation-include/test/test-templates/string-arrays-in-policy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"AWSTemplateFormatVersion": "2010-09-09", | ||
"Resources": { | ||
"AutoScalingGroup": { | ||
"Type": "AWS::AutoScaling::AutoScalingGroup", | ||
"Properties": { | ||
"DesiredCapacity": "1", | ||
"MinSize": "1", | ||
"MaxSize": "5" | ||
}, | ||
"CreationPolicy": { | ||
"ResourceSignal": { | ||
"Count": 1, | ||
"Timeout": "PT10M" | ||
} | ||
}, | ||
"UpdatePolicy": { | ||
"AutoScalingRollingUpdate": { | ||
"PauseTime": "PT10M", | ||
"SuspendProcesses": [ | ||
"HealthCheck", | ||
"ReplaceUnhealthy", | ||
"AZRebalance", | ||
"AlarmNotification", | ||
"ScheduledActions" | ||
], | ||
"WaitOnResourceSignals": true | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters