Class CfnPricingPlan
Creates a pricing plan that is used for computing AWS charges for billing groups.
Inherited Members
Namespace: Amazon.CDK.AWS.BillingConductor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPricingPlan : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnPricingPlan Inherits CfnResource Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
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 cfnPricingPlan = new CfnPricingPlan(this, "MyCfnPricingPlan", new CfnPricingPlanProps {
Name = "name",
// the properties below are optional
Description = "description",
PricingRuleArns = new [] { "pricingRuleArns" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnPricingPlan(Construct, string, ICfnPricingPlanProps) | Creates a pricing plan that is used for computing AWS charges for billing groups. |
Properties
AttrArn | The Amazon Resource Name (ARN) of the created pricing plan. |
AttrCreationTime | The time the pricing plan was created. |
AttrLastModifiedTime | The most recent time the pricing plan was modified. |
AttrSize | The pricing rules count currently associated with this pricing plan list element. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Creates a pricing plan that is used for computing AWS charges for billing groups. |
Description | The pricing plan description. |
Name | The name of a pricing plan. |
PricingRuleArns | The |
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 pricing plan. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Creates a pricing plan that is used for computing AWS charges for billing groups. |
Constructors
CfnPricingPlan(Construct, string, ICfnPricingPlanProps)
Creates a pricing plan that is used for computing AWS charges for billing groups.
public CfnPricingPlan(Construct scope, string id, ICfnPricingPlanProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnPricingPlanProps
Resource properties.
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Name (ARN) of the created pricing plan.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
AttrCreationTime
The time the pricing plan was created.
public virtual double AttrCreationTime { get; }
Property Value
Remarks
CloudformationAttribute: CreationTime
AttrLastModifiedTime
The most recent time the pricing plan was modified.
public virtual double AttrLastModifiedTime { get; }
Property Value
Remarks
CloudformationAttribute: LastModifiedTime
AttrSize
The pricing rules count currently associated with this pricing plan list element.
public virtual double AttrSize { get; }
Property Value
Remarks
CloudformationAttribute: Size
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
CfnProperties
Creates a pricing plan that is used for computing AWS charges for billing groups.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
Description
The pricing plan description.
public virtual string? Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
Name
The name of a pricing plan.
public virtual string Name { get; set; }
Property Value
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
PricingRuleArns
The PricingRuleArns
that are associated with the Pricing Plan.
public virtual string[]? PricingRuleArns { get; set; }
Property Value
string[]
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
TagsRaw
A map that contains tag keys and tag values that are attached to a pricing plan.
public virtual ICfnTag[]? TagsRaw { get; set; }
Property Value
ICfnTag[]
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
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
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a pricing plan that is used for computing AWS charges for billing groups.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::BillingConductor::PricingPlan
ExampleMetadata: fixture=_generated