-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue while creating alarm rule from alarms having space in their name #13953
Comments
Creating a pull request for this. |
This was referenced Apr 2, 2021
Pull Request: #13963 |
mergify bot
pushed a commit
that referenced
this issue
Apr 29, 2021
#13963) Issue: #13953 This change is to allow creation of composite alarms from alarms having spaces in their alarm name. Ref https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html For more details please check above mentioned issue. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
john-tipper
pushed a commit
to john-tipper/aws-cdk
that referenced
this issue
May 10, 2021
aws#13963) Issue: aws#13953 This change is to allow creation of composite alarms from alarms having spaces in their alarm name. Ref https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html For more details please check above mentioned issue. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Thank you for contributing @S-T-O-C-H-A-S-T-I-C ! 😄 |
|
hollanddd
pushed a commit
to hollanddd/aws-cdk
that referenced
this issue
Aug 26, 2021
aws#13963) Issue: aws#13953 This change is to allow creation of composite alarms from alarms having spaces in their alarm name. Ref https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html For more details please check above mentioned issue. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
❓ General Issue
The Question
I was creating composite alarm using alarm rule AlarmRule.anyOf(...alarms) where why alarms had space in their alarm name and got a issue like this:
Looks like this can be solved by introducing double quotes her: https://github.com/aws/aws-cdk/blob/v1.95.1/packages/@aws-cdk/aws-cloudwatch/lib/alarm-base.ts#L54
I had to write my own alarm rule to solve this like:
Using double quotes in share code reference like this will solve the issue.
The text was updated successfully, but these errors were encountered: