Show / Hide Table of Contents

Class CfnCustomLineItem

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnCustomLineItem
Implements
IInspectable
ITaggable
Inherited Members
CfnResource.IsCfnResource(object)
CfnResource.AddDeletionOverride(string)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(string, object)
CfnResource.AddOverride(string, object)
CfnResource.AddPropertyDeletionOverride(string)
CfnResource.AddPropertyOverride(string, object)
CfnResource.ApplyRemovalPolicy(RemovalPolicy?, IRemovalPolicyOptions)
CfnResource.GetAtt(string, ResolutionTypeHint?)
CfnResource.GetMetadata(string)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(object)
CfnElement.OverrideLogicalId(string)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.BillingConductor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCustomLineItem : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnCustomLineItem Inherits CfnResource Implements IInspectable, ITaggable
Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

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 cfnCustomLineItem = new CfnCustomLineItem(this, "MyCfnCustomLineItem", 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

CfnCustomLineItem(Construct, string, ICfnCustomLineItemProps)

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

Properties

AccountId

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

AttrArn

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

AttrAssociationSize

The number of resources that are associated to the custom line item.

AttrCreationTime

The time created.

AttrCurrencyCode

The custom line item's charge value currency.

AttrLastModifiedTime

The most recent time the custom line item was modified.

AttrProductCode

The product code associated with the custom line item.

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.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

CustomLineItemChargeDetails

The charge details of a custom line item.

Description

The custom line item's description.

Name

The custom line item's name.

Tags

Tag Manager which manages the tags for this resource.

TagsRaw

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

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

Constructors

CfnCustomLineItem(Construct, string, ICfnCustomLineItemProps)

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

public CfnCustomLineItem(Construct scope, string id, ICfnCustomLineItemProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

Construct identifier for this resource (unique in its scope).

props ICfnCustomLineItemProps

Resource properties.

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

Properties

AccountId

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

public virtual string? AccountId { get; set; }
Property Value

string

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

AttrArn

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

public virtual string AttrArn { get; }
Property Value

string

Remarks

CloudformationAttribute: Arn

AttrAssociationSize

The number of resources that are associated to the custom line item.

public virtual double AttrAssociationSize { get; }
Property Value

double

Remarks

CloudformationAttribute: AssociationSize

AttrCreationTime

The time created.

public virtual double AttrCreationTime { get; }
Property Value

double

Remarks

CloudformationAttribute: CreationTime

AttrCurrencyCode

The custom line item's charge value currency.

public virtual string AttrCurrencyCode { get; }
Property Value

string

Remarks

Only one of the valid values can be used.

CloudformationAttribute: CurrencyCode

AttrLastModifiedTime

The most recent time the custom line item was modified.

public virtual double AttrLastModifiedTime { get; }
Property Value

double

Remarks

CloudformationAttribute: LastModifiedTime

AttrProductCode

The product code associated with the custom line item.

public virtual string AttrProductCode { get; }
Property Value

string

Remarks

CloudformationAttribute: ProductCode

BillingGroupArn

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

public virtual string BillingGroupArn { get; set; }
Property Value

string

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

BillingPeriodRange

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

public virtual object? BillingPeriodRange { get; set; }
Property Value

object

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

string

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

CfnProperties

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

CustomLineItemChargeDetails

The charge details of a custom line item.

public virtual object? CustomLineItemChargeDetails { get; set; }
Property Value

object

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

Description

The custom line item's description.

public virtual string? Description { get; set; }
Property Value

string

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

Name

The custom line item's name.

public virtual string Name { get; set; }
Property Value

string

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

TagsRaw

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

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

ICfnTag[]

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Creates a custom line item that can be used to create a one-time or recurring, fixed or percentage-based charge that you can apply to a single billing group.

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props IDictionary<string, object>
Returns

IDictionary<string, object>

Overrides
CfnResource.RenderProperties(IDictionary<string, object>)
Remarks

You can apply custom line items to the current or previous billing period. You can create either a fee or a discount custom line item.

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

CloudformationResource: AWS::BillingConductor::CustomLineItem

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITaggable
Back to top Generated by DocFX