java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.LambdaConfigType
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>

@Generated("software.amazon.awssdk:codegen") public final class LambdaConfigType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>

Specifies the configuration for Lambda triggers.

See Also:
  • Method Details

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

      public LambdaConfigType.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>
      Returns:
      a builder for type T
    • builder

      public static LambdaConfigType.Builder builder()
    • serializableBuilderClass

      public static Class<? extends LambdaConfigType.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.