2021-06-24 00:04:14 +09:30
|
|
|
# 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 08:09:26 -03:00
|
|
|
`aws cur put-report-definition --report-definition file://{{path/to/report_definition.json}}`
|
2021-06-24 00:04:14 +09:30
|
|
|
|
|
|
|
- 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}}`
|