You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,12 @@ Starting a Serverless service can be overwhelming. You need to figure out many q
66
66
67
67
This project aims to reduce cognitive load and answer these questions for you by providing a skeleton Python Serverless service template that implements best practices for AWS Lambda, Serverless CI/CD, and AWS CDK in one template project.
68
68
69
+
## Concepts
70
+
71
+
I spoke at AWS re:invent 2023 with Heitor Lessa, Chief Architect of Powertools for AWS Lambda about the concepts I implemented in this project.
72
+
73
+
[](https://www.youtube.com/watch?v=52W3Qyg242Y)
74
+
69
75
### Serverless Service - The Order service
70
76
71
77
- This project provides a working orders service where customers can create orders of items.
@@ -93,8 +99,9 @@ This project aims to reduce cognitive load and answer these questions for you by
93
99
- REST API protected by WAF with four AWS managed rules in production deployment
94
100
- CloudWatch dashboards - High level and low level including CloudWatch alarms
95
101
- Unit, infrastructure, security, integration and end to end tests.
96
-
- Automatically generated OpenAPI endpoint: /swagger with Pydnatic schemas for both requests and responses
102
+
- Automatically generated OpenAPI endpoint: /swagger with Pydantic schemas for both requests and responses
97
103
- CI swagger protection - fails the PR if your swagger JSON file (stored at docs/swagger/openapi.json) is out of date
104
+
- Automated protection against API breaking changes
98
105
99
106
100
107
## CDK Deployment
@@ -121,6 +128,7 @@ The utilities cover multiple aspect of a production-ready service, including:
121
128
-[CDK Best practices](https://github.com/ran-isenberg/aws-lambda-handler-cookbook)
-[Serverless OpenAPI Documentation with AWS Powertools](https://www.ranthebuilder.cloud/post/serverless-open-api-documentation-with-aws-powertools)
124
132
125
133
## Getting started
126
134
Head over to the complete project documentation pages at GitHub pages at [https://ran-isenberg.github.io/aws-lambda-handler-cookbook](https://ran-isenberg.github.io/aws-lambda-handler-cookbook/)
I spoke at AWS re:invent 2023 with Heitor Lessa, Chief Architect of Powertools for AWS Lambda about the concepts I implemented in this project.
37
+
38
+
<iframewidth="560"height="315"src="https://www.youtube.com/embed/52W3Qyg242Y"title="YouTube video player"frameborder="0"allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"allowfullscreen></iframe>
39
+
34
40
### **Features**
35
41
36
42
- Python Serverless service with a recommended file structure.
@@ -46,7 +52,8 @@ This project aims to reduce cognitive load and answer these questions for you by
46
52
- Idempotent API
47
53
- REST API protected by WAF with four AWS managed rules in production deployment
48
54
- Unit, infrastructure, security, integration and E2E tests.
49
-
- Automatically generated OpenAPI endpoint: /swagger with Pydnatic schemas for both requests and responses
55
+
- Automatically generated OpenAPI endpoint: /swagger with Pydantic schemas for both requests and responses
56
+
- Automated protection against API breaking changes
50
57
51
58
The GitHub template project can be found at [https://github.com/ran-isenberg/aws-lambda-handler-cookbook](https://github.com/ran-isenberg/aws-lambda-handler-cookbook){:target="_blank" rel="noopener"}.
52
59
@@ -67,6 +74,7 @@ The utilities cover multiple aspects of a production-ready service, including:
-[**Learn How to Write AWS Lambda Functions with Three Architecture Layers**](https://www.ranthebuilder.cloud/post/learn-how-to-write-aws-lambda-functions-with-architecture-layers){:target="_blank" rel="noopener"}
77
+
-[**Serverless OpenAPI Documentation with AWS Powertools**](https://www.ranthebuilder.cloud/post/serverless-open-api-documentation-with-aws-powertools){:target="_blank" rel="noopener"}
70
78
71
79
While the code examples are written in Python, the principles are valid to any supported AWS Lambda handler programming language.
0 commit comments