DEV Community

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

ignaciolarranaga profile image
Ignacio Larrañaga

Did you find any way to make pool id parametric?

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