Basically, is there any way of doing this [1] via API or AWS CLI?
I need to automate this for new accounts being set-up, and would like to avoid having to log in to each one of them to enable it.
Regards.
Basically, is there any way of doing this [1] via API or AWS CLI?
I need to automate this for new accounts being set-up, and would like to avoid having to log in to each one of them to enable it.
Regards.
As Michael - sqlbot pointed out, the programmatic way of doing this is via AWS Billing and Cost Management API.
In fact, per comment in AWS documentation, detailed billing and month allocation reports are in the path of deprecation.