CfnCustomLineItemMixinProps

class aws_cdk.mixins_preview.aws_billingconductor.mixins.CfnCustomLineItemMixinProps(*, account_id=None, billing_group_arn=None, billing_period_range=None, computation_rule=None, custom_line_item_charge_details=None, description=None, name=None, presentation_details=None, tags=None)

Bases: object

Properties for CfnCustomLineItemPropsMixin.

Parameters:
  • account_id (Optional[str]) – The AWS account in which this custom line item will be applied to.

  • billing_group_arn (Optional[str]) – The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

  • billing_period_range (Union[IResolvable, BillingPeriodRangeProperty, Dict[str, Any], None]) – A time range for which the custom line item is effective.

  • computation_rule (Optional[str]) – The display settings of the Custom Line Item.

  • custom_line_item_charge_details (Union[IResolvable, CustomLineItemChargeDetailsProperty, Dict[str, Any], None]) – The charge details of a custom line item. It should contain only one of Flat or Percentage .

  • description (Optional[str]) – The custom line item’s description. This is shown on the Bills page in association with the charge value.

  • name (Optional[str]) – The custom line item’s name.

  • presentation_details (Union[IResolvable, PresentationDetailsProperty, Dict[str, Any], None])

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A map that contains tag keys and tag values that are attached to a custom line item.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html

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.aws_billingconductor import mixins as billingconductor_mixins

cfn_custom_line_item_mixin_props = billingconductor_mixins.CfnCustomLineItemMixinProps(
    account_id="accountId",
    billing_group_arn="billingGroupArn",
    billing_period_range=billingconductor_mixins.CfnCustomLineItemPropsMixin.BillingPeriodRangeProperty(
        exclusive_end_billing_period="exclusiveEndBillingPeriod",
        inclusive_start_billing_period="inclusiveStartBillingPeriod"
    ),
    computation_rule="computationRule",
    custom_line_item_charge_details=billingconductor_mixins.CfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty(
        flat=billingconductor_mixins.CfnCustomLineItemPropsMixin.CustomLineItemFlatChargeDetailsProperty(
            charge_value=123
        ),
        line_item_filters=[billingconductor_mixins.CfnCustomLineItemPropsMixin.LineItemFilterProperty(
            attribute="attribute",
            match_option="matchOption",
            values=["values"]
        )],
        percentage=billingconductor_mixins.CfnCustomLineItemPropsMixin.CustomLineItemPercentageChargeDetailsProperty(
            child_associated_resources=["childAssociatedResources"],
            percentage_value=123
        ),
        type="type"
    ),
    description="description",
    name="name",
    presentation_details=billingconductor_mixins.CfnCustomLineItemPropsMixin.PresentationDetailsProperty(
        service="service"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

account_id

The AWS account in which this custom line item will be applied to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-accountid

billing_group_arn

The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-billinggrouparn

billing_period_range

A time range for which the custom line item is effective.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-billingperiodrange

computation_rule

The display settings of the Custom Line Item.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-computationrule

custom_line_item_charge_details

The charge details of a custom line item.

It should contain only one of Flat or Percentage .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-customlineitemchargedetails

description

The custom line item’s description.

This is shown on the Bills page in association with the charge value.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-description

name

The custom line item’s name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-name

presentation_details

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-presentationdetails

Type:

see

tags

A map that contains tag keys and tag values that are attached to a custom line item.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-tags