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 classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnReportDefinition
(Construct scope, String id, CfnReportDefinitionProps props) Create a newAWS::CUR::ReportDefinition
.protected
CfnReportDefinition
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnReportDefinition
(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.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.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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 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:
inspect
in 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:
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.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.
-