Class WebSocketRouteAuthorizerConfig
Results of binding an authorizer to an WebSocket route.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Apigatewayv2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WebSocketRouteAuthorizerConfig : IWebSocketRouteAuthorizerConfig
Syntax (vb)
Public Class WebSocketRouteAuthorizerConfig Implements IWebSocketRouteAuthorizerConfig
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;
var webSocketRouteAuthorizerConfig = new WebSocketRouteAuthorizerConfig {
AuthorizationType = "authorizationType",
// the properties below are optional
AuthorizerId = "authorizerId"
};
Synopsis
Constructors
| WebSocketRouteAuthorizerConfig() | Results of binding an authorizer to an WebSocket route. |
Properties
| AuthorizationType | The type of authorization. |
| AuthorizerId | The authorizer id. |
Constructors
WebSocketRouteAuthorizerConfig()
Results of binding an authorizer to an WebSocket route.
public WebSocketRouteAuthorizerConfig()
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;
var webSocketRouteAuthorizerConfig = new WebSocketRouteAuthorizerConfig {
AuthorizationType = "authorizationType",
// the properties below are optional
AuthorizerId = "authorizerId"
};
Properties
AuthorizationType
The type of authorization.
public string AuthorizationType { get; set; }
Property Value
Remarks
Possible values are:
AuthorizerId
The authorizer id.
public string? AuthorizerId { get; set; }
Property Value
Remarks
Default: - No authorizer id (useful for AWS_IAM route authorizer)