Class CfnPricingRuleProps
Properties for defining a CfnPricingRule
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.BillingConductor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPricingRuleProps : Object, ICfnPricingRuleProps
Syntax (vb)
Public Class CfnPricingRuleProps
Inherits Object
Implements ICfnPricingRuleProps
Remarks
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 cfnPricingRuleProps = 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
CfnPricingRuleProps() |
Properties
BillingEntity | The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace . |
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 |
Tags | 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. |
Constructors
CfnPricingRuleProps()
public CfnPricingRuleProps()
Properties
BillingEntity
The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .
public string BillingEntity { get; set; }
Property Value
System.String
Remarks
Description
The pricing rule description.
public string Description { get; set; }
Property Value
System.String
Remarks
ModifierPercentage
A percentage modifier applied on the public pricing rates.
public Nullable<double> ModifierPercentage { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Name
The name of a pricing rule.
public string Name { get; set; }
Property Value
System.String
Remarks
Operation
Operation is the specific AWS action covered by this line item.
public string Operation { get; set; }
Property Value
System.String
Remarks
This describes the specific usage of the line item.
If the Scope
attribute is set to SKU
, this attribute indicates which operation the PricingRule
is modifying. For example, a value of RunInstances:0202
indicates the operation of running an Amazon EC2 instance.
Scope
The scope of pricing rule that indicates if it's globally applicable or service-specific.
public string Scope { get; set; }
Property Value
System.String
Remarks
Service
If the Scope
attribute is SERVICE
, this attribute indicates which service the PricingRule
is applicable for.
public string Service { get; set; }
Property Value
System.String
Remarks
Tags
A map that contains tag keys and tag values that are attached to a pricing rule.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
Tiering
The set of tiering configurations for the pricing rule.
public object Tiering { get; set; }
Property Value
System.Object
Remarks
Type
The type of pricing rule.
public string Type { get; set; }
Property Value
System.String
Remarks
UsageType
Usage Type is the unit that each service uses to measure the usage of a specific type of resource.
public string UsageType { get; set; }
Property Value
System.String