Skip to content

Commit a073f03

Browse files
authored
Create apigw-dynamodb-python-cdk.json
1 parent f182bfc commit a073f03

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"title": "API Gateway direct integration to DynamoDB",
3+
"description": "Direct integration with API Gateway to DynamoDB with transformation using VTL and CDK and examples for Cognito, Lambda authorizer and API keys.",
4+
"language": "Python",
5+
"level": "300",
6+
"framework": "CDK",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"This pattern shows how to create an API Gateway with direct integration to DynamoDB.",
11+
"The pettern showcase transformation of request/response using VTL and CDK and implement examples for using Cognito, Lambda authorizer and API keys."
12+
]
13+
},
14+
"gitHub": {
15+
"template": {
16+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-dynamodb-python-cdk",
17+
"templateURL": "serverless-patterns/apigw-dynamodb-python-cdk",
18+
"projectFolder": "apigw-dynamodb-python-cdk",
19+
"templateFile": "apigw_dynamodb_python_cdk_stack.py"
20+
}
21+
},
22+
"resources": {
23+
"bullets": [
24+
{
25+
"text": "API Gateway Integrations",
26+
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-integration-settings.html"
27+
}
28+
]
29+
},
30+
"deploy": {
31+
"text": [
32+
"cdk deploy"
33+
]
34+
},
35+
"testing": {
36+
"text": [
37+
"See the GitHub repo for detailed testing instructions."
38+
]
39+
},
40+
"cleanup": {
41+
"text": [
42+
"Delete the stack: <code>cdk delete</code>."
43+
]
44+
},
45+
"authors": [
46+
{
47+
"name": "Maya Morav Freiman",
48+
"image": "https://avatars.githubusercontent.com/u/11615439?v=4",
49+
"bio": "Technical Account Manager at AWS",
50+
"linkedin": "mayaaws"
51+
}
52+
],
53+
"patternArch": {
54+
"icon1": {
55+
"x": 20,
56+
"y": 50,
57+
"service": "apigw",
58+
"label": "API Gateway REST API"
59+
},
60+
"icon2": {
61+
"x": 80,
62+
"y": 50,
63+
"service": "dynamodb",
64+
"label": "Amazon DynamoDB"
65+
},
66+
"line1": {
67+
"from": "icon1",
68+
"to": "icon2"
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)