Skip to content

Commit 73bffc3

Browse files
authored
Add final pattern file
1 parent a2b934d commit 73bffc3

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"title": "Hello World on AWS Lambda Managed Instances",
3+
"description": "Deploy a simple Hello World AWS Lambda function on Lambda Managed Instances using AWS CDK",
4+
"language": "TypeScript",
5+
"level": "200",
6+
"framework": "AWS CDK",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"This pattern demonstrates how to deploy a simple Hello World AWS Lambda function running on AWS Lambda Managed Instances using AWS CDK.",
11+
"AWS Lambda Managed Instances enables you to run Lambda functions on EC2 instances while maintaining Lambda's operational simplicity. It fully manages infrastructure tasks including instance lifecycle, OS and runtime patching, routing, load balancing, and auto scaling.",
12+
"The Hello World function accepts an event with a name parameter and returns a simple JSON response with a greeting message."
13+
]
14+
},
15+
"gitHub": {
16+
"template": {
17+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/lambda-managed-instances-cdk",
18+
"templateURL": "serverless-patterns/lambda-managed-instances-cdk",
19+
"projectFolder": "lambda-managed-instances-cdk",
20+
"templateFile": "lib/demo-stack.ts"
21+
}
22+
},
23+
"resources": {
24+
"bullets": [
25+
{
26+
"text": "AWS Lambda Managed Instances documentation",
27+
"link": "https://docs.aws.amazon.com/lambda/latest/dg/lambda-managed-instances.html"
28+
},
29+
{
30+
"text": "AWS Lambda Pricing (supported instance types)",
31+
"link": "https://aws.amazon.com/lambda/pricing/"
32+
},
33+
{
34+
"text": "AWS Lambda Developer Guide",
35+
"link": "https://docs.aws.amazon.com/lambda/latest/dg/"
36+
},
37+
{
38+
"text": "AWS CDK Developer Guide",
39+
"link": "https://docs.aws.amazon.com/cdk/latest/guide/"
40+
}
41+
]
42+
},
43+
"deploy": {
44+
"text": [
45+
"npm install",
46+
"cdk deploy"
47+
]
48+
},
49+
"testing": {
50+
"text": [
51+
"See the GitHub repo for detailed testing instructions."
52+
]
53+
},
54+
"cleanup": {
55+
"text": [
56+
"Delete the stack: <code>cdk destroy</code>."
57+
]
58+
},
59+
"authors": [
60+
{
61+
"name": "Dmitry Gulin",
62+
"bio": "Senior Delivery Consultant, AWS.",
63+
"linkedin": "dmitry-gulin"
64+
}
65+
],
66+
"patternArch": {
67+
"icon1": {
68+
"x": 50,
69+
"y": 50,
70+
"service": "lambda",
71+
"label": "AWS Lambda Managed Instance"
72+
}
73+
}
74+
}

0 commit comments

Comments
 (0)