CfnReportDefinitionPropsMixin

class aws_cdk.mixins_preview.aws_cur.mixins.CfnReportDefinitionPropsMixin(props, *, strategy=None)

Bases: Mixin

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cur-reportdefinition.html

CloudformationResource:

AWS::CUR::ReportDefinition

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_cur import mixins as cur_mixins

cfn_report_definition_props_mixin = cur_mixins.CfnReportDefinitionPropsMixin(cur_mixins.CfnReportDefinitionMixinProps(
    additional_artifacts=["additionalArtifacts"],
    additional_schema_elements=["additionalSchemaElements"],
    billing_view_arn="billingViewArn",
    compression="compression",
    format="format",
    refresh_closed_reports=False,
    report_name="reportName",
    report_versioning="reportVersioning",
    s3_bucket="s3Bucket",
    s3_prefix="s3Prefix",
    s3_region="s3Region",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    time_unit="timeUnit"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::CUR::ReportDefinition.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['additionalArtifacts', 'additionalSchemaElements', 'billingViewArn', 'compression', 'format', 'refreshClosedReports', 'reportName', 'reportVersioning', 's3Bucket', 's3Prefix', 's3Region', 'tags', 'timeUnit']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental