Show / Hide Table of Contents

Interface ICfnCustomLineItemMixinProps

Properties for CfnCustomLineItemPropsMixin.

Namespace: Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface ICfnCustomLineItemMixinProps
Syntax (vb)
Public Interface ICfnCustomLineItemMixinProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html

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

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.

Properties

AccountId

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

string? AccountId { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-accountid

BillingGroupArn

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

string? BillingGroupArn { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-billinggrouparn

BillingPeriodRange

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

object? BillingPeriodRange { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-billingperiodrange

Type union: either IResolvable or CfnCustomLineItemPropsMixin.IBillingPeriodRangeProperty

ComputationRule

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

string? ComputationRule { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-computationrule

CustomLineItemChargeDetails

The charge details of a custom line item.

object? CustomLineItemChargeDetails { get; }
Property Value

object

Remarks

It should contain only one of Flat or Percentage .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-customlineitemchargedetails

Type union: either IResolvable or CfnCustomLineItemPropsMixin.ICustomLineItemChargeDetailsProperty

Description

The custom line item's description.

string? Description { get; }
Property Value

string

Remarks

This is shown on the Bills page in association with the charge value.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-description

Name

The custom line item's name.

string? Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-name

PresentationDetails

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

object? PresentationDetails { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-presentationdetails

Type union: either IResolvable or CfnCustomLineItemPropsMixin.IPresentationDetailsProperty

Tags

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

ICfnTag[]? Tags { get; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-billingconductor-customlineitem.html#cfn-billingconductor-customlineitem-tags

Back to top Generated by DocFX