DEV Community

Discussion on: Enforcing attribute uniqueness in Cognito with AWS Amplify and React

Collapse
ignaciolarranaga profile image
Ignacio Larrañaga

Did you find any way to make pool id parametric?

Collapse
andthensumm profile image
Matt Marks 🐣 Author

If I'm understanding you correctly, the user pool id is automatically passed into any cognito trigger. Every trigger event will have the userPoolId field available