question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User Pool Triggers Missing

See original GitHub issue

Describe the bug Lambda trigger definitions for “Pre Token Generation” and “User Migration” are missing from the allowed values.

To Reproduce

    const pool = new cognito.UserPool(this, 'UserPool', {
      lambdaTriggers: {
        preTokenGeneration: handler,
      }
    });

Expected behavior Ability to define preTokenGeneration and userMigration triggers.

Version: @aws-cdk/aws-cognito@0.31.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
cbeattie-bsmcommented, Aug 10, 2019

CloudFormation added support for both of these triggers on August 5th.

2reactions
NGL321commented, Jul 15, 2019

In an effort to have better visibility of Cfn support gaps, we are going to keep these open, so I am going to reopen this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrate user Lambda trigger - Amazon Cognito
To migrate users from your existing user directory into Amazon Cognito user pools at sign-in, or during the forgot-password flow, use this Lambda...
Read more >
AWS Cognito Lambda Trigger user attributes example
Attributes Requirement Any attributes marked as required when you created your user pool If any required attributes are missing during the ...
Read more >
Creating the CustomSMS Trigger in AWS Cognito using lambda
The aws doc provide a sufficient information to create the custom trigger but some generic details were missing, due to which i decided...
Read more >
Pre Signup Validation on AWS Cognito - Kelvin Mwinuka
Subscribe to my newsletter and never miss my upcoming articles. Subscribe. Play this article ... Enter Cognito user pool triggers.
Read more >
Send AWS Cognito emails with 3rd party ESPs
We need to set the LambdaConfig setting of the User Pool. It is an object storing configuration of Lambda triggers invoked by Cognito....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found