CfnCustomLineItemProps

class aws_cdk.aws_billingconductor.CfnCustomLineItemProps(*, billing_group_arn, name, billing_period_range=None, custom_line_item_charge_details=None, description=None, tags=None)

Bases: object

Properties for defining a CfnCustomLineItem.

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

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

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

  • 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.

  • 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.

Link:

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.
import aws_cdk.aws_billingconductor as billingconductor

cfn_custom_line_item_props = billingconductor.CfnCustomLineItemProps(
    billing_group_arn="billingGroupArn",
    name="name",

    # the properties below are optional
    billing_period_range=billingconductor.CfnCustomLineItem.BillingPeriodRangeProperty(
        exclusive_end_billing_period="exclusiveEndBillingPeriod",
        inclusive_start_billing_period="inclusiveStartBillingPeriod"
    ),
    custom_line_item_charge_details=billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty(
        type="type",

        # the properties below are optional
        flat=billingconductor.CfnCustomLineItem.CustomLineItemFlatChargeDetailsProperty(
            charge_value=123
        ),
        percentage=billingconductor.CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty(
            percentage_value=123,

            # the properties below are optional
            child_associated_resources=["childAssociatedResources"]
        )
    ),
    description="description",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

billing_group_arn

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

Link:

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.

Link:

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

custom_line_item_charge_details

The charge details of a custom line item.

It should contain only one of Flat or Percentage .

Link:

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.

Link:

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

name

The custom line item’s name.

Link:

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

tags

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

Link:

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