Pavan Kumar
02/24/2022, 3:21 PMFrank
const role = new iam.Role(...);
new sst.Api(this, "Api", {
defaultFunctionProps: {
role,
},
...
});
Pavan Kumar
02/25/2022, 8:41 AMnew sst.Api(this, 'API', {
createSingleRoleForAllRoutes: true // creates superset route
}
}
Frank