Package com.pulumi.aws.appsync.outputs
Class GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig
- java.lang.Object
-
- com.pulumi.aws.appsync.outputs.GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig
-
public final class GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
authorizerResultTtlInSeconds()
java.lang.String
authorizerUri()
static GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.Builder
builder()
static GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.Builder
builder(GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig defaults)
java.util.Optional<java.lang.String>
identityValidationExpression()
-
-
-
Method Detail
-
authorizerResultTtlInSeconds
public java.util.Optional<java.lang.Integer> authorizerResultTtlInSeconds()
- Returns:
- 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.
-
authorizerUri
public java.lang.String authorizerUri()
- Returns:
- 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`.
-
identityValidationExpression
public java.util.Optional<java.lang.String> identityValidationExpression()
- Returns:
- Regular expression for validation of tokens before the Lambda function is called.
-
builder
public static GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.Builder builder()
-
builder
public static GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig.Builder builder(GraphQLApiAdditionalAuthenticationProviderLambdaAuthorizerConfig defaults)
-
-