@Stability(value=Stable)
public static interface CfnUsagePlan.ThrottleSettingsProperty
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.*;
ThrottleSettingsProperty throttleSettingsProperty = ThrottleSettingsProperty.builder()
.burstLimit(123)
.rateLimit(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnUsagePlan.ThrottleSettingsProperty.Builder
A builder for
CfnUsagePlan.ThrottleSettingsProperty |
static class |
CfnUsagePlan.ThrottleSettingsProperty.Jsii$Proxy
An implementation for
CfnUsagePlan.ThrottleSettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnUsagePlan.ThrottleSettingsProperty.Builder |
builder() |
default Number |
getBurstLimit()
The API target request burst rate limit.
|
default Number |
getRateLimit()
The API target request steady-state rate limit.
|
@Stability(value=Stable) @Nullable default Number getBurstLimit()
This allows more requests through for a period of time than the target rate limit. For more information about request throttling, see Manage API Request Throttling in the API Gateway Developer Guide .
@Stability(value=Stable) @Nullable default Number getRateLimit()
For more information about request throttling, see Manage API Request Throttling in the API Gateway Developer Guide .
@Stability(value=Stable) static CfnUsagePlan.ThrottleSettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.