Skip to content

Data Source: awsCurReportDefinition

Use this data source to get information on an AWS Cost and Usage Report Definition.

\~> NOTE: The AWS Cost and Usage Report service is only available in usEast1 currently.

\~> NOTE: If AWS Organizations is enabled, only the master account can use this resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsCurReportDefinition.DataAwsCurReportDefinition(
  this,
  "report_definition",
  {
    reportName: "example",
  }
);

Argument Reference

The following arguments are supported:

  • reportName - (Required) Name of the report definition to match.

Attributes Reference

  • timeUnit - Frequency on which report data are measured and displayed.
  • format - Preferred compression format for report.
  • compression - Preferred format for report.
  • additionalSchemaElements - A list of schema elements.
  • s3Bucket - Name of customer S3 bucket.
  • s3Prefix - Preferred report path prefix.
  • s3Region - Region of customer S3 bucket.
  • additionalArtifacts - A list of additional artifacts.
  • refreshClosedReports - If true reports are updated after they have been finalized.
  • reportVersioning - Overwrite the previous version of each report or to deliver the report in addition to the previous versions.