@Stability(value=Experimental) public static final class WebSocketStage.Builder extends Object implements software.amazon.jsii.Builder<WebSocketStage>
WebSocketStage.| Modifier and Type | Method and Description |
|---|---|
WebSocketStage.Builder |
autoDeploy(Boolean autoDeploy)
(experimental) Whether updates to an API automatically trigger a new deployment.
|
WebSocketStage |
build() |
static WebSocketStage.Builder |
create(software.constructs.Construct scope,
String id) |
WebSocketStage.Builder |
domainMapping(DomainMappingOptions domainMapping)
(experimental) The options for custom domain and api mapping.
|
WebSocketStage.Builder |
stageName(String stageName)
(experimental) The name of the stage.
|
WebSocketStage.Builder |
throttle(ThrottleSettings throttle)
(experimental) Throttle settings for the routes of this stage.
|
WebSocketStage.Builder |
webSocketApi(IWebSocketApi webSocketApi)
(experimental) The WebSocket API to which this stage is associated.
|
@Stability(value=Experimental) public static WebSocketStage.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.WebSocketStage.Builder.@Stability(value=Experimental) public WebSocketStage.Builder autoDeploy(Boolean autoDeploy)
Default: false
autoDeploy - Whether updates to an API automatically trigger a new deployment. This parameter is required.this@Stability(value=Experimental) public WebSocketStage.Builder domainMapping(DomainMappingOptions domainMapping)
Default: - no custom domain and api mapping configuration
domainMapping - The options for custom domain and api mapping. This parameter is required.this@Stability(value=Experimental) public WebSocketStage.Builder throttle(ThrottleSettings throttle)
Default: - no throttling configuration
throttle - Throttle settings for the routes of this stage. This parameter is required.this@Stability(value=Experimental) public WebSocketStage.Builder stageName(String stageName)
stageName - The name of the stage. This parameter is required.this@Stability(value=Experimental) public WebSocketStage.Builder webSocketApi(IWebSocketApi webSocketApi)
webSocketApi - The WebSocket API to which this stage is associated. This parameter is required.this@Stability(value=Experimental) public WebSocketStage build()
build in interface software.amazon.jsii.Builder<WebSocketStage>Copyright © 2022. All rights reserved.