Class CfnPricingRulePropsMixin
Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BillingConductor
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPricingRulePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPricingRulePropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
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.CfnPropertyMixins.AWS.BillingConductor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPricingRulePropsMixin = new CfnPricingRulePropsMixin(new CfnPricingRuleMixinProps {
BillingEntity = "billingEntity",
Description = "description",
ModifierPercentage = 123,
Name = "name",
Operation = "operation",
Scope = "scope",
Service = "service",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Tiering = new TieringProperty {
FreeTier = new FreeTierProperty {
Activated = false
}
},
Type = "type",
UsageType = "usageType"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Synopsis
Constructors
| CfnPricingRulePropsMixin(ICfnPricingRuleMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans. |
| Props | Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans. |
| Strategy | Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnPricingRulePropsMixin(ICfnPricingRuleMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::BillingConductor::PricingRule.
public CfnPricingRulePropsMixin(ICfnPricingRuleMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnPricingRuleMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
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.CfnPropertyMixins.AWS.BillingConductor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPricingRulePropsMixin = new CfnPricingRulePropsMixin(new CfnPricingRuleMixinProps {
BillingEntity = "billingEntity",
Description = "description",
ModifierPercentage = 123,
Name = "name",
Operation = "operation",
Scope = "scope",
Service = "service",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Tiering = new TieringProperty {
FreeTier = new FreeTierProperty {
Activated = false
}
},
Type = "type",
UsageType = "usageType"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Props
Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.
protected virtual ICfnPricingRuleMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
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.CfnPropertyMixins.AWS.BillingConductor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPricingRulePropsMixin = new CfnPricingRulePropsMixin(new CfnPricingRuleMixinProps {
BillingEntity = "billingEntity",
Description = "description",
ModifierPercentage = 123,
Name = "name",
Operation = "operation",
Scope = "scope",
Service = "service",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Tiering = new TieringProperty {
FreeTier = new FreeTierProperty {
Activated = false
}
},
Type = "type",
UsageType = "usageType"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Strategy
Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.
protected virtual IMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
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.CfnPropertyMixins.AWS.BillingConductor;
using Amazon.CDK;
IMergeStrategy mergeStrategy;
var cfnPricingRulePropsMixin = new CfnPricingRulePropsMixin(new CfnPricingRuleMixinProps {
BillingEntity = "billingEntity",
Description = "description",
ModifierPercentage = 123,
Name = "name",
Operation = "operation",
Scope = "scope",
Service = "service",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
Tiering = new TieringProperty {
FreeTier = new FreeTierProperty {
Activated = false
}
},
Type = "type",
UsageType = "usageType"
}, new CfnPropertyMixinOptions {
Strategy = mergeStrategy
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override void ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Overrides
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::BillingConductor::PricingRule
Mixin: true
ExampleMetadata: fixture=_generated