Skip to content

Commit 6711c83

Browse files
authored
Create apigw-lambda-sns.json
1 parent 4868e58 commit 6711c83

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"title": "Amazon API Gateway REST API to Lambda to SNS",
3+
"description": "Integration of Amazon API Gateway REST API with Amazon Lambda to publish to Amazon SNS with enhanced monitoring",
4+
"language": "Python",
5+
"level": "200",
6+
"framework": "AWS SAM",
7+
"introBox": {
8+
"headline": "How it works",
9+
"text": [
10+
"This sample project demonstrates how to publish to a SNS Topic whenever the REST API is invoked using Lambda function.",
11+
"This pattern deploys a Amazon API Gateway REST API with Lambda Function integration and SNS Topic with enhanced monitoring features including CloudWatch Alarms, X-Ray tracing, and Synthetics Canary."
12+
]
13+
},
14+
"gitHub": {
15+
"template": {
16+
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/apigw-lambda-sns",
17+
"templateURL": "serverless-patterns/apigw-lambda-sns",
18+
"projectFolder": "apigw-lambda-sns",
19+
"templateFile": "template.yaml"
20+
}
21+
},
22+
"resources": {
23+
"bullets": [
24+
{
25+
"text": "Choosing between messaging services for serverless applications.",
26+
"link": "https://aws.amazon.com/blogs/compute/choosing-between-messaging-services-for-serverless-applications/"
27+
},
28+
{
29+
"text": "Publishing Messages in Amazon SNS",
30+
"link": "https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns.html#topic"
31+
},
32+
{
33+
"text": "AWS X-Ray Distributed Tracing",
34+
"link": "https://docs.aws.amazon.com/xray/latest/devguide/aws-xray.html"
35+
},
36+
{
37+
"text": "Amazon CloudWatch Synthetics",
38+
"link": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html"
39+
}
40+
]
41+
},
42+
"deploy": {
43+
"text": [
44+
"sam deploy"
45+
]
46+
},
47+
"testing": {
48+
"text": [
49+
"See the GitHub repo for detailed testing instructions."
50+
]
51+
},
52+
"cleanup": {
53+
"text": [
54+
"Delete the stack: <code>sam delete</code>.",
55+
"Manually delete the S3 bucket created for Synthetics artifacts after deleting the CloudFormation stack."
56+
]
57+
},
58+
"authors": [
59+
{
60+
"name": "Sanskar",
61+
"image": "https://drive.google.com/file/d/1dP8XHHevaOC-eEKOq6Gty75ZBZ428KHT/view?usp=sharing",
62+
"bio": "Sanskar is a Serverless Cloud Engineer at Amazon Web Services and is based in India. Sanskar has avid interest in microservices and serverless patterns.",
63+
"linkedin": "sanskar05"
64+
}
65+
]
66+
}

0 commit comments

Comments
 (0)