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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnPricingPlan(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnPricingPlan(Construct, String, ICfnPricingPlanProps) |
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 | |
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>) |
Constructors
CfnPricingPlan(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnPricingPlan(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnPricingPlan(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnPricingPlan(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnPricingPlan(Construct, String, ICfnPricingPlanProps)
public CfnPricingPlan(Construct scope, string id, ICfnPricingPlanProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnPricingPlanProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the created pricing plan.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrCreationTime
The time the pricing plan was created.
public virtual double AttrCreationTime { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: CreationTime
AttrLastModifiedTime
The most recent time the pricing plan was modified.
public virtual double AttrLastModifiedTime { get; }
Property Value
System.Double
Remarks
CloudformationAttribute: LastModifiedTime
AttrSize
The pricing rules count currently associated with this pricing plan list element.
public virtual double AttrSize { get; }
Property Value
System.Double
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
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The pricing plan description.
public virtual string Description { get; set; }
Property Value
System.String
Name
The name of a pricing plan.
public virtual string Name { get; set; }
Property Value
System.String
PricingRuleArns
The PricingRuleArns
that are associated with the Pricing Plan.
public virtual string[] PricingRuleArns { get; set; }
Property Value
System.String[]
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
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[]
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.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>