tldr/pages/common/aws-cur.md

17 lines
566 B
Markdown
Raw Permalink Normal View History

2021-06-23 15:34:14 +01:00
# aws cur
> Create, query, and delete AWS usage report definitions.
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cur/index.html>.
- 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}}`
2021-06-23 15:34:14 +01:00
- List usage report definitions defined for the logged in account:
`aws cur describe-report-definitions`
- Delete a usage report definition:
`aws cur --region {{aws_region}} delete-report-definition --report-name {{report}}`