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();
 
  • Method Details

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of a pricing rule.
    • getScope

      @Stability(Stable) @NotNull String getScope()
      The scope of pricing rule that indicates if it's globally applicable or service-specific.
    • getType

      @Stability(Stable) @NotNull String getType()
      The type of pricing rule.
    • getBillingEntity

      @Stability(Stable) @Nullable default String getBillingEntity()
      The seller of services provided by AWS , their affiliates, or third-party providers selling services via AWS Marketplace .
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The pricing rule description.
    • getModifierPercentage

      @Stability(Stable) @Nullable default Number getModifierPercentage()
      A percentage modifier applied on the public pricing rates.
    • getOperation

      @Stability(Stable) @Nullable default String 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 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.

    • getService

      @Stability(Stable) @Nullable default String getService()
      If the Scope attribute is SERVICE , this attribute indicates which service the PricingRule is applicable for.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A map that contains tag keys and tag values that are attached to a pricing rule.
    • getTiering

      @Stability(Stable) @Nullable default Object getTiering()
      The set of tiering configurations for the pricing rule.
    • getUsageType

      @Stability(Stable) @Nullable default String getUsageType()
      Usage Type is the unit that each service uses to measure the usage of a specific type of resource.
    • builder

      @Stability(Stable) static CfnPricingRuleProps.Builder builder()
      Returns:
      a CfnPricingRuleProps.Builder of CfnPricingRuleProps