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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnUserPool.LambdaConfigPropertystatic final classAn implementation forCfnUserPool.LambdaConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringCreates an authentication challenge.default ObjectA custom email sender AWS Lambda trigger.default StringA custom Message AWS Lambda trigger.default ObjectA custom SMS sender AWS Lambda trigger.default StringDefines the authentication challenge.default StringThe Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key.default StringA post-authentication AWS Lambda trigger.default StringA post-confirmation AWS Lambda trigger.default StringA pre-authentication AWS Lambda trigger.default StringA pre-registration AWS Lambda trigger.default StringA Lambda trigger that is invoked before token generation.default StringThe user migration Lambda config type.default StringVerifies 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
CustomEmailSenderandCustomSMSSender. -
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
-