@Stability(value=Stable) @Internal public static final class StageProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements StageProps
StagePropssoftware.amazon.jsii.JsiiObject.InitializationModeStageProps.Builder, StageProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(StageProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
StageProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IAccessLogDestination |
getAccessLogDestination()
The CloudWatch Logs log group.
|
AccessLogFormat |
getAccessLogFormat()
A single line format of access logs of data, as specified by selected $content variables.
|
Boolean |
getCacheClusterEnabled()
Indicates whether cache clustering is enabled for the stage.
|
String |
getCacheClusterSize()
The stage's cache cluster size.
|
Boolean |
getCacheDataEncrypted()
Indicates whether the cached responses are encrypted.
|
Duration |
getCacheTtl()
Specifies the time to live (TTL), in seconds, for cached responses.
|
Boolean |
getCachingEnabled()
Specifies whether responses should be cached and returned for requests.
|
String |
getClientCertificateId()
The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
|
Boolean |
getDataTraceEnabled()
Specifies whether data trace logging is enabled for this method.
|
Deployment |
getDeployment()
The deployment that this stage points to [disable-awslint:ref-via-interface].
|
String |
getDescription()
A description of the purpose of the stage.
|
String |
getDocumentationVersion()
The version identifier of the API documentation snapshot.
|
MethodLoggingLevel |
getLoggingLevel()
Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
Map<String,MethodDeploymentOptions> |
getMethodOptions()
Method deployment options for specific resources/methods.
|
Boolean |
getMetricsEnabled()
Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
String |
getStageName()
The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI).
|
Number |
getThrottlingBurstLimit()
Specifies the throttling burst limit.
|
Number |
getThrottlingRateLimit()
Specifies the throttling rate limit.
|
Boolean |
getTracingEnabled()
Specifies whether Amazon X-Ray tracing is enabled for this method.
|
Map<String,String> |
getVariables()
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(StageProps.Builder builder)
StageProps.Builder.public final Deployment getDeployment()
StagePropsgetDeployment in interface StagePropspublic 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
public 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 MethodDeploymentOptionspublic 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()
MethodDeploymentOptionsWhen enabled, API gateway will log the full API requests and responses. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this feature for production APIs.
Default: 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 MethodDeploymentOptionspublic 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 MethodDeploymentOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.