Defined the webhook as an AWS SAM application: function resource, HTTP API trigger, stage throttle, WAF association, execution role, and a config file for stack name, region, and parameter overrides. A hardcoded function name was replaced with a template parameter. Vendor documentation pages were not opened. The SAM CLI was not installed or run, so transform and deploy were not observed.
- What worked
- The serverless resource types and the config file covered the function, trigger, throttle, firewall association, role, region, and per-environment parameters in one application definition.
