public static final class CfnUserPool.LambdaConfigProperty.Builder
extends java.lang.Object
CfnUserPool.LambdaConfigProperty
Constructor and Description |
---|
Builder() |
public CfnUserPool.LambdaConfigProperty.Builder createAuthChallenge(java.lang.String createAuthChallenge)
CfnUserPool.LambdaConfigProperty.getCreateAuthChallenge()
createAuthChallenge
- Creates an authentication challenge.this
public CfnUserPool.LambdaConfigProperty.Builder customEmailSender(IResolvable customEmailSender)
CfnUserPool.LambdaConfigProperty.getCustomEmailSender()
customEmailSender
- A custom email sender AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder customEmailSender(CfnUserPool.CustomEmailSenderProperty customEmailSender)
CfnUserPool.LambdaConfigProperty.getCustomEmailSender()
customEmailSender
- A custom email sender AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder customMessage(java.lang.String customMessage)
CfnUserPool.LambdaConfigProperty.getCustomMessage()
customMessage
- A custom Message AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder customSmsSender(IResolvable customSmsSender)
CfnUserPool.LambdaConfigProperty.getCustomSmsSender()
customSmsSender
- A custom SMS sender AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder customSmsSender(CfnUserPool.CustomSMSSenderProperty customSmsSender)
CfnUserPool.LambdaConfigProperty.getCustomSmsSender()
customSmsSender
- A custom SMS sender AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder defineAuthChallenge(java.lang.String defineAuthChallenge)
CfnUserPool.LambdaConfigProperty.getDefineAuthChallenge()
defineAuthChallenge
- Defines the authentication challenge.this
public CfnUserPool.LambdaConfigProperty.Builder kmsKeyId(java.lang.String kmsKeyId)
CfnUserPool.LambdaConfigProperty.getKmsKeyId()
kmsKeyId
- 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
and CustomSMSSender
.this
public CfnUserPool.LambdaConfigProperty.Builder postAuthentication(java.lang.String postAuthentication)
CfnUserPool.LambdaConfigProperty.getPostAuthentication()
postAuthentication
- A post-authentication AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder postConfirmation(java.lang.String postConfirmation)
CfnUserPool.LambdaConfigProperty.getPostConfirmation()
postConfirmation
- A post-confirmation AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder preAuthentication(java.lang.String preAuthentication)
CfnUserPool.LambdaConfigProperty.getPreAuthentication()
preAuthentication
- A pre-authentication AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder preSignUp(java.lang.String preSignUp)
CfnUserPool.LambdaConfigProperty.getPreSignUp()
preSignUp
- A pre-registration AWS Lambda trigger.this
public CfnUserPool.LambdaConfigProperty.Builder preTokenGeneration(java.lang.String preTokenGeneration)
CfnUserPool.LambdaConfigProperty.getPreTokenGeneration()
preTokenGeneration
- A Lambda trigger that is invoked before token generation.this
public CfnUserPool.LambdaConfigProperty.Builder userMigration(java.lang.String userMigration)
CfnUserPool.LambdaConfigProperty.getUserMigration()
userMigration
- The user migration Lambda config type.this
public CfnUserPool.LambdaConfigProperty.Builder verifyAuthChallengeResponse(java.lang.String verifyAuthChallengeResponse)
CfnUserPool.LambdaConfigProperty.getVerifyAuthChallengeResponse()
verifyAuthChallengeResponse
- Verifies the authentication challenge response.this
public CfnUserPool.LambdaConfigProperty build()
CfnUserPool.LambdaConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided