(cloudwatch): Alarm on CloudFront metrics even if the stack is not in us-east-1
#30483
Closed
2 tasks
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
duplicate
This issue is a duplicate.
feature-request
A feature should be added or improved.
Describe the feature
Hoping that #16351 is outdated. I would like to create Alarms on metics in other regions.
Use Case
I've a CloudFormation stack in
us-west-2
and I would like to alarm on a CloudFront's4xxErrorRate
and other metrics. AFAIK being CloufFront Global it emits metrics inus-east-1
.When on the Metric I specify region =
us-east-1
it fails withError: Cannot create an Alarm in region 'us-west-2' based on metric '5xxErrorRate' in 'us-east-1'
I don't see a way of alarming on my CF distribution with the current setup. I've the same issue with e Route53 Health Check
Proposed Solution
No response
Other Information
Alarm configuration
Acknowledgements
CDK version used
2.143.0
Environment details (OS name and version, etc.)
MacOs 14.4.1
The text was updated successfully, but these errors were encountered: