Interface WebSocketApiAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WebSocketApiAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-14T03:24:51.937Z")
@Stability(Stable)
public interface WebSocketApiAttributes
extends software.amazon.jsii.JsiiSerializable
Attributes for importing a WebSocketApi into the CDK.
Example:
IWebSocketApi webSocketApi = WebSocketApi.fromWebSocketApiAttributes(this, "mywsapi", WebSocketApiAttributes.builder().webSocketId("api-1234").build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forWebSocketApiAttributes
static final class
An implementation forWebSocketApiAttributes
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWebSocketId
The identifier of the WebSocketApi. -
getApiEndpoint
The endpoint URL of the WebSocketApi.Default: - throw san error if apiEndpoint is accessed.
-
builder
- Returns:
- a
WebSocketApiAttributes.Builder
ofWebSocketApiAttributes
-