Class WebSocketLambdaAuthorizerProps
(experimental) Properties to initialize WebSocketTokenAuthorizer.
Inheritance
System.Object
WebSocketLambdaAuthorizerProps
Implements
Namespace: Amazon.CDK.AWS.APIGatewayv2.Authorizers
Assembly: Amazon.CDK.AWS.APIGatewayv2.Authorizers.dll
Syntax (csharp)
public class WebSocketLambdaAuthorizerProps : Object, IWebSocketLambdaAuthorizerProps
Syntax (vb)
Public Class WebSocketLambdaAuthorizerProps
Inherits Object
Implements IWebSocketLambdaAuthorizerProps
Remarks
Stability: Experimental
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.Authorizers;
var webSocketLambdaAuthorizerProps = new WebSocketLambdaAuthorizerProps {
AuthorizerName = "authorizerName",
IdentitySource = new [] { "identitySource" }
};
Synopsis
Constructors
WebSocketLambdaAuthorizerProps() |
Properties
AuthorizerName | (experimental) The name of the authorizer. |
IdentitySource | (experimental) The identity source for which authorization is requested. |
Constructors
WebSocketLambdaAuthorizerProps()
public WebSocketLambdaAuthorizerProps()
Properties
AuthorizerName
(experimental) The name of the authorizer.
public string AuthorizerName { get; set; }
Property Value
System.String
Remarks
Default: - same value as id
passed in the constructor.
Stability: Experimental
IdentitySource
(experimental) The identity source for which authorization is requested.
public string[] IdentitySource { get; set; }
Property Value
System.String[]
Remarks
Request parameter match 'route.request.querystring|header.[a-zA-z0-9.-]+'
.
Staged variable match 'stageVariables.[a-zA-Z0-9.-]+'
.
Context parameter match 'context.[a-zA-Z0-9._-]+'
.
Default: ['route.request.header.Authorization']
Stability: Experimental