report_definition
Gets an individual report_definition
resource
Overview
Name | report_definition |
Type | Resource |
Description | report_definition |
Id | awscc.cur.report_definition |
Fields
Name | Datatype | Description |
---|---|---|
report_name | string | The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces. |
time_unit | string | The granularity of the line items in the report. |
format | string | The format that AWS saves the report in. |
compression | string | The compression format that AWS uses for the report. |
additional_schema_elements | array | A list of strings that indicate additional content that Amazon Web Services includes in the report, such as individual resource IDs. |
s3_bucket | string | The S3 bucket where AWS delivers the report. |
s3_prefix | string | The prefix that AWS adds to the report name when AWS delivers the report. Your prefix can't include spaces. |
s3_region | string | The region of the S3 bucket that AWS delivers the report into. |
additional_artifacts | array | A list of manifests that you want Amazon Web Services to create for this report. |
refresh_closed_reports | boolean | Whether you want Amazon Web Services to update your reports after they have been finalized if Amazon Web Services detects charges related to previous months. These charges can include refunds, credits, or support fees. |
report_versioning | string | Whether you want Amazon Web Services to overwrite the previous version of each report or to deliver the report in addition to the previous versions. |
billing_view_arn | string | The Amazon resource name of the billing view. You can get this value by using the billing view service public APIs. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
report_name,
time_unit,
format,
compression,
additional_schema_elements,
s3_bucket,
s3_prefix,
s3_region,
additional_artifacts,
refresh_closed_reports,
report_versioning,
billing_view_arn
FROM awscc.cur.report_definition
WHERE data__Identifier = '<ReportName>';
Permissions
To operate on the report_definition
resource, the following permissions are required:
Read
cur:DescribeReportDefinitions
Update
cur:DescribeReportDefinitions,
cur:ModifyReportDefinition
Delete
cur:DescribeReportDefinitions,
cur:DeleteReportDefinition