snippetbashTip
aws cur — Create, query, and delete AWS usage report definitions. More information: <https://docs.aws.amazon.c
Viewed 0 times
createdeletecommandandcliaws curqueryaws
Problem
How to use the
aws cur command: Create, query, and delete AWS usage report definitions. More information: <https://docs.aws.amazon.com/cli/latest/reference/cur/>.Solution
aws cur — Create, query, and delete AWS usage report definitions. More information: <https://docs.aws.amazon.com/cli/latest/reference/cur/>.Create an AWS cost and usage report definition from a JSON file:
aws cur put-report-definition --report-definition file://{{path/to/report_definition.json}}List usage report definitions defined for the logged in account:
aws cur describe-report-definitionsDelete a usage report definition:
aws cur --region {{aws_region}} delete-report-definition --report-name {{report}}Code Snippets
Create an AWS cost and usage report definition from a JSON file
aws cur put-report-definition --report-definition file://{{path/to/report_definition.json}}List usage report definitions defined for the logged in account
aws cur describe-report-definitionsDelete a usage report definition
aws cur --region {{aws_region}} delete-report-definition --report-name {{report}}Context
tldr-pages: common/aws cur
Revisions (0)
No revisions yet.