Interface WebSocketStageProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,StageOptions
- All Known Implementing Classes:
WebSocketStageProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-02T12:05:01.403Z")
@Stability(Stable)
public interface WebSocketStageProps
extends software.amazon.jsii.JsiiSerializable, StageOptions
Properties to initialize an instance of
WebSocketStage.
Example:
import software.amazon.awscdk.services.logs.*;
HttpApi httpApi;
WebSocketApi webSocketApi;
LogGroup logGroup;
HttpStage.Builder.create(this, "HttpStage")
.httpApi(httpApi)
.accessLogSettings(Map.of(
"destination", new LogGroupLogDestination(logGroup)))
.build();
WebSocketStage.Builder.create(this, "WebSocketStage")
.webSocketApi(webSocketApi)
.stageName("dev")
.accessLogSettings(Map.of(
"destination", new LogGroupLogDestination(logGroup)))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forWebSocketStagePropsstatic final classAn implementation forWebSocketStageProps -
Method Summary
Modifier and TypeMethodDescriptionstatic WebSocketStageProps.Builderbuilder()The name of the stage.The WebSocket API to which this stage is associated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.apigatewayv2.StageOptions
getAccessLogSettings, getAutoDeploy, getDescription, getDetailedMetricsEnabled, getDomainMapping, getStageVariables, getThrottle
-
Method Details
-
getStageName
The name of the stage. -
getWebSocketApi
The WebSocket API to which this stage is associated. -
builder
- Returns:
- a
WebSocketStageProps.BuilderofWebSocketStageProps
-