diff --git a/stacks/MyStack.ts b/stacks/MyStack.ts index 24ccf3a..fdd271a 100644 --- a/stacks/MyStack.ts +++ b/stacks/MyStack.ts @@ -9,6 +9,7 @@ export function API({ stack }: StackContext) { const api = new Api(stack, "api", { defaults: { + throttle: { burst: 5, rate: 50 }, function: { bind: [bus], },