Class CfnReportDefinition
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::CUR::ReportDefinition.
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();
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnReportDefinition(Construct scope, String id, CfnReportDefinitionProps props) Create a newAWS::CUR::ReportDefinition.protectedCfnReportDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnReportDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAdditionalArtifacts(List<String> value) A list of manifests that you want AWS to create for this report.voidsetAdditionalSchemaElements(List<String> value) A list of strings that indicate additional content that AWS includes in the report, such as individual resource IDs.voidsetBillingViewArn(String value) The Amazon Resource Name (ARN) of the billing view.voidsetCompression(String value) The compression format that Amazon Web Services uses for the report.voidThe format that Amazon Web Services saves the report in.voidsetRefreshClosedReports(Boolean value) Whether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months.voidWhether you want AWS to update your reports after they have been finalized if AWS detects charges related to previous months.voidsetReportName(String value) The name of the report that you want to create.voidsetReportVersioning(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.voidsetS3Bucket(String value) The S3 bucket where Amazon Web Services delivers the report.voidsetS3Prefix(String value) The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report.voidsetS3Region(String value) The Region of the S3 bucket that Amazon Web Services delivers the report into.voidsetTimeUnit(String value) The granularity of the line items in the report.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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 Construct scope, @NotNull String id, @NotNull CfnReportDefinitionProps props) Create a newAWS::CUR::ReportDefinition.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin 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.These charges can include refunds, credits, or support fees.
-
setRefreshClosedReports
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.
-
setRefreshClosedReports
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.
-
getReportName
The name of the report that you want to create.The name must be unique, is case sensitive, and can't include spaces.
-
setReportName
The name of the report that you want to create.The name must be unique, is case sensitive, and can't include spaces.
-
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.Your prefix can't include spaces.
-
setS3Prefix
The prefix that Amazon Web Services adds to the report name when Amazon Web Services delivers the report.Your prefix can't include spaces.
-
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.You can get this value by using the billing view service public APIs.
-
setBillingViewArn
The Amazon Resource Name (ARN) of the billing view.You can get this value by using the billing view service public APIs.
-