public static interface CfnUserPool.LambdaConfigProperty
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();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnUserPool.LambdaConfigProperty.Builder
A builder for
CfnUserPool.LambdaConfigProperty |
static class |
CfnUserPool.LambdaConfigProperty.Jsii$Proxy
An implementation for
CfnUserPool.LambdaConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnUserPool.LambdaConfigProperty.Builder |
builder() |
default java.lang.String |
getCreateAuthChallenge()
Creates an authentication challenge.
|
default java.lang.Object |
getCustomEmailSender()
A custom email sender AWS Lambda trigger.
|
default java.lang.String |
getCustomMessage()
A custom Message AWS Lambda trigger.
|
default java.lang.Object |
getCustomSmsSender()
A custom SMS sender AWS Lambda trigger.
|
default java.lang.String |
getDefineAuthChallenge()
Defines the authentication challenge.
|
default java.lang.String |
getKmsKeyId()
The Amazon Resource Name of a AWS Key Management Service ( AWS KMS ) key.
|
default java.lang.String |
getPostAuthentication()
A post-authentication AWS Lambda trigger.
|
default java.lang.String |
getPostConfirmation()
A post-confirmation AWS Lambda trigger.
|
default java.lang.String |
getPreAuthentication()
A pre-authentication AWS Lambda trigger.
|
default java.lang.String |
getPreSignUp()
A pre-registration AWS Lambda trigger.
|
default java.lang.String |
getPreTokenGeneration()
A Lambda trigger that is invoked before token generation.
|
default java.lang.String |
getUserMigration()
The user migration Lambda config type.
|
default java.lang.String |
getVerifyAuthChallengeResponse()
Verifies the authentication challenge response.
|
default java.lang.String getCreateAuthChallenge()
default java.lang.Object getCustomEmailSender()
default java.lang.String getCustomMessage()
default java.lang.Object getCustomSmsSender()
default java.lang.String getDefineAuthChallenge()
default java.lang.String getKmsKeyId()
Amazon Cognito uses the key to encrypt codes and temporary passwords sent to CustomEmailSender
and CustomSMSSender
.
default java.lang.String getPostAuthentication()
default java.lang.String getPostConfirmation()
default java.lang.String getPreAuthentication()
default java.lang.String getPreSignUp()
default java.lang.String getPreTokenGeneration()
default java.lang.String getUserMigration()
default java.lang.String getVerifyAuthChallengeResponse()
static CfnUserPool.LambdaConfigProperty.Builder builder()