Skip to content

Commit a385eb3

Browse files
committed
pattern import changes
1 parent 39531ba commit a385eb3

14 files changed

Lines changed: 28 additions & 694 deletions

File tree

apigw-python-cdk-lambda-snapstart/apigw-python-cdk-lambda-snapstart.json

Lines changed: 0 additions & 101 deletions
This file was deleted.

apigw-python-cdk-lambda-snapstart/example-pattern.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"title": "API Gateway with Lambda SnapStart and DynamoDB using Python CDK",
2+
"title": "Integrate AWS Lambda SnapStart function with Amazon API Gateway",
33
"description": "This pattern demonstrates how to create a REST API using API Gateway, AWS Lambda with SnapStart, and DynamoDB. Built with Python 3.12 and AWS CDK, it implements Lambda SnapStart to improve initialization performance for faster cold starts.",
44
"language": "Python",
55
"level": "200",
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "hello_world",
3-
"version": "1.0.0",
4-
"description": "hello world sample for NodeJS",
5-
"main": "app.js",
6-
"repository": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-rest-api-lambda-node",
7-
"author": "SAM CLI",
8-
"license": "MIT",
9-
"dependencies": {
10-
"axios": ">=1.12.2"
11-
},
12-
"devDependencies": {
13-
"chai": "^6.0.1",
14-
"mocha": "^11.7.2"
15-
}
2+
"name": "hello_world",
3+
"version": "1.0.0",
4+
"description": "hello world sample for NodeJS",
5+
"main": "app.js",
6+
"repository": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-rest-api-lambda-node",
7+
"author": "SAM CLI",
8+
"license": "MIT",
9+
"dependencies": {
10+
"axios": ">=1.13.5"
11+
},
12+
"devDependencies": {
13+
"chai": "^6.0.1",
14+
"mocha": "^11.7.2"
1615
}
16+
}

custom-http-headers-to-sqs-message-attributes-using-http-api-gateway/custom-http-headers-to-sqs-message-attributes-using-http-api-gateway.json

Lines changed: 0 additions & 70 deletions
This file was deleted.

custom-http-headers-to-sqs-message-attributes-using-http-api-gateway/example-pattern.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"title": "Amazon API Gateway (HTTP) to Amazon Simple Queue Service (SQS) for passing custom http headers as message attributes.",
2+
"title": "Send customer headers from Amazon API Gateway to Amazon SQS",
33
"description": "Amazon API Gateway (HTTP) to Amazon Simple Queue Service (SQS) for passing custom http headers as message attributes.",
44
"level": "300",
5-
"framework": "AWS Serverless Application Model",
5+
"framework": "AWS SAM",
66
"introBox": {
77
"headline": "How it works",
88
"text": [

lambda-ddb-tenant-isolation-terraform/example-pattern.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"headline": "How it works",
99
"text": [
1010
"This solution works by exposing two API Gateway endpoints, /standard and /isolated, each backed by a separate Lambda function. When a request hits the /standard endpoint, the Lambda function increments a single shared counter row in DynamoDB, meaning all tenants read and write the same value. When a request hits the /isolated endpoint with an x-tenant-id header, API Gateway maps the header to the Lambda execution context, ensuring a dedicated execution environment per tenant, and the Lambda function increments a tenant-specific counter row in DynamoDB, keeping each tenant's data completely separate."
11-
1211
]
1312
},
1413
"gitHub": {
@@ -52,4 +51,4 @@
5251
"linkedin": "archanavenkat"
5352
}
5453
]
55-
}
54+
}

lambda-ddb-tenant-isolation-terraform/lambda-ddb-tenant-isolation-terraform.json

Lines changed: 0 additions & 101 deletions
This file was deleted.

0 commit comments

Comments
 (0)