AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::BillingConductor::CustomLineItem

CfnCustomLineItem

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group. You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

Import

import { CfnCustomLineItem } from 'aws-cdk-lib/aws-billingconductor';

Or use the module namespace:

import * as billingconductor from 'aws-cdk-lib/aws-billingconductor';
// billingconductor.CfnCustomLineItem

Properties

Configuration passed to the constructor as CfnCustomLineItemProps.

billingGroupArnRequired
string

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

nameRequired
string

The custom line item's name.

accountIdOptional
string

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

billingPeriodRangeOptional
IResolvable | BillingPeriodRangeProperty

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

computationRuleOptional
string

The computation rule that determines how the custom line item charges are computed and reflected in the bill.

customLineItemChargeDetailsOptional
IResolvable | CustomLineItemChargeDetailsProperty

The charge details of a custom line item. It should contain only one of `Flat` or `Percentage` .

descriptionOptional
string

The custom line item's description. This is shown on the Bills page in association with the charge value.

presentationDetailsOptional
IResolvable | PresentationDetailsProperty

Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.

tagsOptional
CfnTag[]

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-billingconductor
CFN TypeAWS::BillingConductor::CustomLineItem
Properties9

External Links