Show / Hide Table of Contents

Class CfnPricingRule

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

Inheritance
object
CfnElement
CfnRefElement
CfnResource
CfnPricingRule
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 CfnPricingRule : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnPricingRule Inherits CfnResource Implements IInspectable, ITaggable
Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

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 cfnPricingRule = new CfnPricingRule(this, "MyCfnPricingRule", new CfnPricingRuleProps {
                 Name = "name",
                 Scope = "scope",
                 Type = "type",

                 // the properties below are optional
                 BillingEntity = "billingEntity",
                 Description = "description",
                 ModifierPercentage = 123,
                 Operation = "operation",
                 Service = "service",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 Tiering = new TieringProperty {
                     FreeTier = new FreeTierProperty {
                         Activated = false
                     }
                 },
                 UsageType = "usageType"
             });

Synopsis

Constructors

CfnPricingRule(Construct, string, ICfnPricingRuleProps)

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

Properties

AttrArn

The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.

AttrAssociatedPricingPlanCount

The pricing plans count that this pricing rule is associated with.

AttrCreationTime

The time the pricing rule was created.

AttrLastModifiedTime

The most recent time the pricing rule was modified.

BillingEntity

The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

Description

The pricing rule description.

ModifierPercentage

A percentage modifier applied on the public pricing rates.

Name

The name of a pricing rule.

Operation

Operation is the specific AWS action covered by this line item.

Scope

The scope of pricing rule that indicates if it's globally applicable or service-specific.

Service

If the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for.

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 rule.

Tiering

The set of tiering configurations for the pricing rule.

Type

The type of pricing rule.

UsageType

Usage Type is the unit that each service uses to measure the usage of a specific type of resource.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<string, object>)

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

Constructors

CfnPricingRule(Construct, string, ICfnPricingRuleProps)

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

public CfnPricingRule(Construct scope, string id, ICfnPricingRuleProps props)
Parameters
scope Construct

Scope in which this resource is defined.

id string

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

props ICfnPricingRuleProps

Resource properties.

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Properties

AttrArn

The Amazon Resource Name (ARN) used to uniquely identify a pricing rule.

public virtual string AttrArn { get; }
Property Value

string

Remarks

CloudformationAttribute: Arn

AttrAssociatedPricingPlanCount

The pricing plans count that this pricing rule is associated with.

public virtual double AttrAssociatedPricingPlanCount { get; }
Property Value

double

Remarks

CloudformationAttribute: AssociatedPricingPlanCount

AttrCreationTime

The time the pricing rule was created.

public virtual double AttrCreationTime { get; }
Property Value

double

Remarks

CloudformationAttribute: CreationTime

AttrLastModifiedTime

The most recent time the pricing rule was modified.

public virtual double AttrLastModifiedTime { get; }
Property Value

double

Remarks

CloudformationAttribute: LastModifiedTime

BillingEntity

The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

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

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

CfnProperties

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

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

IDictionary<string, object>

Overrides
CfnResource.CfnProperties
Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Description

The pricing rule description.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

ModifierPercentage

A percentage modifier applied on the public pricing rates.

public virtual double? ModifierPercentage { get; set; }
Property Value

double?

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Name

The name of a pricing rule.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Operation

Operation is the specific AWS action covered by this line item.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Scope

The scope of pricing rule that indicates if it's globally applicable or service-specific.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Service

If the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Tags

Tag Manager which manages the tags for this resource.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

TagsRaw

A map that contains tag keys and tag values that are attached to a pricing rule.

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

ICfnTag[]

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Tiering

The set of tiering configurations for the pricing rule.

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

object

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Type

The type of pricing rule.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

UsageType

Usage Type is the unit that each service uses to measure the usage of a specific type of resource.

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

string

Remarks

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

CloudformationResource: AWS::BillingConductor::PricingRule

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

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

RenderProperties(IDictionary<string, object>)

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

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

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

CloudformationResource: AWS::BillingConductor::PricingRule

ExampleMetadata: fixture=_generated

Implements

IInspectable
ITaggable
Back to top Generated by DocFX