CfnPricingRuleProps

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

Bases: object

Properties for defining a CfnPricingRule.

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

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

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

  • billing_entity (Optional[str]) – The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .

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

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

  • operation (Optional[str]) – Operation is the specific AWS action covered by this line item. 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.

  • 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]]]]) – A map that contains tag keys and tag values that are attached to a pricing rule.

  • tiering (Union[IResolvable, TieringProperty, Dict[str, Any], None]) – The set of tiering configurations for the pricing rule.

  • usage_type (Optional[str]) – Usage Type is the unit that each service uses to measure the usage of a specific type of resource.

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(
    name="name",
    scope="scope",
    type="type",

    # the properties below are optional
    billing_entity="billingEntity",
    description="description",
    modifier_percentage=123,
    operation="operation",
    service="service",
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    tiering=billingconductor.CfnPricingRule.TieringProperty(
        free_tier=billingconductor.CfnPricingRule.FreeTierProperty(
            activated=False
        )
    ),
    usage_type="usageType"
)

Attributes

billing_entity

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

Link:

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

description

The pricing rule description.

Link:

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

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

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

operation

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

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.

Link:

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

scope

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

Link:

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

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

tags

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

Link:

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

tiering

The set of tiering configurations for the pricing rule.

Link:

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

type

The type of pricing rule.

Link:

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

usage_type

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

Link:

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