My Cloudformation template.yml
correctly instantiates a Cognito userpool like the next one:
UserPool:
Type: "AWS::Cognito::UserPool"
Properties:
UserPoolName: auth-template-user-pool
UsernameAttributes:
- email
AutoVerifiedAttributes:
- email
VerificationMessageTemplate:
DefaultEmailOption: CONFIRM_WITH_CODE
EmailConfiguration:
EmailSendingAccount: COGNITO_DEFAULT
LambdaConfig:
KMSKeyID: !GetAtt KMSKey.Arn
CustomEmailSender:
LambdaArn: !GetAtt CustomEmailSender.Arn
LambdaVersion: "V1_0"
In particular, I want to focus on the LambdaConfig property that explicits the use of a certain KMSKey to encode/decode the CONFIRM CODEs sent in the CustomEmailSender AWS Lambda.
What I want to achieve, is to obtain the exact same results, that is: to set the equivalent correct values for the LambdaConfig
you see above, but using the AWS Cognito console (no cli). Documentation is no help in doing this, and I am not able to find anything useful in the cloud console.