Interface LambdaConfigType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>, SdkBuilder<LambdaConfigType.Builder,LambdaConfigType>, SdkPojo
Enclosing class:
LambdaConfigType

public static interface LambdaConfigType.Builder extends SdkPojo, CopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>
  • Method Details

    • 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.
    • preTokenGenerationConfig

      default LambdaConfigType.Builder preTokenGenerationConfig(Consumer<PreTokenGenerationVersionConfigType.Builder> 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.

      This is a convenience method that creates an instance of the PreTokenGenerationVersionConfigType.Builder avoiding the need to create one manually via PreTokenGenerationVersionConfigType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to preTokenGenerationConfig(PreTokenGenerationVersionConfigType).

      Parameters:
      preTokenGenerationConfig - a consumer that will call methods on PreTokenGenerationVersionConfigType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • customSMSSender

      A custom SMS sender Lambda trigger.

      This is a convenience method that creates an instance of the CustomSMSLambdaVersionConfigType.Builder avoiding the need to create one manually via CustomSMSLambdaVersionConfigType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customSMSSender(CustomSMSLambdaVersionConfigType).

      Parameters:
      customSMSSender - a consumer that will call methods on CustomSMSLambdaVersionConfigType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • customEmailSender

      default LambdaConfigType.Builder customEmailSender(Consumer<CustomEmailLambdaVersionConfigType.Builder> customEmailSender)

      A custom email sender Lambda trigger.

      This is a convenience method that creates an instance of the CustomEmailLambdaVersionConfigType.Builder avoiding the need to create one manually via CustomEmailLambdaVersionConfigType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to customEmailSender(CustomEmailLambdaVersionConfigType).

      Parameters:
      customEmailSender - a consumer that will call methods on CustomEmailLambdaVersionConfigType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.