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:
|
|
|
|
|
2021-10-06 12:09:26 +01:00
|
|
|
`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}}`
|