CfnPricingRuleProps Struct
Properties for defining a CfnPricingRule.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_billingconductor as billingconductor } from 'aws-cdk-lib';
const cfnPricingRuleProps: billingconductor.CfnPricingRuleProps = {
name: 'name',
scope: 'scope',
type: 'type',
// the properties below are optional
billingEntity: 'billingEntity',
description: 'description',
modifierPercentage: 123,
operation: 'operation',
service: 'service',
tags: [{
key: 'key',
value: 'value',
}],
tiering: {
customTiers: [{
beginRangeInclusive: 123,
rateValue: 123,
// the properties below are optional
endRangeExclusive: 123,
}],
freeTier: {
activated: false,
},
},
usageType: 'usageType',
};
Properties
billingEntityoptionalstringbilling_entityoptionalstrbillingEntityoptionalStringBillingEntityoptionalstringBillingEntityoptional*string#The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#The pricing rule description.
modifierPercentageoptionalnumbermodifier_percentageoptionalint | floatmodifierPercentageoptionalNumberModifierPercentageoptionaldoubleModifierPercentageoptional*float64#A percentage modifier applied on the public pricing rates.
The name of a pricing rule.
operationoptionalstringoperationoptionalstroperationoptionalStringOperationoptionalstringOperationoptional*string#Operation is the specific AWS action covered by this line item.
notes
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.
The scope of pricing rule that indicates if it's globally applicable or service-specific.
serviceoptionalstringserviceoptionalstrserviceoptionalStringServiceoptionalstringServiceoptional*string#If the `Scope` attribute is `SERVICE` , this attribute indicates which service the `PricingRule` is applicable for.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#A map that contains tag keys and tag values that are attached to a pricing rule.
tieringoptionalIResolvable | CfnPricingRule.TieringPropertytieringoptionaltyping.Union[IResolvable, TieringProperty]tieringoptionalIResolvableTieringoptionalIResolvableTieringoptionalinterface{}#The set of tiering configurations for the pricing rule.
The type of pricing rule.
usageTypeoptionalstringusage_typeoptionalstrusageTypeoptionalStringUsageTypeoptionalstringUsageTypeoptional*string#Usage Type is the unit that each service uses to measure the usage of a specific type of resource.