GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig class
Constructors
-
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig({Input<
int?> ? authorizerResultTtlInSeconds, required Input<String> authorizerUri, Input<String?> ? identityValidationExpression}) -
Creates a new GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.
authorizerResultTtlInSecondsNumber of seconds a response should be cached for. The default is 5 minutes (300 seconds). The Lambda function can override this by returning attlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.authorizerUriARN of the Lambda function to be called for authorization. Note: This Lambda function must have a resource-based policy assigned to it, to allowlambda:InvokeFunctionfrom service principalappsync.amazonaws.com.identityValidationExpressionRegular expression for validation of tokens before the Lambda function is called.const -
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
ttlOverridekey in its response. A value of 0 disables caching of responses. Minimum value of 0. Maximum value of 3600.final -
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:InvokeFunctionfrom service principalappsync.amazonaws.com.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
identityValidationExpression
→ Input<
String?> ? -
Regular expression for validation of tokens before the Lambda function is called.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited