CfnCustomLineItemProps
- class aws_cdk.aws_billingconductor.CfnCustomLineItemProps(*, billing_group_arn, name, account_id=None, billing_period_range=None, computation_rule=None, custom_line_item_charge_details=None, description=None, presentation_details=None, tags=None)
Bases:
objectProperties 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.account_id (
Optional[str]) – The AWS account in which this custom line item will be applied 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 computation rule that determines how the custom line item charges are computed and reflected in the bill.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 ofFlatorPercentage.description (
Optional[str]) – The custom line item’s description. This is shown on the Bills page in association with the charge value.presentation_details (
Union[IResolvable,PresentationDetailsProperty,Dict[str,Any],None]) – Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.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:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_billingconductor as billingconductor cfn_custom_line_item_props = billingconductor.CfnCustomLineItemProps( billing_group_arn="billingGroupArn", name="name", # the properties below are optional account_id="accountId", billing_period_range=billingconductor.CfnCustomLineItem.BillingPeriodRangeProperty( exclusive_end_billing_period="exclusiveEndBillingPeriod", inclusive_start_billing_period="inclusiveStartBillingPeriod" ), computation_rule="computationRule", custom_line_item_charge_details=billingconductor.CfnCustomLineItem.CustomLineItemChargeDetailsProperty( type="type", # the properties below are optional flat=billingconductor.CfnCustomLineItem.CustomLineItemFlatChargeDetailsProperty( charge_value=123 ), line_item_filters=[billingconductor.CfnCustomLineItem.LineItemFilterProperty( attribute="attribute", match_option="matchOption", # the properties below are optional attribute_values=["attributeValues"], values=["values"] )], percentage=billingconductor.CfnCustomLineItem.CustomLineItemPercentageChargeDetailsProperty( percentage_value=123, # the properties below are optional child_associated_resources=["childAssociatedResources"] ) ), description="description", presentation_details=billingconductor.CfnCustomLineItem.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.
- billing_group_arn
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
- billing_period_range
A time range for which the custom line item is effective.
- computation_rule
The computation rule that determines how the custom line item charges are computed and reflected in the bill.
- custom_line_item_charge_details
The charge details of a custom line item.
It should contain only one of
FlatorPercentage.
- description
The custom line item’s description.
This is shown on the Bills page in association with the charge value.
- name
The custom line item’s name.
- presentation_details
Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.
- tags
A map that contains tag keys and tag values that are attached to a custom line item.