GlobalConfig / ReportConfig / CostAndUsageReportConfig

CostAndUsageReport configuration

Example

costAndUsageReport:
compression: Parquet
format: Parquet
reportName: accelerator-cur
s3Prefix: cur
timeUnit: DAILY
refreshClosedReports: true
reportVersioning: CREATE_NEW_REPORT
lifecycleRules:
- enabled: true
id: CostAndUsageBucketLifecycleRule-01
abortIncompleteMultipartUpload: 14
expiration: 3563
expiredObjectDeleteMarker: false
noncurrentVersionExpiration: 3653
noncurrentVersionTransitions:
- storageClass: GLACIER
transitionAfter: 365
transitions:
- storageClass: GLACIER
transitionAfter: 365
prefix: PREFIX
- enabled: true
id: CostAndUsageBucketLifecycleRule-02
abortIncompleteMultipartUpload: 14
expiredObjectDeleteMarker: true
noncurrentVersionExpiration: 3653
noncurrentVersionTransitions:
- storageClass: GLACIER
transitionAfter: 365
transitions:
- storageClass: GLACIER
transitionAfter: 365
prefix: PREFIX

Hierarchy

  • CostAndUsageReportConfig

Implements

Constructors

Properties

additionalArtifacts: undefined = undefined

A list of manifests that you want Amazon Web Services to create for this report.

additionalSchemaElements: string[] = ...

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

compression: "" = ''

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

format: "" = ''

The format that Amazon Web Services saves the report in.

lifecycleRules: undefined | LifeCycleRule[] = undefined

Declaration of (S3 Bucket) Lifecycle rules.

refreshClosedReports: true = true

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.

reportName: "" = ''

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

reportVersioning: "" = ''

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.

s3Prefix: "" = ''

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

timeUnit: "" = ''

The granularity of the line items in the report.

Generated using TypeDoc