@aws-cdk_aws-apigatewayv2-alpha.WebSocketStageAttributes
interface WebSocketStageAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Apigatewayv2.Alpha.WebSocketStageAttributes |
![]() | github.com/aws/aws-cdk-go/awscdkapigatewayv2alpha/v2#WebSocketStageAttributes |
![]() | software.amazon.awscdk.services.apigatewayv2.alpha.WebSocketStageAttributes |
![]() | aws_cdk.aws_apigatewayv2_alpha.WebSocketStageAttributes |
![]() | @aws-cdk/aws-apigatewayv2-alpha ยป 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 * as apigatewayv2_alpha from '@aws-cdk/aws-apigatewayv2-alpha';
declare const webSocketApi: apigatewayv2_alpha.WebSocketApi;
const webSocketStageAttributes: apigatewayv2_alpha.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.