Interface RateLimitedApiKeyProps
- All Superinterfaces:
ApiKeyOptions
,ApiKeyProps
,software.amazon.jsii.JsiiSerializable
,ResourceOptions
- All Known Implementing Classes:
RateLimitedApiKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:45.051Z")
@Stability(Stable)
public interface RateLimitedApiKeyProps
extends software.amazon.jsii.JsiiSerializable, ApiKeyProps
RateLimitedApiKey properties.
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRateLimitedApiKeyProps
static final class
An implementation forRateLimitedApiKeyProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default List<UsagePlanPerApiStage>
API Stages to be associated with the RateLimitedApiKey.default QuotaSettings
getQuota()
Number of requests clients can make in a given time period.default ThrottleSettings
Overall throttle settings for the API.Methods inherited from interface software.amazon.awscdk.services.apigateway.ApiKeyOptions
getApiKeyName, getDescription, getValue
Methods inherited from interface software.amazon.awscdk.services.apigateway.ApiKeyProps
getCustomerId, getEnabled, getGenerateDistinctId, getResources
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.apigateway.ResourceOptions
getDefaultCorsPreflightOptions, getDefaultIntegration, getDefaultMethodOptions
-
Method Details
-
getApiStages
API Stages to be associated with the RateLimitedApiKey.Default: none
-
getQuota
Number of requests clients can make in a given time period.Default: none
-
getThrottle
Overall throttle settings for the API.Default: none
-
builder
- Returns:
- a
RateLimitedApiKeyProps.Builder
ofRateLimitedApiKeyProps
-