getApiGatewayWebsocketApiId() {
    if (
      this.serverless.service.provider.apiGateway &&
      this.serverless.service.provider.apiGateway.websocketApiId
    ) {
      return this.serverless.service.provider.apiGateway.websocketApiId
    }

    return { Ref: this.naming.getWebsocketsApiLogicalId() }
  }
Get API Gateway websocket API ID from serverless config