CfnPricingRuleProps

class aws_cdk.aws_billingconductor.CfnPricingRuleProps(*, modifier_percentage, name, scope, type, description=None, service=None, tags=None)

Bases: object

Properties for defining a CfnPricingRule.

Parameters
  • modifier_percentage (Union[int, float]) – A percentage modifier applied on the public pricing rates.

  • name (str) – The name of a pricing rule.

  • scope (str) – The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.

  • type (str) – The type of pricing rule.

  • description (Optional[str]) – The pricing rule description.

  • service (Optional[str]) – If the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – AWS::BillingConductor::PricingRule.Tags.

Link

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

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_billingconductor as billingconductor

cfn_pricing_rule_props = billingconductor.CfnPricingRuleProps(
    modifier_percentage=123,
    name="name",
    scope="scope",
    type="type",

    # the properties below are optional
    description="description",
    service="service",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

description

The pricing rule description.

Link

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

Return type

Optional[str]

modifier_percentage

A percentage modifier applied on the public pricing rates.

Link

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

Return type

Union[int, float]

name

The name of a pricing rule.

Link

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

Return type

str

scope

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

Link

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

Return type

str

service

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

Link

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

Return type

Optional[str]

tags

AWS::BillingConductor::PricingRule.Tags.

Link

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

Return type

Optional[List[CfnTag]]

type

The type of pricing rule.

Link

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

Return type

str