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")
.preTokenGenerationConfig(PreTokenGenerationConfigProperty.builder()
.lambdaArn("lambdaArn")
.lambdaVersion("lambdaVersion")
.build())
.userMigration("userMigration")
.verifyAuthChallengeResponse("verifyAuthChallengeResponse")
.build();
- See Also:
-
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 StringThe Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.default ObjectThe detailed configuration of a pre token generation trigger.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.- See Also:
-
getCustomEmailSender
A custom email sender AWS Lambda trigger.- See Also:
-
getCustomMessage
A custom Message AWS Lambda trigger.- See Also:
-
getCustomSmsSender
A custom SMS sender AWS Lambda trigger.- See Also:
-
getDefineAuthChallenge
Defines the authentication challenge.- See Also:
-
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.- See Also:
-
getPostAuthentication
A post-authentication AWS Lambda trigger.- See Also:
-
getPostConfirmation
A post-confirmation AWS Lambda trigger.- See Also:
-
getPreAuthentication
A pre-authentication AWS Lambda trigger.- See Also:
-
getPreSignUp
A pre-registration AWS Lambda trigger.- See Also:
-
getPreTokenGeneration
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.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.You can set ``
- See Also:
-
getPreTokenGenerationConfig
The detailed configuration of a pre token generation trigger.If you also set an ARN in
PreTokenGeneration, its value must be identical toPreTokenGenerationConfig.- See Also:
-
getUserMigration
The user migration Lambda config type.- See Also:
-
getVerifyAuthChallengeResponse
Verifies the authentication challenge response.- See Also:
-
builder
-