| Modifier and Type | Method and Description |
|---|---|
Stage.Builder |
accessLogDestination(IAccessLogDestination accessLogDestination)
(experimental) The CloudWatch Logs log group.
|
Stage.Builder |
accessLogFormat(AccessLogFormat accessLogFormat)
(experimental) A single line format of access logs of data, as specified by selected $content variables.
|
Stage |
build() |
Stage.Builder |
cacheClusterEnabled(Boolean cacheClusterEnabled)
(experimental) Indicates whether cache clustering is enabled for the stage.
|
Stage.Builder |
cacheClusterSize(String cacheClusterSize)
(experimental) The stage's cache cluster size.
|
Stage.Builder |
cacheDataEncrypted(Boolean cacheDataEncrypted)
(experimental) Indicates whether the cached responses are encrypted.
|
Stage.Builder |
cacheTtl(Duration cacheTtl)
(experimental) Specifies the time to live (TTL), in seconds, for cached responses.
|
Stage.Builder |
cachingEnabled(Boolean cachingEnabled)
(experimental) Specifies whether responses should be cached and returned for requests.
|
Stage.Builder |
clientCertificateId(String clientCertificateId)
(experimental) The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage.
|
static Stage.Builder |
create(software.constructs.Construct scope,
String id) |
Stage.Builder |
dataTraceEnabled(Boolean dataTraceEnabled)
(experimental) Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
Stage.Builder |
deployment(Deployment deployment)
(experimental) The deployment that this stage points to [disable-awslint:ref-via-interface].
|
Stage.Builder |
description(String description)
(experimental) A description of the purpose of the stage.
|
Stage.Builder |
documentationVersion(String documentationVersion)
(experimental) The version identifier of the API documentation snapshot.
|
Stage.Builder |
loggingLevel(MethodLoggingLevel loggingLevel)
(experimental) Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs.
|
Stage.Builder |
methodOptions(Map<String,? extends MethodDeploymentOptions> methodOptions)
(experimental) Method deployment options for specific resources/methods.
|
Stage.Builder |
metricsEnabled(Boolean metricsEnabled)
(experimental) Specifies whether Amazon CloudWatch metrics are enabled for this method.
|
Stage.Builder |
stageName(String stageName)
(experimental) The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI).
|
Stage.Builder |
throttlingBurstLimit(Number throttlingBurstLimit)
(experimental) Specifies the throttling burst limit.
|
Stage.Builder |
throttlingRateLimit(Number throttlingRateLimit)
(experimental) Specifies the throttling rate limit.
|
Stage.Builder |
tracingEnabled(Boolean tracingEnabled)
(experimental) Specifies whether Amazon X-Ray tracing is enabled for this method.
|
Stage.Builder |
variables(Map<String,String> variables)
(experimental) A map that defines the stage variables.
|
@Stability(value=Experimental) public static Stage.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Stage.Builder.@Stability(value=Experimental) public Stage.Builder cacheDataEncrypted(Boolean cacheDataEncrypted)
Default: false
cacheDataEncrypted - Indicates whether the cached responses are encrypted. This parameter is required.this@Stability(value=Experimental) public Stage.Builder cacheTtl(Duration cacheTtl)
The higher the TTL, the longer the response will be cached.
Default: Duration.minutes(5)
cacheTtl - Specifies the time to live (TTL), in seconds, for cached responses. This parameter is required.thishttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html@Stability(value=Experimental) public Stage.Builder cachingEnabled(Boolean cachingEnabled)
A cache cluster must be enabled on the stage for responses to be cached.
Default: - Caching is Disabled.
cachingEnabled - Specifies whether responses should be cached and returned for requests. This parameter is required.this@Stability(value=Experimental) public Stage.Builder dataTraceEnabled(Boolean dataTraceEnabled)
Default: false
dataTraceEnabled - Specifies whether data trace logging is enabled for this method, which effects the log entries pushed to Amazon CloudWatch Logs. This parameter is required.this@Stability(value=Experimental) public Stage.Builder loggingLevel(MethodLoggingLevel loggingLevel)
Default: - Off
loggingLevel - Specifies the logging level for this method, which effects the log entries pushed to Amazon CloudWatch Logs. This parameter is required.this@Stability(value=Experimental) public Stage.Builder metricsEnabled(Boolean metricsEnabled)
Default: false
metricsEnabled - Specifies whether Amazon CloudWatch metrics are enabled for this method. This parameter is required.this@Stability(value=Experimental) public Stage.Builder throttlingBurstLimit(Number throttlingBurstLimit)
The total rate of all requests in your AWS account is limited to 5,000 requests.
Default: - No additional restriction.
throttlingBurstLimit - Specifies the throttling burst limit. This parameter is required.thishttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html@Stability(value=Experimental) public Stage.Builder throttlingRateLimit(Number throttlingRateLimit)
The total rate of all requests in your AWS account is limited to 10,000 requests per second (rps).
Default: - No additional restriction.
throttlingRateLimit - Specifies the throttling rate limit. This parameter is required.thishttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-request-throttling.html@Stability(value=Experimental) public Stage.Builder accessLogDestination(IAccessLogDestination accessLogDestination)
Default: - No destination
accessLogDestination - The CloudWatch Logs log group. This parameter is required.this@Stability(value=Experimental) public Stage.Builder accessLogFormat(AccessLogFormat accessLogFormat)
The format must include at least AccessLogFormat.contextRequestId().
Default: - Common Log Format
accessLogFormat - A single line format of access logs of data, as specified by selected $content variables. This parameter is required.thishttps://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-mapping-template-reference.html#context-variable-reference@Stability(value=Experimental) public Stage.Builder cacheClusterEnabled(Boolean cacheClusterEnabled)
Default: - Disabled for the stage.
cacheClusterEnabled - Indicates whether cache clustering is enabled for the stage. This parameter is required.this@Stability(value=Experimental) public Stage.Builder cacheClusterSize(String cacheClusterSize)
Default: 0.5
cacheClusterSize - The stage's cache cluster size. This parameter is required.this@Stability(value=Experimental) public Stage.Builder clientCertificateId(String clientCertificateId)
Default: - None.
clientCertificateId - The identifier of the client certificate that API Gateway uses to call your integration endpoints in the stage. This parameter is required.this@Stability(value=Experimental) public Stage.Builder description(String description)
Default: - No description.
description - A description of the purpose of the stage. This parameter is required.this@Stability(value=Experimental) public Stage.Builder documentationVersion(String documentationVersion)
Default: - No documentation version.
documentationVersion - The version identifier of the API documentation snapshot. This parameter is required.this@Stability(value=Experimental) public Stage.Builder methodOptions(Map<String,? extends MethodDeploymentOptions> methodOptions)
These will
override common options defined in StageOptions#methodOptions.
Default: - Common options will be used.
methodOptions - Method deployment options for specific resources/methods. This parameter is required.this@Stability(value=Experimental) public Stage.Builder stageName(String stageName)
Default: - "prod"
stageName - The name of the stage, which API Gateway uses as the first path segment in the invoked Uniform Resource Identifier (URI). This parameter is required.this@Stability(value=Experimental) public Stage.Builder tracingEnabled(Boolean tracingEnabled)
Default: false
tracingEnabled - Specifies whether Amazon X-Ray tracing is enabled for this method. This parameter is required.this@Stability(value=Experimental) public Stage.Builder variables(Map<String,String> variables)
Variable names must consist of alphanumeric characters, and the values must match the following regular expression: [A-Za-z0-9-._~:/?#&=,]+.
Default: - No stage variables.
variables - A map that defines the stage variables. This parameter is required.this@Stability(value=Experimental) public Stage.Builder deployment(Deployment deployment)
deployment - The deployment that this stage points to [disable-awslint:ref-via-interface]. This parameter is required.thisCopyright © 2021. All rights reserved.