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:
objectProperties 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 theScopeattribute is set toSKU, this attribute indicates which operation thePricingRuleis modifying. For example, a value ofRunInstances:0202indicates the operation of running an Amazon EC2 instance.service (
Optional[str]) – If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis 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.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import 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 .
- description
The pricing rule description.
- modifier_percentage
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.
This describes the specific usage of the line item.
If the
Scopeattribute is set toSKU, this attribute indicates which operation thePricingRuleis modifying. For example, a value ofRunInstances:0202indicates the operation of running an Amazon EC2 instance.
- scope
The scope of pricing rule that indicates if it’s globally applicable or service-specific.
- service
If the
Scopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.
- 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.
- usage_type
Usage Type is the unit that each service uses to measure the usage of a specific type of resource.