Class CfnCustomLineItemProps
Properties for defining a CfnCustomLineItem
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.BillingConductor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCustomLineItemProps : Object, ICfnCustomLineItemProps
Syntax (vb)
Public Class CfnCustomLineItemProps
Inherits Object
Implements ICfnCustomLineItemProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BillingConductor;
var cfnCustomLineItemProps = new CfnCustomLineItemProps {
BillingGroupArn = "billingGroupArn",
Name = "name",
// the properties below are optional
AccountId = "accountId",
BillingPeriodRange = new BillingPeriodRangeProperty {
ExclusiveEndBillingPeriod = "exclusiveEndBillingPeriod",
InclusiveStartBillingPeriod = "inclusiveStartBillingPeriod"
},
CustomLineItemChargeDetails = new CustomLineItemChargeDetailsProperty {
Type = "type",
// the properties below are optional
Flat = new CustomLineItemFlatChargeDetailsProperty {
ChargeValue = 123
},
LineItemFilters = new [] { new LineItemFilterProperty {
Attribute = "attribute",
MatchOption = "matchOption",
Values = new [] { "values" }
} },
Percentage = new CustomLineItemPercentageChargeDetailsProperty {
PercentageValue = 123,
// the properties below are optional
ChildAssociatedResources = new [] { "childAssociatedResources" }
}
},
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnCustomLineItemProps() |
Properties
AccountId | The AWS account in which this custom line item will be applied to. |
BillingGroupArn | The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to. |
BillingPeriodRange | A time range for which the custom line item is effective. |
CustomLineItemChargeDetails | The charge details of a custom line item. |
Description | The custom line item's description. |
Name | The custom line item's name. |
Tags | A map that contains tag keys and tag values that are attached to a custom line item. |
Constructors
CfnCustomLineItemProps()
public CfnCustomLineItemProps()
Properties
AccountId
The AWS account in which this custom line item will be applied to.
public string AccountId { get; set; }
Property Value
System.String
Remarks
BillingGroupArn
The Amazon Resource Name (ARN) that references the billing group where the custom line item applies to.
public string BillingGroupArn { get; set; }
Property Value
System.String
Remarks
BillingPeriodRange
A time range for which the custom line item is effective.
public object BillingPeriodRange { get; set; }
Property Value
System.Object
Remarks
CustomLineItemChargeDetails
The charge details of a custom line item.
public object CustomLineItemChargeDetails { get; set; }
Property Value
System.Object
Remarks
It should contain only one of Flat
or Percentage
.
Description
The custom line item's description.
public string Description { get; set; }
Property Value
System.String
Remarks
This is shown on the Bills page in association with the charge value.
Name
The custom line item's name.
public string Name { get; set; }
Property Value
System.String
Remarks
Tags
A map that contains tag keys and tag values that are attached to a custom line item.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]