Package com.pulumi.aws.appsync.inputs
Class GraphQLApiLambdaAuthorizerConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appsync.inputs.GraphQLApiLambdaAuthorizerConfigArgs.Builder
-
- Enclosing class:
- GraphQLApiLambdaAuthorizerConfigArgs
public static final class GraphQLApiLambdaAuthorizerConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GraphQLApiLambdaAuthorizerConfigArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQLApiLambdaAuthorizerConfigArgs.Builder
authorizerResultTtlInSeconds(com.pulumi.core.Output<java.lang.Integer> authorizerResultTtlInSeconds)
GraphQLApiLambdaAuthorizerConfigArgs.Builder
authorizerResultTtlInSeconds(java.lang.Integer authorizerResultTtlInSeconds)
GraphQLApiLambdaAuthorizerConfigArgs.Builder
authorizerUri(com.pulumi.core.Output<java.lang.String> authorizerUri)
GraphQLApiLambdaAuthorizerConfigArgs.Builder
authorizerUri(java.lang.String authorizerUri)
GraphQLApiLambdaAuthorizerConfigArgs
build()
GraphQLApiLambdaAuthorizerConfigArgs.Builder
identityValidationExpression(com.pulumi.core.Output<java.lang.String> identityValidationExpression)
GraphQLApiLambdaAuthorizerConfigArgs.Builder
identityValidationExpression(java.lang.String identityValidationExpression)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GraphQLApiLambdaAuthorizerConfigArgs defaults)
-
-
Method Detail
-
authorizerResultTtlInSeconds
public GraphQLApiLambdaAuthorizerConfigArgs.Builder authorizerResultTtlInSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> authorizerResultTtlInSeconds)
- Parameters:
authorizerResultTtlInSeconds
- 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.- Returns:
- builder
-
authorizerResultTtlInSeconds
public GraphQLApiLambdaAuthorizerConfigArgs.Builder authorizerResultTtlInSeconds(java.lang.Integer authorizerResultTtlInSeconds)
- Parameters:
authorizerResultTtlInSeconds
- 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.- Returns:
- builder
-
authorizerUri
public GraphQLApiLambdaAuthorizerConfigArgs.Builder authorizerUri(com.pulumi.core.Output<java.lang.String> authorizerUri)
- Parameters:
authorizerUri
- 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`.- Returns:
- builder
-
authorizerUri
public GraphQLApiLambdaAuthorizerConfigArgs.Builder authorizerUri(java.lang.String authorizerUri)
- Parameters:
authorizerUri
- 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`.- Returns:
- builder
-
identityValidationExpression
public GraphQLApiLambdaAuthorizerConfigArgs.Builder identityValidationExpression(@Nullable com.pulumi.core.Output<java.lang.String> identityValidationExpression)
- Parameters:
identityValidationExpression
- Regular expression for validation of tokens before the Lambda function is called.- Returns:
- builder
-
identityValidationExpression
public GraphQLApiLambdaAuthorizerConfigArgs.Builder identityValidationExpression(java.lang.String identityValidationExpression)
- Parameters:
identityValidationExpression
- Regular expression for validation of tokens before the Lambda function is called.- Returns:
- builder
-
build
public GraphQLApiLambdaAuthorizerConfigArgs build()
-
-