@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:46.062Z") @Stability(value=Experimental) public interface MethodDeploymentOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodDeploymentOptions.Builder
A builder for
MethodDeploymentOptions |
static class |
MethodDeploymentOptions.Jsii$Proxy
An implementation for
MethodDeploymentOptions |
| Modifier and Type | Method and Description |
|---|---|
static MethodDeploymentOptions.Builder |
builder() |
default Boolean |
getCacheDataEncrypted()
(experimental) Indicates whether the cached responses are encrypted.
|
default Duration |
getCacheTtl()
(experimental) Specifies the time to live (TTL), in seconds, for cached responses.
|
default Boolean |
getCachingEnabled()
(experimental) Specifies whether responses should be cached and returned for requests.
|
default Boolean |
getDataTraceEnabled()
(experimental) Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
default MethodLoggingLevel |
getLoggingLevel()
(experimental) Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
default Boolean |
getMetricsEnabled()
(experimental) Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
default Number |
getThrottlingBurstLimit()
(experimental) Specifies the throttling burst limit.
|
default Number |
getThrottlingRateLimit()
(experimental) Specifies the throttling rate limit.
|
@Stability(value=Experimental) @Nullable default Boolean getCacheDataEncrypted()
Default: false
@Stability(value=Experimental) @Nullable default Duration getCacheTtl()
The higher the TTL, the longer the response will be cached.
Default: Duration.minutes(5)
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html@Stability(value=Experimental) @Nullable default Boolean getCachingEnabled()
A cache cluster must be enabled on the stage for responses to be cached.
Default: - Caching is Disabled.
@Stability(value=Experimental) @Nullable default Boolean getDataTraceEnabled()
Default: false
@Stability(value=Experimental) @Nullable default MethodLoggingLevel getLoggingLevel()
Default: - Off
@Stability(value=Experimental) @Nullable default Boolean getMetricsEnabled()
Default: false
@Stability(value=Experimental) @Nullable default Number getThrottlingBurstLimit()
The total rate of all requests in your AWS account is limited to 5,000 requests.
Default: - No additional restriction.
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html@Stability(value=Experimental) @Nullable default Number getThrottlingRateLimit()
The total rate of all requests in your AWS account is limited to 10,000 requests per second (rps).
Default: - No additional restriction.
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html@Stability(value=Experimental) static MethodDeploymentOptions.Builder builder()
MethodDeploymentOptions.Builder of MethodDeploymentOptionsCopyright © 2021. All rights reserved.