Class CfnReportDefinition
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.cur.CfnReportDefinition
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-19T18:01:32.916Z")
@Stability(Stable)
public class CfnReportDefinition
extends CfnResource
implements IInspectable
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cur.*; CfnReportDefinition cfnReportDefinition = CfnReportDefinition.Builder.create(this, "MyCfnReportDefinition") .compression("compression") .format("format") .refreshClosedReports(false) .reportName("reportName") .reportVersioning("reportVersioning") .s3Bucket("s3Bucket") .s3Prefix("s3Prefix") .s3Region("s3Region") .timeUnit("timeUnit") // the properties below are optional .additionalArtifacts(List.of("additionalArtifacts")) .additionalSchemaElements(List.of("additionalSchemaElements")) .billingViewArn("billingViewArn") .build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnReportDefinition
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnReportDefinition
(software.amazon.jsii.JsiiObjectRef objRef) CfnReportDefinition
(software.constructs.Construct scope, String id, CfnReportDefinitionProps props) -
Method Summary
Modifier and TypeMethodDescriptionA list of manifests that you want AWS to create for this report.A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs.The Amazon Resource Name (ARN) of the billing view.The compression format that Amazon Web Services uses for the report.The format that Amazon Web Services saves the report in.Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months.The name of the report that you want to create.Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions.The S3 bucket where Amazon Web Services delivers the report.The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report.The Region of the S3 bucket that Amazon Web Services delivers the report into.The granularity of the line items in the report.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAdditionalArtifacts
(List<String> value) A list of manifests that you want AWS to create for this report.void
setAdditionalSchemaElements
(List<String> value) A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs.void
setBillingViewArn
(String value) The Amazon Resource Name (ARN) of the billing view.void
setCompression
(String value) The compression format that Amazon Web Services uses for the report.void
The format that Amazon Web Services saves the report in.void
setRefreshClosedReports
(Boolean value) Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months.void
Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months.void
setReportName
(String value) The name of the report that you want to create.void
setReportVersioning
(String value) Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions.void
setS3Bucket
(String value) The S3 bucket where Amazon Web Services delivers the report.void
setS3Prefix
(String value) The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report.void
setS3Region
(String value) The Region of the S3 bucket that Amazon Web Services delivers the report into.void
setTimeUnit
(String value) The granularity of the line items in the report.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnReportDefinition
protected CfnReportDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
CfnReportDefinition
protected CfnReportDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnReportDefinition
@Stability(Stable) public CfnReportDefinition(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnReportDefinitionProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getCompression
The compression format that Amazon Web Services uses for the report. -
setCompression
The compression format that Amazon Web Services uses for the report. -
getFormat
The format that Amazon Web Services saves the report in. -
setFormat
The format that Amazon Web Services saves the report in. -
getRefreshClosedReports
Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. -
setRefreshClosedReports
Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. -
setRefreshClosedReports
Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months. -
getReportName
The name of the report that you want to create. -
setReportName
The name of the report that you want to create. -
getReportVersioning
Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions. -
setReportVersioning
Whether you want AWS to overwrite the previous version of each report or to deliver the report in addition to the previous versions. -
getS3Bucket
The S3 bucket where Amazon Web Services delivers the report. -
setS3Bucket
The S3 bucket where Amazon Web Services delivers the report. -
getS3Prefix
The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. -
setS3Prefix
The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report. -
getS3Region
The Region of the S3 bucket that Amazon Web Services delivers the report into. -
setS3Region
The Region of the S3 bucket that Amazon Web Services delivers the report into. -
getTimeUnit
The granularity of the line items in the report. -
setTimeUnit
The granularity of the line items in the report. -
getAdditionalArtifacts
A list of manifests that you want AWS to create for this report. -
setAdditionalArtifacts
A list of manifests that you want AWS to create for this report. -
getAdditionalSchemaElements
A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs. -
setAdditionalSchemaElements
A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs. -
getBillingViewArn
The Amazon Resource Name (ARN) of the billing view. -
setBillingViewArn
The Amazon Resource Name (ARN) of the billing view.
-