Interface LambdaConfigType.Builder

    • Method Detail

      • preSignUp

        LambdaConfigType.Builder preSignUp​(String preSignUp)

        A pre-registration Lambda trigger.

        Parameters:
        preSignUp - A pre-registration Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customMessage

        LambdaConfigType.Builder customMessage​(String customMessage)

        A custom Message Lambda trigger.

        Parameters:
        customMessage - A custom Message Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postConfirmation

        LambdaConfigType.Builder postConfirmation​(String postConfirmation)

        A post-confirmation Lambda trigger.

        Parameters:
        postConfirmation - A post-confirmation Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preAuthentication

        LambdaConfigType.Builder preAuthentication​(String preAuthentication)

        A pre-authentication Lambda trigger.

        Parameters:
        preAuthentication - A pre-authentication Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postAuthentication

        LambdaConfigType.Builder postAuthentication​(String postAuthentication)

        A post-authentication Lambda trigger.

        Parameters:
        postAuthentication - A post-authentication Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defineAuthChallenge

        LambdaConfigType.Builder defineAuthChallenge​(String defineAuthChallenge)

        Defines the authentication challenge.

        Parameters:
        defineAuthChallenge - Defines the authentication challenge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createAuthChallenge

        LambdaConfigType.Builder createAuthChallenge​(String createAuthChallenge)

        Creates an authentication challenge.

        Parameters:
        createAuthChallenge - Creates an authentication challenge.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • verifyAuthChallengeResponse

        LambdaConfigType.Builder verifyAuthChallengeResponse​(String verifyAuthChallengeResponse)

        Verifies the authentication challenge response.

        Parameters:
        verifyAuthChallengeResponse - Verifies the authentication challenge response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preTokenGeneration

        LambdaConfigType.Builder preTokenGeneration​(String preTokenGeneration)

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

        Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig, its value must be identical to PreTokenGeneration. For new instances of pre token generation triggers, set the LambdaArn of PreTokenGenerationConfig.

        You can set

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

        Set this parameter for legacy purposes. If you also set an ARN in PreTokenGenerationConfig, its value must be identical to PreTokenGeneration. For new instances of pre token generation triggers, set the LambdaArn of PreTokenGenerationConfig.

        You can set

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

        LambdaConfigType.Builder userMigration​(String userMigration)

        The user migration Lambda config type.

        Parameters:
        userMigration - The user migration Lambda config type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preTokenGenerationConfig

        LambdaConfigType.Builder preTokenGenerationConfig​(PreTokenGenerationVersionConfigType preTokenGenerationConfig)

        The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration, its value must be identical to PreTokenGenerationConfig.

        Parameters:
        preTokenGenerationConfig - The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration, its value must be identical to PreTokenGenerationConfig.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customSMSSender

        LambdaConfigType.Builder customSMSSender​(CustomSMSLambdaVersionConfigType customSMSSender)

        A custom SMS sender Lambda trigger.

        Parameters:
        customSMSSender - A custom SMS sender Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customEmailSender

        LambdaConfigType.Builder customEmailSender​(CustomEmailLambdaVersionConfigType customEmailSender)

        A custom email sender Lambda trigger.

        Parameters:
        customEmailSender - A custom email sender Lambda trigger.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyID

        LambdaConfigType.Builder kmsKeyID​(String kmsKeyID)

        The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender.

        Parameters:
        kmsKeyID - The Amazon Resource Name (ARN) of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender and CustomSMSSender.
        Returns:
        Returns a reference to this object so that method calls can be chained together.