@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.201Z") @Stability(value=Stable) public interface RateLimitedApiKeyProps extends software.amazon.jsii.JsiiSerializable, ApiKeyProps
Example:
RestApi api;
RateLimitedApiKey key = RateLimitedApiKey.Builder.create(this, "rate-limited-api-key")
.customerId("hello-customer")
.resources(List.of(api))
.quota(QuotaSettings.builder()
.limit(10000)
.period(Period.MONTH)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
RateLimitedApiKeyProps.Builder
A builder for
RateLimitedApiKeyProps |
static class |
RateLimitedApiKeyProps.Jsii$Proxy
An implementation for
RateLimitedApiKeyProps |
| Modifier and Type | Method and Description |
|---|---|
static RateLimitedApiKeyProps.Builder |
builder() |
default List<UsagePlanPerApiStage> |
getApiStages()
API Stages to be associated with the RateLimitedApiKey.
|
default QuotaSettings |
getQuota()
Number of requests clients can make in a given time period.
|
default ThrottleSettings |
getThrottle()
Overall throttle settings for the API.
|
getCustomerId, getEnabled, getGenerateDistinctId, getResourcesgetApiKeyName, getDescription, getValuegetDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions@Stability(value=Stable) @Nullable default List<UsagePlanPerApiStage> getApiStages()
Default: none
@Stability(value=Stable) @Nullable default QuotaSettings getQuota()
Default: none
@Stability(value=Stable) @Nullable default ThrottleSettings getThrottle()
Default: none
@Stability(value=Stable) static RateLimitedApiKeyProps.Builder builder()
builder in interface ApiKeyOptionsbuilder in interface ApiKeyPropsbuilder in interface ResourceOptionsRateLimitedApiKeyProps.Builder of RateLimitedApiKeyPropsCopyright © 2022. All rights reserved.