DEV Community

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

Collapse
 
andthensumm profile image
Matt Marks 🐣

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