Class LambdaConfigType

    • Method Detail

      • preSignUp

        public final String preSignUp()

        A pre-registration Lambda trigger.

        Returns:
        A pre-registration Lambda trigger.
      • customMessage

        public final String customMessage()

        A custom Message Lambda trigger.

        Returns:
        A custom Message Lambda trigger.
      • postConfirmation

        public final String postConfirmation()

        A post-confirmation Lambda trigger.

        Returns:
        A post-confirmation Lambda trigger.
      • preAuthentication

        public final String preAuthentication()

        A pre-authentication Lambda trigger.

        Returns:
        A pre-authentication Lambda trigger.
      • postAuthentication

        public final String postAuthentication()

        A post-authentication Lambda trigger.

        Returns:
        A post-authentication Lambda trigger.
      • defineAuthChallenge

        public final String defineAuthChallenge()

        Defines the authentication challenge.

        Returns:
        Defines the authentication challenge.
      • createAuthChallenge

        public final String createAuthChallenge()

        Creates an authentication challenge.

        Returns:
        Creates an authentication challenge.
      • verifyAuthChallengeResponse

        public final String verifyAuthChallengeResponse()

        Verifies the authentication challenge response.

        Returns:
        Verifies the authentication challenge response.
      • preTokenGeneration

        public final 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

        Returns:
        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

      • userMigration

        public final String userMigration()

        The user migration Lambda config type.

        Returns:
        The user migration Lambda config type.
      • preTokenGenerationConfig

        public final 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.

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

        public final CustomSMSLambdaVersionConfigType customSMSSender()

        A custom SMS sender Lambda trigger.

        Returns:
        A custom SMS sender Lambda trigger.
      • customEmailSender

        public final CustomEmailLambdaVersionConfigType customEmailSender()

        A custom email sender Lambda trigger.

        Returns:
        A custom email sender Lambda trigger.
      • kmsKeyID

        public final 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.

        Returns:
        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)