@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-15T19:53:17.425Z") @Stability(value=Experimental) public interface StageOptions extends software.amazon.jsii.JsiiSerializable
Options that are common between HTTP and Websocket APIs.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.apigatewayv2.alpha.*;
DomainName domainName;
StageOptions stageOptions = StageOptions.builder()
.autoDeploy(false)
.domainMapping(DomainMappingOptions.builder()
.domainName(domainName)
// the properties below are optional
.mappingKey("mappingKey")
.build())
.throttle(ThrottleSettings.builder()
.burstLimit(123)
.rateLimit(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
StageOptions.Builder
A builder for
StageOptions |
static class |
StageOptions.Jsii$Proxy
An implementation for
StageOptions |
| Modifier and Type | Method and Description |
|---|---|
static StageOptions.Builder |
builder() |
default Boolean |
getAutoDeploy()
(experimental) Whether updates to an API automatically trigger a new deployment.
|
default DomainMappingOptions |
getDomainMapping()
(experimental) The options for custom domain and api mapping.
|
default ThrottleSettings |
getThrottle()
(experimental) Throttle settings for the routes of this stage.
|
@Stability(value=Experimental) @Nullable default Boolean getAutoDeploy()
Default: false
@Stability(value=Experimental) @Nullable default DomainMappingOptions getDomainMapping()
Default: - no custom domain and api mapping configuration
@Stability(value=Experimental) @Nullable default ThrottleSettings getThrottle()
Default: - no throttling configuration
@Stability(value=Experimental) static StageOptions.Builder builder()
StageOptions.Builder of StageOptionsCopyright © 2023. All rights reserved.