You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using cloudwatch describe-alarms from CLI, display cross account shared Alarms with the monitoring account.
Use Case
I would like to use a monitoring account with all alarms from other accounts in the organization and be able to list those alarms using AWS CLI (and/or boto3)
Proposed Solution
No response
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
CLI version used
aws-cli/2.23.8 Python/3.12.8
Environment details (OS name and version, etc.)
Darwin/24.2.0 source/arm64
The text was updated successfully, but these errors were encountered:
Hi @jerry42, thanks for reaching out. This type of feature request would need to be implemented by the service team, rather than the Boto3 or AWS CLI team. I've forwarded this feature request to the CloudWatch team for their consideration. Please refer to an SDK or AWS CLI changelog for updates about this going forward. Thanks!
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Update to my previous comment, it seems like this can be achieved if you use AssumeRole to assume your cross-account sharing role and call DescribeAlarms. However, this is limited to accounts that have a sharing role that trusts your monitoring account.
Thanks for your answer I thought about using AssumeRole but I have a lot of accounts and it would require several update. Thanks for forwarding to the CloudWatch, hope they will take my request in consideration !
Describe the feature
When using cloudwatch describe-alarms from CLI, display cross account shared Alarms with the monitoring account.
Use Case
I would like to use a monitoring account with all alarms from other accounts in the organization and be able to list those alarms using AWS CLI (and/or boto3)
Proposed Solution
No response
Other Information
No response
Acknowledgements
CLI version used
aws-cli/2.23.8 Python/3.12.8
Environment details (OS name and version, etc.)
Darwin/24.2.0 source/arm64
The text was updated successfully, but these errors were encountered: