aws-cdk-lib.aws_billingconductor.CfnPricingRuleProps

interface CfnPricingRuleProps

LanguageType name
.NETAmazon.CDK.AWS.BillingConductor.CfnPricingRuleProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsbillingconductor#CfnPricingRuleProps
Javasoftware.amazon.awscdk.services.billingconductor.CfnPricingRuleProps
Pythonaws_cdk.aws_billingconductor.CfnPricingRuleProps
TypeScript aws-cdk-lib » aws_billingconductor » CfnPricingRuleProps

Properties for defining a CfnPricingRule.

Example

// 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: {
    freeTier: {
      activated: false,
    },
  },
  usageType: 'usageType',
};

Properties

NameTypeDescription
namestringThe name of a pricing rule.
scopestringThe scope of pricing rule that indicates if it's globally applicable or service-specific.
typestringThe type of pricing rule.
billingEntity?stringThe seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .
description?stringThe pricing rule description.
modifierPercentage?numberA percentage modifier applied on the public pricing rates.
operation?stringOperation is the specific AWS action covered by this line item.
service?stringIf the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for.
tags?CfnTag[]A map that contains tag keys and tag values that are attached to a pricing rule.
tiering?IResolvable | TieringPropertyThe set of tiering configurations for the pricing rule.
usageType?stringUsage Type is the unit that each service uses to measure the usage of a specific type of resource.

name

Type: string

The name of a pricing rule.


scope

Type: string

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


type

Type: string

The type of pricing rule.


billingEntity?

Type: string (optional)

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


description?

Type: string (optional)

The pricing rule description.


modifierPercentage?

Type: number (optional)

A percentage modifier applied on the public pricing rates.


operation?

Type: string (optional)

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?

Type: string (optional)

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


tags?

Type: CfnTag[] (optional)

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


tiering?

Type: IResolvable | TieringProperty (optional)

The set of tiering configurations for the pricing rule.


usageType?

Type: string (optional)

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