UserPoolLambdaConfig

data class UserPoolLambdaConfig(val createAuthChallenge: String? = null, val customEmailSender: UserPoolCustomEmailSender? = null, val customMessage: String? = null, val customSmsSender: UserPoolCustomSmsSender? = null, val defineAuthChallenge: String? = null, val kmsKeyId: String? = null, val postAuthentication: String? = null, val postConfirmation: String? = null, val preAuthentication: String? = null, val preSignUp: String? = null, val preTokenGeneration: String? = null, val preTokenGenerationConfig: UserPoolPreTokenGenerationConfig? = null, val userMigration: String? = null, val verifyAuthChallengeResponse: String? = null)

Constructors

Link copied to clipboard
constructor(createAuthChallenge: String? = null, customEmailSender: UserPoolCustomEmailSender? = null, customMessage: String? = null, customSmsSender: UserPoolCustomSmsSender? = null, defineAuthChallenge: String? = null, kmsKeyId: String? = null, postAuthentication: String? = null, postConfirmation: String? = null, preAuthentication: String? = null, preSignUp: String? = null, preTokenGeneration: String? = null, preTokenGenerationConfig: UserPoolPreTokenGenerationConfig? = null, userMigration: String? = null, verifyAuthChallengeResponse: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Creates an authentication challenge.

Link copied to clipboard

A custom email sender AWS Lambda trigger.

Link copied to clipboard
val customMessage: String? = null

A custom Message AWS Lambda trigger.

Link copied to clipboard

A custom SMS sender AWS Lambda trigger.

Link copied to clipboard

Defines the authentication challenge.

Link copied to clipboard
val kmsKeyId: String? = null

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 .

Link copied to clipboard

A post-authentication AWS Lambda trigger.

Link copied to clipboard

A post-confirmation AWS Lambda trigger.

Link copied to clipboard

A pre-authentication AWS Lambda trigger.

Link copied to clipboard
val preSignUp: String? = null

A pre-registration AWS Lambda trigger.

Link copied to clipboard

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 to PreTokenGeneration . For new instances of pre token generation triggers, set the LambdaArn of PreTokenGenerationConfig . You can set ``

Link copied to clipboard

The detailed configuration of a pre token generation trigger. If you also set an ARN in PreTokenGeneration , its value must be identical to PreTokenGenerationConfig .

Link copied to clipboard
val userMigration: String? = null

The user migration Lambda config type.

Link copied to clipboard

Verifies the authentication challenge response.