Roger Rajaratnam
03/05/2021, 12:04 PMSeth Geoghegan
03/05/2021, 5:31 PMFrank
Frank
sst.Auth
so you can configure the User Pool however you wantFrank
Frank
removalPolicy
and any other User Pool properties in v0.12.0 like this:
new Auth(this, "Auth", {
cognito: {
userPool: {
removalPolicy: cdk.RemovalPolicy.DESTROY,
},
},
});
There is a small breaking change to the Auth construct. You can read about how to upgrade here - https://docs.serverless-stack.com/constructs/Auth#upgrading-to-v0120