AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::CUR::ReportDefinition

CfnReportDefinition

The definition of AWS Cost and Usage Report. You can specify the report name, time unit, report format, compression format, S3 bucket, additional artifacts, and schema elements in the definition.

Import

import { CfnReportDefinition } from 'aws-cdk-lib/aws-cur';

Or use the module namespace:

import * as cur from 'aws-cdk-lib/aws-cur';
// cur.CfnReportDefinition

Properties

Configuration passed to the constructor as CfnReportDefinitionProps.

compressionRequired
string

The compression format that Amazon Web Services uses for the report.

formatRequired
string

The format that Amazon Web Services saves the report in.

refreshClosedReportsRequired
boolean | IResolvable

Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. These charges can include refunds, credits, or support fees.

reportNameRequired
string

The name of the report that you want to create. The name must be unique, is case sensitive, and can't include spaces.

reportVersioningRequired
string

Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions.

s3BucketRequired
string | IBucketRef

The S3 bucket where Amazon Web Services delivers the report.

s3PrefixRequired
string

The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. Your prefix can't include spaces.

s3RegionRequired
string

The Region of the S3 bucket that Amazon Web Services delivers the report into.

timeUnitRequired
string

The granularity of the line items in the report.

additionalArtifactsOptional
string[]

A list of manifests that you want AWS to create for this report.

additionalSchemaElementsOptional
string[]

A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs.

billingViewArnOptional
string

The Amazon Resource Name (ARN) of the billing view. You can get this value by using the billing view service public APIs.

tagsOptional
CfnTag[]

The tags to be assigned to the report definition resource.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-cur
CFN TypeAWS::CUR::ReportDefinition
Properties13

External Links