Interface CfnPricingRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPricingRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.834Z")
@Stability(Stable)
public interface CfnPricingRuleProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.billingconductor.*;
CfnPricingRuleProps cfnPricingRuleProps = CfnPricingRuleProps.builder()
.name("name")
.scope("scope")
.type("type")
// the properties below are optional
.billingEntity("billingEntity")
.description("description")
.modifierPercentage(123)
.operation("operation")
.service("service")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.tiering(TieringProperty.builder()
.freeTier(FreeTierProperty.builder()
.activated(false)
.build())
.build())
.usageType("usageType")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPricingRulePropsstatic final classAn implementation forCfnPricingRuleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPricingRuleProps.Builderbuilder()default StringThe seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .default StringThe pricing rule description.default NumberA percentage modifier applied on the public pricing rates.getName()The name of a pricing rule.default StringOperation is the specific AWS action covered by this line item.getScope()The scope of pricing rule that indicates if it's globally applicable or service-specific.default StringIf theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.getTags()A map that contains tag keys and tag values that are attached to a pricing rule.default ObjectThe set of tiering configurations for the pricing rule.getType()The type of pricing rule.default StringUsage Type is the unit that each service uses to measure the usage of a specific type of resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of a pricing rule. -
getScope
The scope of pricing rule that indicates if it's globally applicable or service-specific. -
getType
The type of pricing rule. -
getBillingEntity
The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace . -
getDescription
The pricing rule description. -
getModifierPercentage
A percentage modifier applied on the public pricing rates. -
getOperation
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. -
getService
If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for. -
getTags
A map that contains tag keys and tag values that are attached to a pricing rule. -
getTiering
The set of tiering configurations for the pricing rule. -
getUsageType
Usage Type is the unit that each service uses to measure the usage of a specific type of resource. -
builder
- Returns:
- a
CfnPricingRuleProps.BuilderofCfnPricingRuleProps
-