AWS::Cognito::UserPool LambdaConfig
Specifies the configuration for Amazon Lambda triggers.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "CreateAuthChallenge" :String, "CustomEmailSender" :CustomEmailSender, "CustomMessage" :String, "CustomSMSSender" :CustomSMSSender, "DefineAuthChallenge" :String, "KMSKeyID" :String, "PostAuthentication" :String, "PostConfirmation" :String, "PreAuthentication" :String, "PreSignUp" :String, "PreTokenGeneration" :String, "UserMigration" :String, "VerifyAuthChallengeResponse" :String}
YAML
CreateAuthChallenge:StringCustomEmailSender:CustomEmailSenderCustomMessage:StringCustomSMSSender:CustomSMSSenderDefineAuthChallenge:StringKMSKeyID:StringPostAuthentication:StringPostConfirmation:StringPreAuthentication:StringPreSignUp:StringPreTokenGeneration:StringUserMigration:StringVerifyAuthChallengeResponse:String
Properties
CreateAuthChallenge-
Creates an authentication challenge.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
CustomEmailSender-
A custom email sender Amazon Lambda trigger.
Required: No
Type: CustomEmailSender
Update requires: No interruption
CustomMessage-
A custom Message Amazon Lambda trigger.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
CustomSMSSender-
A custom SMS sender Amazon Lambda trigger.
Required: No
Type: CustomSMSSender
Update requires: No interruption
DefineAuthChallenge-
Defines the authentication challenge.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
KMSKeyID-
The Amazon Resource Name of a Amazon Key Management Service (Amazon KMS) key. Amazon Cognito uses the key to encrypt codes and temporary passwords sent to
CustomEmailSenderandCustomSMSSender.Required: No
Type: String
Update requires: No interruption
PostAuthentication-
A post-authentication Amazon Lambda trigger.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
PostConfirmation-
A post-confirmation Amazon Lambda trigger.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
PreAuthentication-
A pre-authentication Amazon Lambda trigger.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
PreSignUp-
A pre-registration Amazon Lambda trigger.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
PreTokenGeneration-
A Lambda trigger that is invoked before token generation.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
UserMigration-
The user migration Lambda config type.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption
VerifyAuthChallengeResponse-
Verifies the authentication challenge response.
Required: No
Type: String
Minimum:
20Maximum:
2048Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?Update requires: No interruption