GraphQLApiLambdaAuthorizerConfigArgs

data class GraphQLApiLambdaAuthorizerConfigArgs(val authorizerResultTtlInSeconds: Output<Int>? = null, val authorizerUri: Output<String>, val identityValidationExpression: Output<String>? = null) : ConvertibleToJava<GraphQLApiLambdaAuthorizerConfigArgs>

Constructors

Link copied to clipboard
constructor(authorizerResultTtlInSeconds: Output<Int>? = null, authorizerUri: Output<String>, identityValidationExpression: Output<String>? = null)

Properties

Link copied to clipboard
val authorizerResultTtlInSeconds: Output<Int>? = null

Number of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning a ttlOverride key in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.

Link copied to clipboard
val authorizerUri: Output<String>

ARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allow lambda:InvokeFunction from service principal appsync.amazonaws.com.

Link copied to clipboard

Regular expression for validation of tokens before the Lambda function is called.

Functions

Link copied to clipboard
open override fun toJava(): GraphQLApiLambdaAuthorizerConfigArgs