Class LambdaConfigType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>
A collection of user pool Lambda triggers. Amazon Cognito invokes triggers at several possible stages of user pool operations. Triggers can modify the outcome of the operations that invoked them.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaConfigType.Builderbuilder()final StringThe configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.The configuration of a custom email sender Lambda trigger.final StringA custom message Lambda trigger.The configuration of a custom SMS sender Lambda trigger.final StringThe configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()The configuration of an inbound federation Lambda trigger.final StringkmsKeyID()The ARN of an KMS key.final StringThe configuration of a post authentication Lambda trigger in a user pool.final StringThe configuration of a post confirmation Lambda trigger in a user pool.final StringThe configuration of a pre authentication trigger in a user pool.final StringThe configuration of a pre sign-up Lambda trigger in a user pool.final StringThe legacy configuration of a pre token generation Lambda trigger in a user pool.The detailed configuration of a pre token generation Lambda trigger in a user pool.static Class<? extends LambdaConfigType.Builder>final StringtoString()Returns a string representation of this object.final StringThe configuration of a migrate user Lambda trigger in a user pool.final StringThe configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
preSignUp
The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile, or block sign-up requests.
- Returns:
- The configuration of a pre sign-up Lambda trigger in a user pool. This trigger evaluates new users and can bypass confirmation, link a federated user profile, or block sign-up requests.
-
customMessage
A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
- Returns:
- A custom message Lambda trigger. This trigger is an opportunity to customize all SMS and email messages from your user pool. When a custom message trigger is active, your user pool routes all messages to a Lambda function that returns a runtime-customized message subject and body for your user pool to deliver to a user.
-
postConfirmation
The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
- Returns:
- The configuration of a post confirmation Lambda trigger in a user pool. This trigger can take custom actions after a user confirms their user account and their email address or phone number.
-
preAuthentication
The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
- Returns:
- The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.
-
postAuthentication
The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
- Returns:
- The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.
-
defineAuthChallenge
The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
- Returns:
- The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
-
createAuthChallenge
The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
- Returns:
- The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
-
verifyAuthChallengeResponse
The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
- Returns:
- The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers.
-
preTokenGeneration
The legacy configuration of a pre token generation Lambda trigger in a user pool.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig, its value must be identical toPreTokenGeneration. For new instances of pre token generation triggers, set theLambdaArnofPreTokenGenerationConfig.- Returns:
- The legacy configuration of a pre token generation Lambda trigger in a user pool.
Set this parameter for legacy purposes. If you also set an ARN in
PreTokenGenerationConfig, its value must be identical toPreTokenGeneration. For new instances of pre token generation triggers, set theLambdaArnofPreTokenGenerationConfig.
-
userMigration
The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
- Returns:
- The configuration of a migrate user Lambda trigger in a user pool. This trigger can create user profiles when users sign in or attempt to reset their password with credentials that don't exist yet.
-
preTokenGenerationConfig
The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration, its value must be identical toPreTokenGenerationConfig.- Returns:
- The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN in
PreTokenGeneration, its value must be identical toPreTokenGenerationConfig.
-
customSMSSender
The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
- Returns:
- The configuration of a custom SMS sender Lambda trigger. This trigger routes all SMS notifications from a user pool to a Lambda function that delivers the message using custom logic.
-
customEmailSender
The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
- Returns:
- The configuration of a custom email sender Lambda trigger. This trigger routes all email notifications from a user pool to a Lambda function that delivers the message using custom logic.
-
kmsKeyID
The ARN of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
- Returns:
- The ARN of an KMS key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.
-
inboundFederation
The configuration of an inbound federation Lambda trigger. This trigger can transform federated user attributes during the authentication with external identity providers.
- Returns:
- The configuration of an inbound federation Lambda trigger. This trigger can transform federated user attributes during the authentication with external identity providers.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaConfigType.Builder,LambdaConfigType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-