
I share #Serverless code and event-driven architecture using cloud-native services. Opinions are my own and no support is provided for code examples.
- Tweets72
- Following98
- Followers303
- Likes14

ALT This diagram uses a rectangle to represent a single execution environment. When your function receives its very first request (represented by the yellow circle with label 1, Lambda creates a new execution environment and runs the code outside your main handler during the Init phase. Then, Lambda runs your function's main handler code during the Invoke phase. During this entire process, this execution environment is busy and cannot process other requests. When Lambda finishes processing the first request, this execution environment can then process additional requests for the same function. For subsequent requests, Lambda doesn't need to re-initialize the environment.

ALT AWS SAM connectors provide a simple and secure method of provisioning permissions between your serverless application resources. Using connectors, you define two resources and describe how data or events should flow between those resources. AWS SAM then composes the access policies necessary to facilitate the required interactions.












