Reputation: 1577
Pre Token Generation trigger: This Lambda trigger allows you to customize an identity token before it is generated: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html
I am looking for a way to configure this trigger via CloudFormation. Something like:
UserPool:
Type: AWS::Cognito::UserPool
Properties:
LambdaConfig:
# Next line does not work:
PreTokenGeneration: [lambda ARN]
I found docs for other triggers, but this one is missing. Is this a missing feature or just not documented?
Upvotes: 7
Views: 1705
Reputation: 36
https://forums.aws.amazon.com/thread.jspa?threadID=268907
It's on their roadmap but there're no news since cognito's cloudformation launch
Upvotes: 2