Interface PreTokenGenerationVersionConfigType.Builder

    • Method Detail

      • lambdaVersion

        PreTokenGenerationVersionConfigType.Builder lambdaVersion​(String lambdaVersion)

        The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.

        Parameters:
        lambdaVersion - The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PreTokenGenerationLambdaVersionType, PreTokenGenerationLambdaVersionType
      • lambdaArn

        PreTokenGenerationVersionConfigType.Builder lambdaArn​(String lambdaArn)

        The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

        This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.

        Parameters:
        lambdaArn - The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.

        This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.