Show / Hide Table of Contents

Class CfnCustomLineItemMixinProps

Properties for CfnCustomLineItemPropsMixin.

Inheritance
object
CfnCustomLineItemMixinProps
Implements
ICfnCustomLineItemMixinProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

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

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

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"
                 } }
             };

Properties

AccountId

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

public string? AccountId { get; set; }
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.

public string? BillingGroupArn { get; set; }
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.

public object? BillingPeriodRange { get; set; }
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.

public string? ComputationRule { get; set; }
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.

public object? CustomLineItemChargeDetails { get; set; }
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.

public string? Description { get; set; }
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.

public string? Name { get; set; }
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.

public object? PresentationDetails { get; set; }
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.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

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

Implements

ICfnCustomLineItemMixinProps
Back to top Generated by DocFX