Interface CfnUserPool.LambdaConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.LambdaConfigProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
Amazon Cognito invokes triggers at several possible stages of user pool operations. Triggers can modify the outcome of the operations that invoked them.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool , and a response parameter of DescribeUserPool .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.cognito.*; LambdaConfigProperty lambdaConfigProperty = LambdaConfigProperty.builder() .createAuthChallenge("createAuthChallenge") .customEmailSender(CustomEmailSenderProperty.builder() .lambdaArn("lambdaArn") .lambdaVersion("lambdaVersion") .build()) .customMessage("customMessage") .customSmsSender(CustomSMSSenderProperty.builder() .lambdaArn("lambdaArn") .lambdaVersion("lambdaVersion") .build()) .defineAuthChallenge("defineAuthChallenge") .kmsKeyId("kmsKeyId") .postAuthentication("postAuthentication") .postConfirmation("postConfirmation") .preAuthentication("preAuthentication") .preSignUp("preSignUp") .preTokenGeneration("preTokenGeneration") .preTokenGenerationConfig(PreTokenGenerationConfigProperty.builder() .lambdaArn("lambdaArn") .lambdaVersion("lambdaVersion") .build()) .userMigration("userMigration") .verifyAuthChallengeResponse("verifyAuthChallengeResponse") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnUserPool.LambdaConfigProperty
static final class
An implementation forCfnUserPool.LambdaConfigProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .default Object
The configuration of a custom email sender Lambda trigger.default String
A custom message Lambda trigger.default Object
The configuration of a custom SMS sender Lambda trigger.default String
The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .default String
The ARN of an KMS key .default String
The configuration of a post authentication Lambda trigger in a user pool.default String
The configuration of a post confirmation Lambda trigger in a user pool.default String
The configuration of a pre authentication trigger in a user pool.default String
The configuration of a pre sign-up Lambda trigger in a user pool.default String
The legacy configuration of a pre token generation Lambda trigger in a user pool.default Object
The detailed configuration of a pre token generation Lambda trigger in a user pool.default String
The configuration of a migrate user Lambda trigger in a user pool.default String
The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreateAuthChallenge
The configuration of a create auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .- See Also:
-
getCustomEmailSender
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.
- See Also:
-
getCustomMessage
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.
- See Also:
-
getCustomSmsSender
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.
- See Also:
-
getDefineAuthChallenge
The configuration of a define auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .- See Also:
-
getKmsKeyId
The ARN of an KMS key . Amazon Cognito uses the key to encrypt codes and temporary passwords sent to custom sender Lambda triggers.- See Also:
-
getPostAuthentication
The configuration of a post authentication Lambda trigger in a user pool. This trigger can take custom actions after a user signs in.- See Also:
-
getPostConfirmation
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.- See Also:
-
getPreAuthentication
The configuration of a pre authentication trigger in a user pool. This trigger can evaluate and modify user sign-in events.- See Also:
-
getPreSignUp
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.- See Also:
-
getPreTokenGeneration
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 theLambdaArn
ofPreTokenGenerationConfig
.- See Also:
-
getPreTokenGenerationConfig
The detailed configuration of a pre token generation Lambda trigger in a user pool. If you also set an ARN inPreTokenGeneration
, its value must be identical toPreTokenGenerationConfig
.- See Also:
-
getUserMigration
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.- See Also:
-
getVerifyAuthChallengeResponse
The configuration of a verify auth challenge Lambda trigger, one of three triggers in the sequence of the custom authentication challenge triggers .- See Also:
-
builder
-