When this becomes useful
A new customer or teammate needs access, but your application must keep their work separate from everyone else’s. The useful starting point is one that shows where identity enters the request and where access is checked.
What the template offers
Cognito protected HTTP API is a AWS CDK pattern from AWS Serverless Patterns. It offers a concrete implementation to inspect and adapt. Shows identity at an HTTP API boundary. Extend the application with organization membership and permissions checks.
Technical shape
Inspect the Cognito authorizer on the HTTP API and the claims passed to Lambda. Product permissions still need a separate check.
Questions worth answering
- Where does customer or tenant identity come from?
- Which actions need a server-side permission check?
- How are sessions and access revoked?
Inspect the source
Read the maintainer's README, license, setup instructions and current repository state before adapting the code.
Open AWS Serverless PatternsCapabilities to plan next
A deployable pattern is one piece of the product. These guides cover behavior and decisions around it.