Interface CfnPricingRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPricingRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-27T17:01:58.088Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPricingRuleProps
static final class
An implementation forCfnPricingRuleProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPricingRuleProps.Builder
builder()
default String
The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .default String
The pricing rule description.default Number
A percentage modifier applied on the public pricing rates.getName()
The name of a pricing rule.default String
Operation 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 String
If theScope
attribute isSERVICE
, this attribute indicates which service thePricingRule
is applicable for.getTags()
A map that contains tag keys and tag values that are attached to a pricing rule.default Object
The set of tiering configurations for the pricing rule.getType()
The type of pricing rule.default String
Usage 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
Scope
attribute is set toSKU
, this attribute indicates which operation thePricingRule
is modifying. For example, a value ofRunInstances:0202
indicates the operation of running an Amazon EC2 instance.- See Also:
-
getService
If theScope
attribute isSERVICE
, this attribute indicates which service thePricingRule
is 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.- 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.Builder
ofCfnPricingRuleProps
-