Show / Hide Table of Contents

Interface IWebSocketStageProps

Properties to initialize an instance of WebSocketStage.

Inherited Members
IStageOptions.AccessLogSettings
IStageOptions.AutoDeploy
IStageOptions.Description
IStageOptions.DetailedMetricsEnabled
IStageOptions.DomainMapping
IStageOptions.StageVariables
IStageOptions.Throttle
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IWebSocketStageProps : IStageOptions
Syntax (vb)
Public Interface IWebSocketStageProps Inherits IStageOptions
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.Logs;

            HttpApi httpApi;
            WebSocketApi webSocketApi;
            LogGroup logGroup;


            new HttpStage(this, "HttpStage", new HttpStageProps {
                HttpApi = httpApi,
                AccessLogSettings = new Dictionary<string, IAccessLogDestination> {
                    { "destination", new LogGroupLogDestination(logGroup) }
                }
            });

            new WebSocketStage(this, "WebSocketStage", new WebSocketStageProps {
                WebSocketApi = webSocketApi,
                StageName = "dev",
                AccessLogSettings = new Dictionary<string, IAccessLogDestination> {
                    { "destination", new LogGroupLogDestination(logGroup) }
                }
            });

Synopsis

Properties

StageName

The name of the stage.

WebSocketApi

The WebSocket API to which this stage is associated.

Properties

StageName

The name of the stage.

string StageName { get; }
Property Value

string

Remarks

ExampleMetadata: infused

WebSocketApi

The WebSocket API to which this stage is associated.

IWebSocketApi WebSocketApi { get; }
Property Value

IWebSocketApi

Remarks

ExampleMetadata: infused

Back to top Generated by DocFX