Skip to content

Commit c50d1df

Browse files
authored
Create apigateway-sqs-receiveMessages.json
1 parent e84fe5c commit c50d1df

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"title": "APIGateway-SQS-ReceiveMessages",
3+
"description": "Create a REST API Gateway to receive Messages from SQS queue.",
4+
"language": "Python",
5+
"level": "200",
6+
"framework": "SAM",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"This serverless pattern creates an Amazon API Gateway REST API endpoint that directly integrates with Amazon Simple Queue Service (SQS) to read messages from a queue.",
11+
"Users can simply call the GET method of the invoke URL to interact with the SQS queue. The invoke URL supports query string parameters such as MaxNumberOfMessages, VisibilityTimeout, and AttributeName to customize the output.",
12+
"This pattern is particularly useful for frontend applications that need to interact with SQS via HTTPS protocol to read messages from the queue. It eliminates the need for AWS SDK integration, as requests to SQS can be made through simple HTTP calls.When implementing this pattern, please consider the AWS API Gateway and AWS SQS quotas to ensure compliance with the service limits."
13+
]
14+
},
15+
"gitHub": {
16+
"template": {
17+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/APIGateway-SQS-ReceiveMessages",
18+
"templateURL": "serverless-patterns/APIGateway-SQS-ReceiveMessages",
19+
"projectFolder": "APIGateway-SQS-ReceiveMessages",
20+
"templateFile": "template.yaml"
21+
}
22+
},
23+
"resources": {
24+
"bullets": [
25+
{
26+
"text": "Working on integration of AWS Services with API Gateway",
27+
"link": "https://repost.aws/knowledge-center/api-gateway-proxy-integrate-service"
28+
},
29+
{
30+
"text": "API Gateway Documentation",
31+
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html"
32+
},
33+
{
34+
"text": "AWS SQS Documentation",
35+
"link": "https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html"
36+
},
37+
{
38+
"text": "AWS API Gateway Quotas",
39+
"link": "https://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html"
40+
},
41+
{
42+
"text": "AWS SQS Quotas",
43+
"link": "https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-quotas.html"
44+
}
45+
]
46+
},
47+
"deploy": {
48+
"text": [
49+
"sam deploy"
50+
]
51+
},
52+
"testing": {
53+
"text": [
54+
"See the GitHub repo for detailed testing instructions."
55+
]
56+
},
57+
"cleanup": {
58+
"text": [
59+
"Delete the stack: <code>sam delete</code>"
60+
]
61+
},
62+
"authors": [
63+
{
64+
"name": "Yogesh Nain",
65+
"image": "link-to-your-photo.jpg",
66+
"bio": "Yogesh is Cloud Support Engineer and SME of Lambda, API Gateway at Amazon Web Services.",
67+
"linkedin": "yogesh-nain-a54133170"
68+
}
69+
],
70+
"patternArch": {
71+
"icon1": {
72+
"x": 20,
73+
"y": 50,
74+
"service": "apigw",
75+
"label": "API Gateway REST API"
76+
},
77+
"icon2": {
78+
"x": 80,
79+
"y": 50,
80+
"service": "sqs",
81+
"label": "Amazon SQS"
82+
},
83+
"line1": {
84+
"from": "icon1",
85+
"to": "icon2",
86+
"label": ""
87+
}
88+
}
89+
}

0 commit comments

Comments
 (0)