AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A LambdaAuthorizerConfig
specifies how to authorize AppSync API access when
using the AWS_LAMBDA
authorizer mode. Be aware that an AppSync API can have
only one Lambda authorizer configured at a time.
Namespace: Amazon.AppSync.Model
Assembly: AWSSDK.AppSync.dll
Version: 3.x.y.z
public class LambdaAuthorizerConfig
The LambdaAuthorizerConfig type exposes the following members
Name | Description | |
---|---|---|
LambdaAuthorizerConfig() |
Name | Type | Description | |
---|---|---|---|
AuthorizerResultTtlInSeconds | System.Int32 |
Gets and sets the property AuthorizerResultTtlInSeconds.
The number of seconds a response should be cached for. The default is 0 seconds, which
disables caching. If you don't specify a value for |
|
AuthorizerUri | System.String |
Gets and sets the property AuthorizerUri.
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization.
This can be a standard Lambda ARN, a version ARN ( Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:
|
|
IdentityValidationExpression | System.String |
Gets and sets the property IdentityValidationExpression. A regular expression for validation of tokens before the Lambda function is called. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5