Interface CfnUserPool.LambdaConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnUserPool.LambdaConfigProperty.Jsii$Proxy
- Enclosing class:
CfnUserPool
@Stability(Stable)
public static interface CfnUserPool.LambdaConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the configuration for AWS Lambda triggers.
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") .userMigration("userMigration") .verifyAuthChallengeResponse("verifyAuthChallengeResponse") .build();
-
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
Creates an authentication challenge.default Object
A custom email sender AWS Lambda trigger.default String
A custom Message AWS Lambda trigger.default Object
A custom SMS sender AWS Lambda trigger.default String
Defines the authentication challenge.default String
The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key.default String
A post-authentication AWS Lambda trigger.default String
A post-confirmation AWS Lambda trigger.default String
A pre-authentication AWS Lambda trigger.default String
A pre-registration AWS Lambda trigger.default String
A Lambda trigger that is invoked before token generation.default String
The user migration Lambda config type.default String
Verifies the authentication challenge response.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCreateAuthChallenge
Creates an authentication challenge. -
getCustomEmailSender
A custom email sender AWS Lambda trigger. -
getCustomMessage
A custom Message AWS Lambda trigger. -
getCustomSmsSender
A custom SMS sender AWS Lambda trigger. -
getDefineAuthChallenge
Defines the authentication challenge. -
getKmsKeyId
The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key.Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSender
andCustomSMSSender
. -
getPostAuthentication
A post-authentication AWS Lambda trigger. -
getPostConfirmation
A post-confirmation AWS Lambda trigger. -
getPreAuthentication
A pre-authentication AWS Lambda trigger. -
getPreSignUp
A pre-registration AWS Lambda trigger. -
getPreTokenGeneration
A Lambda trigger that is invoked before token generation. -
getUserMigration
The user migration Lambda config type. -
getVerifyAuthChallengeResponse
Verifies the authentication challenge response. -
builder
-