Class WebSocketStageAttributes
The attributes used to import existing WebSocketStage.
Inherited Members
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WebSocketStageAttributes : IWebSocketStageAttributes, IStageAttributes
Syntax (vb)
Public Class WebSocketStageAttributes Implements IWebSocketStageAttributes, IStageAttributes
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Apigatewayv2;
WebSocketApi webSocketApi;
var webSocketStageAttributes = new WebSocketStageAttributes {
Api = webSocketApi,
StageName = "stageName"
};
Synopsis
Constructors
WebSocketStageAttributes() | The attributes used to import existing WebSocketStage. |
Properties
Api | The API to which this stage is associated. |
StageName | The name of the stage. |
Constructors
WebSocketStageAttributes()
The attributes used to import existing WebSocketStage.
public WebSocketStageAttributes()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Apigatewayv2;
WebSocketApi webSocketApi;
var webSocketStageAttributes = new WebSocketStageAttributes {
Api = webSocketApi,
StageName = "stageName"
};
Properties
Api
The API to which this stage is associated.
public IWebSocketApi Api { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
StageName
The name of the stage.
public string StageName { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated