Luke Wyman
07/15/2021, 7:47 PMcustomAttributes
in for a Cognito UserPool? I've looked through all documentation, but I can't make heads or tails of how to implement ICustomAttribute
.
const auth = new sst.Auth(this, 'Auth', {
cognito: {
userPool: {
signInAliases: { email: true },
removalPolicy: RemovalPolicy.DESTROY,
customAttributes: {
FirstName: { ??? WHAT GOES HERE ??? }
}
},
triggers: {
preSignUp: 'src/triggers/preSignup.handler',
postConfirmation: 'src/triggers/postConfirmation.handler',
preAuthentication: 'src/triggers/preAuthentication.handler',
postAuthentication: 'src/triggers/postAuthentication.handler',
},
},
});
geekmidas
07/16/2021, 11:04 AMLuke Wyman
07/17/2021, 11:46 PM