@Stability(value=Experimental) @Internal public static final class StageOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StageOptions
StageOptionssoftware.amazon.jsii.JsiiObject.InitializationModeStageOptions.Builder, StageOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IAccessLogDestination accessLogDestination,
AccessLogFormat accessLogFormat,
Boolean cacheClusterEnabled,
String cacheClusterSize,
String clientCertificateId,
String description,
String documentationVersion,
Map<String,? extends MethodDeploymentOptions> methodOptions,
String stageName,
Boolean tracingEnabled,
Map<String,String> variables,
Boolean cacheDataEncrypted,
Duration cacheTtl,
Boolean cachingEnabled,
Boolean dataTraceEnabled,
MethodLoggingLevel loggingLevel,
Boolean metricsEnabled,
Number throttlingBurstLimit,
Number throttlingRateLimit)
Constructor that initializes the object based on literal property values passed by the
StageOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IAccessLogDestination |
getAccessLogDestination()
(experimental) The CloudWatch Logs log group.
|
AccessLogFormat |
getAccessLogFormat()
(experimental) A single line format of access logs of data, as specified by selected $content variables.
|
Boolean |
getCacheClusterEnabled()
(experimental) Indicates whether cache clustering is enabled for the stage.
|
String |
getCacheClusterSize()
(experimental) The stage's cache cluster size.
|
Boolean |
getCacheDataEncrypted()
(experimental) Indicates whether the cached responses are encrypted.
|
Duration |
getCacheTtl()
(experimental) Specifies the time to live (TTL), in seconds, for cached responses.
|
Boolean |
getCachingEnabled()
(experimental) Specifies whether responses should be cached and returned for requests.
|
String |
getClientCertificateId()
(experimental) The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
|
Boolean |
getDataTraceEnabled()
(experimental) Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
String |
getDescription()
(experimental) A description of the purpose of the stage.
|
String |
getDocumentationVersion()
(experimental) The version identifier of the API documentation snapshot.
|
MethodLoggingLevel |
getLoggingLevel()
(experimental) Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
Map<String,MethodDeploymentOptions> |
getMethodOptions()
(experimental) Method deployment options for specific resources/methods.
|
Boolean |
getMetricsEnabled()
(experimental) Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
String |
getStageName()
(experimental) The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI).
|
Number |
getThrottlingBurstLimit()
(experimental) Specifies the throttling burst limit.
|
Number |
getThrottlingRateLimit()
(experimental) Specifies the throttling rate limit.
|
Boolean |
getTracingEnabled()
(experimental) Specifies whether Amazon X-Ray tracing is enabled for this method.
|
Map<String,String> |
getVariables()
(experimental) A map that defines the stage variables.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IAccessLogDestination accessLogDestination, AccessLogFormat accessLogFormat, Boolean cacheClusterEnabled, String cacheClusterSize, String clientCertificateId, String description, String documentationVersion, Map<String,? extends MethodDeploymentOptions> methodOptions, String stageName, Boolean tracingEnabled, Map<String,String> variables, Boolean cacheDataEncrypted, Duration cacheTtl, Boolean cachingEnabled, Boolean dataTraceEnabled, MethodLoggingLevel loggingLevel, Boolean metricsEnabled, Number throttlingBurstLimit, Number throttlingRateLimit)
StageOptions.Builder.public final IAccessLogDestination getAccessLogDestination()
StageOptionsDefault: - No destination
getAccessLogDestination in interface StageOptionspublic final AccessLogFormat getAccessLogFormat()
StageOptions
The format must include at least AccessLogFormat.contextRequestId().
Default: - Common Log Format
getAccessLogFormat in interface StageOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-referencepublic final Boolean getCacheClusterEnabled()
StageOptionsDefault: - Disabled for the stage.
getCacheClusterEnabled in interface StageOptionspublic final String getCacheClusterSize()
StageOptionsDefault: 0.5
getCacheClusterSize in interface StageOptionspublic final String getClientCertificateId()
StageOptionsDefault: - None.
getClientCertificateId in interface StageOptionspublic final String getDescription()
StageOptionsDefault: - No description.
getDescription in interface StageOptionspublic final String getDocumentationVersion()
StageOptionsDefault: - No documentation version.
getDocumentationVersion in interface StageOptionspublic final Map<String,MethodDeploymentOptions> getMethodOptions()
StageOptions
These will
override common options defined in StageOptions#methodOptions.
Default: - Common options will be used.
getMethodOptions in interface StageOptionspublic final String getStageName()
StageOptionsDefault: - "prod"
getStageName in interface StageOptionspublic final Boolean getTracingEnabled()
StageOptionsDefault: false
getTracingEnabled in interface StageOptionspublic final Map<String,String> getVariables()
StageOptionsVariable names must consist of alphanumeric characters, and the values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+.
Default: - No stage variables.
getVariables in interface StageOptionspublic final Boolean getCacheDataEncrypted()
MethodDeploymentOptionsDefault: false
getCacheDataEncrypted in interface MethodDeploymentOptionspublic final Duration getCacheTtl()
MethodDeploymentOptionsThe higher the TTL, the longer the response will be cached.
Default: Duration.minutes(5)
getCacheTtl in interface MethodDeploymentOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.htmlpublic final Boolean getCachingEnabled()
MethodDeploymentOptionsA cache cluster must be enabled on the stage for responses to be cached.
Default: - Caching is Disabled.
getCachingEnabled in interface MethodDeploymentOptionspublic final Boolean getDataTraceEnabled()
MethodDeploymentOptionsDefault: false
getDataTraceEnabled in interface MethodDeploymentOptionspublic final MethodLoggingLevel getLoggingLevel()
MethodDeploymentOptionsDefault: - Off
getLoggingLevel in interface MethodDeploymentOptionspublic final Boolean getMetricsEnabled()
MethodDeploymentOptionsDefault: false
getMetricsEnabled in interface MethodDeploymentOptionspublic final Number getThrottlingBurstLimit()
MethodDeploymentOptionsThe total rate of all requests in your AWS account is limited to 5,000 requests.
Default: - No additional restriction.
getThrottlingBurstLimit in interface MethodDeploymentOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.htmlpublic final Number getThrottlingRateLimit()
MethodDeploymentOptionsThe total rate of all requests in your AWS account is limited to 10,000 requests per second (rps).
Default: - No additional restriction.
getThrottlingRateLimit in interface MethodDeploymentOptionshttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.