Aws-cdk: User Pool Triggers Missing

Created on 8 May 2019  路  6Comments  路  Source: aws/aws-cdk

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/[email protected]

@aws-cdaws-cloudformation @aws-cdaws-cognito feature-request needs-cfn

Most helpful comment

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

All 6 comments

This is quite an omission, we are facing the same problem too.

Unfortunately it seems that it is missing from CloudFormation: https://forums.aws.amazon.com/thread.jspa?threadID=268907

@electrified is correct - those features are not supported by CloudFormation, and hence cannot be supported by the CDK, unfortunately.

This is quite an omission, we are facing the same problem too.

Unfortunately it seems that it is missing from CloudFormation: https://forums.aws.amazon.com/thread.jspa?threadID=268907

@electrified Thanks for linking the forum post. Yes, I have passed this along to the Cloudformation and Cognito groups. Until those are added to cloudformation there is nothing we can do to add that functionality.

Thank you for bringing this back to our attention!
I'm going to close this issue for now. Once those features are added to Cfn, I will reopen this as a feature request.

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.

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

not well understood

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mirazmamun picture mirazmamun  路  3Comments

sudoforge picture sudoforge  路  3Comments

pepastach picture pepastach  路  3Comments

kawamoto picture kawamoto  路  3Comments

eladb picture eladb  路  3Comments