@Stability(value=Stable)
public static interface CfnUsagePlan.ApiStageProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
ApiStageProperty apiStageProperty = ApiStageProperty.builder()
.apiId("apiId")
.stage("stage")
.throttle(Map.of(
"throttleKey", ThrottleSettingsProperty.builder()
.burstLimit(123)
.rateLimit(123)
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUsagePlan.ApiStageProperty.Builder
A builder for
CfnUsagePlan.ApiStageProperty |
static class |
CfnUsagePlan.ApiStageProperty.Jsii$Proxy
An implementation for
CfnUsagePlan.ApiStageProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnUsagePlan.ApiStageProperty.Builder |
builder() |
default String |
getApiId()
The ID of an API that is in the specified `Stage` property that you want to associate with the usage plan.
|
default String |
getStage()
The name of the stage to associate with the usage plan.
|
default Object |
getThrottle()
Map containing method-level throttling information for an API stage in a usage plan.
|
@Stability(value=Stable) @Nullable default String getApiId()
@Stability(value=Stable) @Nullable default String getStage()
@Stability(value=Stable) @Nullable default Object getThrottle()
The key for the map is the path and method for which to configure custom throttling, for example, "/pets/GET".
Duplicates are not allowed.
@Stability(value=Stable) static CfnUsagePlan.ApiStageProperty.Builder builder()
Copyright © 2022. All rights reserved.