interface CfnPricingRuleMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.BillingConductor.Mixins.CfnPricingRuleMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbillingconductor/mixins#CfnPricingRuleMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.billingconductor.mixins.CfnPricingRuleMixinProps |
Python | aws_cdk.mixins_preview.aws_billingconductor.mixins.CfnPricingRuleMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_billingconductor » mixins » CfnPricingRuleMixinProps |
Properties for CfnPricingRulePropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as billingconductor_mixins } from '@aws-cdk/mixins-preview/aws-billingconductor';
const cfnPricingRuleMixinProps: billingconductor_mixins.CfnPricingRuleMixinProps = {
billingEntity: 'billingEntity',
description: 'description',
modifierPercentage: 123,
name: 'name',
operation: 'operation',
scope: 'scope',
service: 'service',
tags: [{
key: 'key',
value: 'value',
}],
tiering: {
freeTier: {
activated: false,
},
},
type: 'type',
usageType: 'usageType',
};
Properties
| Name | Type | Description |
|---|---|---|
| billing | string | The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace . |
| description? | string | The pricing rule description. |
| modifier | number | A percentage modifier applied on the public pricing rates. |
| name? | string | The name of a pricing rule. |
| operation? | string | Operation is the specific AWS action covered by this line item. |
| scope? | string | The scope of pricing rule that indicates if it's globally applicable or service-specific. |
| service? | string | If the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for. |
| tags? | Cfn[] | A map that contains tag keys and tag values that are attached to a pricing rule. |
| tiering? | IResolvable | Tiering | The set of tiering configurations for the pricing rule. |
| type? | string | The type of pricing rule. |
| usage | string | Usage Type is the unit that each service uses to measure the usage of a specific type of resource. |
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.
name?
Type:
string
(optional)
The name of a pricing rule.
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.
scope?
Type:
string
(optional)
The scope of pricing rule that indicates if it's globally applicable or service-specific.
service?
Type:
string
(optional)
If the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for.
tags?
Type:
Cfn[]
(optional)
A map that contains tag keys and tag values that are attached to a pricing rule.
tiering?
Type:
IResolvable | Tiering
(optional)
The set of tiering configurations for the pricing rule.
type?
Type:
string
(optional)
The type of 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.

.NET
Go
Java
Python
TypeScript