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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUsagePlanPropsstatic final classAn implementation forCfnUsagePlanProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnUsagePlanProps.Builderbuilder()default ObjectThe associated API stages of a usage plan.default StringThe description of a usage plan.default ObjectgetQuota()The target maximum number of permitted requests per a given unit time interval.getTags()The collection of tags.default ObjectA map containing method level throttling information for API stage in a usage plan.default StringThe name of a usage plan.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiStages
The associated API stages of a usage plan. -
getDescription
The description of a usage plan. -
getQuota
The target maximum number of permitted requests per a given unit time interval. -
getTags
The collection of tags.Each tag element is associated with a given resource.
-
getThrottle
A map containing method level throttling information for API stage in a usage plan. -
getUsagePlanName
The name of a usage plan. -
builder
- Returns:
- a
CfnUsagePlanProps.BuilderofCfnUsagePlanProps
-