AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::BillingConductor::PricingRule

CfnPricingRule

Creates a pricing rule which can be associated with a pricing plan, or a set of pricing plans.

Import

import { CfnPricingRule } from 'aws-cdk-lib/aws-billingconductor';

Or use the module namespace:

import * as billingconductor from 'aws-cdk-lib/aws-billingconductor';
// billingconductor.CfnPricingRule

Properties

Configuration passed to the constructor as CfnPricingRuleProps.

nameRequired
string

The name of a pricing rule.

scopeRequired
string

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

typeRequired
string

The type of pricing rule.

billingEntityOptional
string

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

descriptionOptional
string

The pricing rule description.

modifierPercentageOptional
number

A percentage modifier applied on the public pricing rates.

operationOptional
string

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.

serviceOptional
string

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

tagsOptional
CfnTag[]

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

tieringOptional
IResolvable | TieringProperty

The set of tiering configurations for the pricing rule.

usageTypeOptional
string

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

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-billingconductor
CFN TypeAWS::BillingConductor::PricingRule
Properties11

External Links