Interface AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder

    • Method Detail

      • authorizerResultTtlInSeconds

        AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder authorizerResultTtlInSeconds​(Integer authorizerResultTtlInSeconds)

        The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).

        Parameters:
        authorizerResultTtlInSeconds - The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authorizerUri

        AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder authorizerUri​(String 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 (.../v3), or an alias ARN.

        Parameters:
        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 (.../v3), or an alias ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • identityValidationExpression

        AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder identityValidationExpression​(String identityValidationExpression)

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

        Parameters:
        identityValidationExpression - A regular expression for validation of tokens before the Lambda function is called.
        Returns:
        Returns a reference to this object so that method calls can be chained together.