Gerald
10/18/2021, 3:53 AMgio
10/18/2021, 6:31 AMthis.cognitoUserPool?.addDomain('admin-userpool-domain', {
cognitoDomain: {
domainPrefix: props.auth_domain,
},
});
gio
10/18/2021, 6:33 AMGerald
10/18/2021, 7:47 AM_new_ Auth(_this_, "Auth", {
cognito: {
triggers: {
preAuthentication: "src/preAuthentication.main",
postAuthentication: "src/postAuthentication.main",
},
},
});
to add triggers.Gerald
10/18/2021, 7:47 AM