-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathexample-pattern.json
More file actions
63 lines (63 loc) · 2.37 KB
/
example-pattern.json
File metadata and controls
63 lines (63 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"title": "Lambda Managed Instances with CDK TypeScript",
"description": "Create AWS Lambda Managed Instances using AWS CDK in TypeScript.",
"language": "TypeScript",
"level": "300",
"framework": "AWS CDK",
"introBox": {
"headline": "How it works",
"text": [
"This sample project demonstrates how to create and deploy AWS Lambda Managed Instances using AWS CDK in TypeScript. Lambda Managed Instances allow you to run Lambda functions on dedicated EC2 instances for workloads that require more control over the underlying infrastructure.",
"The pattern creates all necessary infrastructure including VPC, subnets, security groups, IAM roles, and a Lambda capacity provider that manages EC2 instances. The Lambda function is configured to use the managed instances capacity provider instead of the standard serverless execution environment.",
"This pattern deploys a VPC with public and private subnets, NAT Gateway, Lambda capacity provider, Lambda function with Node.js runtime, and all required IAM roles and policies."
]
},
"gitHub": {
"template": {
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/lambda-managed-instances-cdk-ts",
"templateURL": "serverless-patterns/lambda-managed-instances-cdk-ts",
"projectFolder": "lambda-managed-instances-cdk-ts",
"templateFile": "lambda-managed-instances-stack.ts"
}
},
"resources": {
"bullets": [
{
"text": "Lambda Managed Instances Documentation",
"link": "https://docs.aws.amazon.com/lambda/latest/dg/managed-instances.html"
},
{
"text": "AWS Lambda Developer Guide",
"link": "https://docs.aws.amazon.com/lambda/latest/dg/"
},
{
"text": "AWS CDK TypeScript Reference",
"link": "https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda-readme.html"
}
]
},
"deploy": {
"text": [
"cdk deploy"
]
},
"testing": {
"text": [
"See the GitHub repo for detailed testing instructions."
]
},
"cleanup": {
"text": [
"Delete the stack: <code>cdk destroy</code>."
]
},
"authors": [
{
"name": "AWS Serverless Patterns",
"image": "https://serverlessland.com/assets/images/logos/serverless-land-logo.png",
"bio": "AWS Serverless Patterns Collection",
"linkedin": "",
"twitter": "AWSOpen"
}
]
}