interface WebSocketStageAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.WebSocketStageAttributes |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsapigatewayv2#WebSocketStageAttributes |
![]() | software.amazon.awscdk.services.apigatewayv2.WebSocketStageAttributes |
![]() | aws_cdk.aws_apigatewayv2.WebSocketStageAttributes |
![]() | aws-cdk-lib » aws_apigatewayv2 » WebSocketStageAttributes |
The attributes used to import existing WebSocketStage.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_apigatewayv2 as apigatewayv2 } from 'aws-cdk-lib';
declare const webSocketApi: apigatewayv2.WebSocketApi;
const webSocketStageAttributes: apigatewayv2.WebSocketStageAttributes = {
api: webSocketApi,
stageName: 'stageName',
};
Properties
Name | Type | Description |
---|---|---|
api | IWeb | The API to which this stage is associated. |
stage | string | The name of the stage. |
api
Type:
IWeb
The API to which this stage is associated.
stageName
Type:
string
The name of the stage.