Interface CfnPricingRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPricingRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:00.105Z")
@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();
- See Also:
-
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.- See Also:
-
getScope
The scope of pricing rule that indicates if it's globally applicable or service-specific.- See Also:
-
getType
The type of pricing rule.- See Also:
-
getBillingEntity
The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .- See Also:
-
getDescription
The pricing rule description.- See Also:
-
getModifierPercentage
A percentage modifier applied on the public pricing rates.- See Also:
-
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.- See Also:
-
getService
If theScopeattribute isSERVICE, this attribute indicates which service thePricingRuleis applicable for.- See Also:
-
getTags
A map that contains tag keys and tag values that are attached to a pricing rule.- See Also:
-
getTiering
The set of tiering configurations for the pricing rule.Returns union: either
IResolvableorCfnPricingRule.TieringProperty- See Also:
-
getUsageType
Usage Type is the unit that each service uses to measure the usage of a specific type of resource.- See Also:
-
builder
- Returns:
- a
CfnPricingRuleProps.BuilderofCfnPricingRuleProps
-