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
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
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.default Object
The detailed configuration of a pre token generation trigger.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.- 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
CustomEmailSender
andCustomSMSSender
.- 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 theLambdaArn
ofPreTokenGenerationConfig
.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
-