Skip to content

Commit f1ab1ca

Browse files
authored
Add final pattern file
1 parent 383ed74 commit f1ab1ca

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"title": "Amazon API Gateway to AWS AppSync to Amazon DynamoDB ",
3+
"description": "Create an Amazon API Gateway HTTP API as a proxy to AWS AppSync GraphQL API with Amazon DynamoDB as the API data source",
4+
"language": "YAML",
5+
"level": "200",
6+
"framework": "SAM",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"This patterns creates Amazon API Gateway HTTP API which is used as a proxy to AWS AppSync GraphQL API with Amazon DynamoDB as the data source.",
11+
"To demonstrate the pattern, we have built a simple Restaurant API where users can add, delete, update, get and list restaurants. All requests to the API Gateway endpoint is sent to the AppSync API endpoint where the request is fulfilled.",
12+
"This implementation will support all GraphQL queries and mutations defined in the AppSync API GraphQL schema however will not support subscriptions"
13+
]
14+
},
15+
"gitHub": {
16+
"template": {
17+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-appsync-dynamodb-sam",
18+
"templateURL": "serverless-patterns/apigw-appsync-dynamodb-sam",
19+
"projectFolder": "apigw-appsync-dynamodb-sam",
20+
"templateFile": "template.yaml"
21+
}
22+
},
23+
"resources": {
24+
"bullets": [
25+
{
26+
"text": "API Gateway documentation:",
27+
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html"
28+
},
29+
{
30+
"text": "AppSync documentation:",
31+
"link": "https://docs.aws.amazon.com/appsync/latest/devguide/what-is-appsync.html"
32+
},
33+
{
34+
"text": "DynamoDB documentation:",
35+
"link": "https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Introduction.html"
36+
}
37+
]
38+
},
39+
"deploy": {
40+
"text": [
41+
"sam deploy --guided"
42+
]
43+
},
44+
"testing": {
45+
"text": [
46+
"See the GitHub repo for detailed testing instructions."
47+
]
48+
},
49+
"cleanup": {
50+
"text": [
51+
"Delete the stack: <code>sam delete</code>."
52+
]
53+
},
54+
"authors": [
55+
{
56+
"name": "Ozioma Uzoegwu",
57+
"image": "./Ouzoegwu.jpeg",
58+
"bio": "I am a Principal Solutions Architect working at AWS",
59+
"linkedin": "ouzoegwu",
60+
"twitter": "iam_tessot"
61+
}
62+
],
63+
"patternArch": {
64+
"icon1": {
65+
"x": 20,
66+
"y": 50,
67+
"service": "apigw",
68+
"label": "Amazon API Gateway"
69+
},
70+
"icon2": {
71+
"x": 50,
72+
"y": 50,
73+
"service": "appsync",
74+
"label": "AWS AppSync"
75+
},
76+
"icon3": {
77+
"x": 80,
78+
"y": 50,
79+
"service": "dynamodb",
80+
"label": "Amazon DynamoDB"
81+
},
82+
"line1": {
83+
"from": "icon1",
84+
"to": "icon2",
85+
"label": ""
86+
},
87+
"line2": {
88+
"from": "icon2",
89+
"to": "icon3",
90+
"label": ""
91+
}
92+
}
93+
}

0 commit comments

Comments
 (0)