(cloudwatch): Allow cross-region alarms #16351
Labels
@aws-cdk/aws-cloudwatch
Related to Amazon CloudWatch
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
I would like to be able to define alarms in one monitoring account to trigger based off of metrics from other accounts. It seems currently possible to create graphs from metrics from different accounts but not alarms.
Consider the following, functional piece of code:
where
Regions[i]
represents an account id. This works but not when I try to add an alarm to trigger on any of these metrics falling below a threshold as shown here:I end up getting this error:
It seems odd that I'd be able to create graphs with metrics from other accounts but not alarms based on them.
Proposed Solution
At the moment I'm not aware of how this functionality could be implemented but I'm happy to get a workaround in the meantime.
The text was updated successfully, but these errors were encountered: