Jason S
05/26/2022, 6:16 AMnotes
REST API with associated verbs. I also have a transactions
API with associated verbs. Should I create two separate modules/stacks - one for each API?Ashishkumar Pandey
05/26/2022, 7:24 AMJason S
05/26/2022, 7:36 AMexport default class ApiStack extends Stack {
constructor(scope, id, props) {
super(scope, id, props):
api1 = new Api(this,"Api1", {...});
api2 = new Api(this,"Api2", {...});
api3 = new Api(this,"Api3", {...});
}
}
Ashishkumar Pandey
05/26/2022, 7:37 AMJason S
05/26/2022, 7:37 AMnew API
?Ashishkumar Pandey
05/26/2022, 7:38 AMJason S
05/26/2022, 7:39 AMnew Api
?Ashishkumar Pandey
05/26/2022, 7:39 AMJason S
05/26/2022, 7:40 AMAshishkumar Pandey
05/26/2022, 7:40 AM