Interface IWebSocketRoute

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IResource, IRoute, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IWebSocketRoute.Jsii$Default
All Known Implementing Classes:
IWebSocketRoute.Jsii$Proxy, WebSocketRoute

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-13T16:09:58.113Z") @Stability(Stable) public interface IWebSocketRoute extends software.amazon.jsii.JsiiSerializable, IRoute
Represents a Route for an WebSocket API.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IWebSocketRoute.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The key to this route.
    The WebSocket API associated with this route.

    Methods inherited from interface software.constructs.IConstruct

    getNode

    Methods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware

    getEnv

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getStack

    Methods inherited from interface software.amazon.awscdk.services.apigatewayv2.IRoute

    getRouteId

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getRouteKey

      @Stability(Stable) @NotNull String getRouteKey()
      The key to this route.
    • getWebSocketApi

      @Stability(Stable) @NotNull IWebSocketApi getWebSocketApi()
      The WebSocket API associated with this route.