Interface WebSocketApiAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WebSocketApiAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:43.340Z")
@Stability(Experimental)
public interface WebSocketApiAttributes
extends software.amazon.jsii.JsiiSerializable
(experimental) Attributes for importing a WebSocketApi into the CDK.
Example:
IWebSocketApi webSocketApi = WebSocketApi.fromWebSocketApiAttributes(this, "mywsapi", WebSocketApiAttributes.builder().webSocketId("api-1234").build());
-
Nested Class Summary
Modifier 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
(experimental) The identifier of the WebSocketApi. -
getApiEndpoint
(experimental) The endpoint URL of the WebSocketApi.Default: - throw san error if apiEndpoint is accessed.
-
builder
- Returns:
- a
WebSocketApiAttributes.Builder
ofWebSocketApiAttributes
-