Interface CfnCustomLineItemMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCustomLineItemMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.742Z")
@Stability(Stable)
public interface CfnCustomLineItemMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnCustomLineItemPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.billingconductor.*;
CfnCustomLineItemMixinProps cfnCustomLineItemMixinProps = CfnCustomLineItemMixinProps.builder()
.accountId("accountId")
.billingGroupArn("billingGroupArn")
.billingPeriodRange(BillingPeriodRangeProperty.builder()
.exclusiveEndBillingPeriod("exclusiveEndBillingPeriod")
.inclusiveStartBillingPeriod("inclusiveStartBillingPeriod")
.build())
.computationRule("computationRule")
.customLineItemChargeDetails(CustomLineItemChargeDetailsProperty.builder()
.flat(CustomLineItemFlatChargeDetailsProperty.builder()
.chargeValue(123)
.build())
.lineItemFilters(List.of(LineItemFilterProperty.builder()
.attribute("attribute")
.attributeValues(List.of("attributeValues"))
.matchOption("matchOption")
.values(List.of("values"))
.build()))
.percentage(CustomLineItemPercentageChargeDetailsProperty.builder()
.childAssociatedResources(List.of("childAssociatedResources"))
.percentageValue(123)
.build())
.type("type")
.build())
.description("description")
.name("name")
.presentationDetails(PresentationDetailsProperty.builder()
.service("service")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCustomLineItemMixinPropsstatic final classAn implementation forCfnCustomLineItemMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe AWS account in which this custom line item will be applied to.default StringThe Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.default ObjectA time range for which the custom line item is effective.default StringThe computation rule that determines how the custom line item charges are computed and reflected in the bill.default ObjectThe charge details of a custom line item.default StringThe custom line item's description.default StringgetName()The custom line item's name.default ObjectConfiguration details specifying how the custom line item charges are presented, including which service the charges are shown under.getTags()A map that contains tag keys and tag values that are attached to a custom line item.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAccountId
The AWS account in which this custom line item will be applied to.- See Also:
-
getBillingGroupArn
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.- See Also:
-
getBillingPeriodRange
A time range for which the custom line item is effective.Returns union: either
IResolvableorCfnCustomLineItemPropsMixin.BillingPeriodRangeProperty- See Also:
-
getComputationRule
The computation rule that determines how the custom line item charges are computed and reflected in the bill.- See Also:
-
getCustomLineItemChargeDetails
The charge details of a custom line item.It should contain only one of
FlatorPercentage.Returns union: either
IResolvableorCfnCustomLineItemPropsMixin.CustomLineItemChargeDetailsProperty- See Also:
-
getDescription
The custom line item's description.This is shown on the Bills page in association with the charge value.
- See Also:
-
getName
The custom line item's name.- See Also:
-
getPresentationDetails
Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.Returns union: either
IResolvableorCfnCustomLineItemPropsMixin.PresentationDetailsProperty- See Also:
-
getTags
A map that contains tag keys and tag values that are attached to a custom line item.- See Also:
-
builder
-