Interface UserPoolTriggers
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
UserPoolTriggers.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-01-25T00:20:53.095Z")
@Stability(Stable)
public interface UserPoolTriggers
extends software.amazon.jsii.JsiiSerializable
Triggers for a user pool.
Example:
Function authChallengeFn = Function.Builder.create(this, "authChallengeFn") .runtime(Runtime.NODEJS_LATEST) .handler("index.handler") .code(Code.fromAsset(join(__dirname, "path/to/asset"))) .build(); UserPool userpool = UserPool.Builder.create(this, "myuserpool") // ... .lambdaTriggers(UserPoolTriggers.builder() .createAuthChallenge(authChallengeFn) .build()) .build(); userpool.addTrigger(UserPoolOperation.USER_MIGRATION, Function.Builder.create(this, "userMigrationFn") .runtime(Runtime.NODEJS_LATEST) .handler("index.handler") .code(Code.fromAsset(join(__dirname, "path/to/asset"))) .build());
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forUserPoolTriggers
static final class
An implementation forUserPoolTriggers
-
Method Summary
Modifier and TypeMethodDescriptionstatic UserPoolTriggers.Builder
builder()
default IFunction
Creates an authentication challenge.default IFunction
Amazon Cognito invokes this trigger to send email notifications to users.default IFunction
A custom Message AWS Lambda trigger.default IFunction
Amazon Cognito invokes this trigger to send SMS notifications to users.default IFunction
Defines the authentication challenge.default IFunction
A post-authentication AWS Lambda trigger.default IFunction
A post-confirmation AWS Lambda trigger.default IFunction
A pre-authentication AWS Lambda trigger.default IFunction
A pre-registration AWS Lambda trigger.default IFunction
A pre-token-generation AWS Lambda trigger.default IFunction
A user-migration AWS Lambda trigger.default IFunction
Verifies the authentication challenge response.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreateAuthChallenge
Creates an authentication challenge.Default: - no trigger configured
- See Also:
-
getCustomEmailSender
Amazon Cognito invokes this trigger to send email notifications to users.Default: - no trigger configured
- See Also:
-
getCustomMessage
A custom Message AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getCustomSmsSender
Amazon Cognito invokes this trigger to send SMS notifications to users.Default: - no trigger configured
- See Also:
-
getDefineAuthChallenge
Defines the authentication challenge.Default: - no trigger configured
- See Also:
-
getPostAuthentication
A post-authentication AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getPostConfirmation
A post-confirmation AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getPreAuthentication
A pre-authentication AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getPreSignUp
A pre-registration AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getPreTokenGeneration
A pre-token-generation AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getUserMigration
A user-migration AWS Lambda trigger.Default: - no trigger configured
- See Also:
-
getVerifyAuthChallengeResponse
Verifies the authentication challenge response.Default: - no trigger configured
- See Also:
-
builder
- Returns:
- a
UserPoolTriggers.Builder
ofUserPoolTriggers
-