Class CfnCustomLineItemMixinProps
Properties for CfnCustomLineItemPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnCustomLineItemMixinProps : ICfnCustomLineItemMixinProps
Syntax (vb)
Public Class CfnCustomLineItemMixinProps Implements ICfnCustomLineItemMixinProps
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.Mixins.Preview.AWS.BillingConductor.Mixins;
var cfnCustomLineItemMixinProps = new CfnCustomLineItemMixinProps {
AccountId = "accountId",
BillingGroupArn = "billingGroupArn",
BillingPeriodRange = new BillingPeriodRangeProperty {
ExclusiveEndBillingPeriod = "exclusiveEndBillingPeriod",
InclusiveStartBillingPeriod = "inclusiveStartBillingPeriod"
},
ComputationRule = "computationRule",
CustomLineItemChargeDetails = new CustomLineItemChargeDetailsProperty {
Flat = new CustomLineItemFlatChargeDetailsProperty {
ChargeValue = 123
},
LineItemFilters = new [] { new LineItemFilterProperty {
Attribute = "attribute",
AttributeValues = new [] { "attributeValues" },
MatchOption = "matchOption",
Values = new [] { "values" }
} },
Percentage = new CustomLineItemPercentageChargeDetailsProperty {
ChildAssociatedResources = new [] { "childAssociatedResources" },
PercentageValue = 123
},
Type = "type"
},
Description = "description",
Name = "name",
PresentationDetails = new PresentationDetailsProperty {
Service = "service"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnCustomLineItemMixinProps() | Properties for CfnCustomLineItemPropsMixin. |
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. |
| ComputationRule | The computation rule that determines how the custom line item charges are computed and reflected in the bill. |
| CustomLineItemChargeDetails | The charge details of a custom line item. |
| Description | The custom line item's description. |
| Name | The custom line item's name. |
| PresentationDetails | 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. |
Constructors
CfnCustomLineItemMixinProps()
Properties for CfnCustomLineItemPropsMixin.
public CfnCustomLineItemMixinProps()
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.Mixins.Preview.AWS.BillingConductor.Mixins;
var cfnCustomLineItemMixinProps = new CfnCustomLineItemMixinProps {
AccountId = "accountId",
BillingGroupArn = "billingGroupArn",
BillingPeriodRange = new BillingPeriodRangeProperty {
ExclusiveEndBillingPeriod = "exclusiveEndBillingPeriod",
InclusiveStartBillingPeriod = "inclusiveStartBillingPeriod"
},
ComputationRule = "computationRule",
CustomLineItemChargeDetails = new CustomLineItemChargeDetailsProperty {
Flat = new CustomLineItemFlatChargeDetailsProperty {
ChargeValue = 123
},
LineItemFilters = new [] { new LineItemFilterProperty {
Attribute = "attribute",
AttributeValues = new [] { "attributeValues" },
MatchOption = "matchOption",
Values = new [] { "values" }
} },
Percentage = new CustomLineItemPercentageChargeDetailsProperty {
ChildAssociatedResources = new [] { "childAssociatedResources" },
PercentageValue = 123
},
Type = "type"
},
Description = "description",
Name = "name",
PresentationDetails = new PresentationDetailsProperty {
Service = "service"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
AccountId
The AWS account in which this custom line item will be applied to.
public string? AccountId { get; set; }
Property Value
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
Remarks
BillingPeriodRange
A time range for which the custom line item is effective.
public object? BillingPeriodRange { get; set; }
Property Value
Remarks
ComputationRule
The computation rule that determines how the custom line item charges are computed and reflected in the bill.
public string? ComputationRule { get; set; }
Property Value
Remarks
CustomLineItemChargeDetails
The charge details of a custom line item.
public object? CustomLineItemChargeDetails { get; set; }
Property Value
Remarks
It should contain only one of Flat or Percentage .
Type union: either IResolvable or CfnCustomLineItemPropsMixin.ICustomLineItemChargeDetailsProperty
Description
The custom line item's description.
public string? Description { get; set; }
Property Value
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
Remarks
PresentationDetails
Configuration details specifying how the custom line item charges are presented, including which service the charges are shown under.
public object? PresentationDetails { get; set; }
Property Value
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[]