Interface CfnUsagePlanProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnUsagePlanProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.920Z") @Stability(Stable) public interface CfnUsagePlanProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnUsagePlan.

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.apigateway.*;
 CfnUsagePlanProps cfnUsagePlanProps = CfnUsagePlanProps.builder()
         .apiStages(List.of(ApiStageProperty.builder()
                 .apiId("apiId")
                 .stage("stage")
                 .throttle(Map.of(
                         "throttleKey", ThrottleSettingsProperty.builder()
                                 .burstLimit(123)
                                 .rateLimit(123)
                                 .build()))
                 .build()))
         .description("description")
         .quota(QuotaSettingsProperty.builder()
                 .limit(123)
                 .offset(123)
                 .period("period")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .throttle(ThrottleSettingsProperty.builder()
                 .burstLimit(123)
                 .rateLimit(123)
                 .build())
         .usagePlanName("usagePlanName")
         .build();
 
  • Method Details

    • getApiStages

      @Stability(Stable) @Nullable default Object getApiStages()
      The associated API stages of a usage plan.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of a usage plan.
    • getQuota

      @Stability(Stable) @Nullable default Object getQuota()
      The target maximum number of permitted requests per a given unit time interval.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The collection of tags.

      Each tag element is associated with a given resource.

    • getThrottle

      @Stability(Stable) @Nullable default Object getThrottle()
      A map containing method level throttling information for API stage in a usage plan.
    • getUsagePlanName

      @Stability(Stable) @Nullable default String getUsagePlanName()
      The name of a usage plan.
    • builder

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