Repository navigation
Expand file tree
/
Copy pathexample-pattern.json
More file actions
54 lines (54 loc) · 1.76 KB
/
Copy pathexample-pattern.json
File metadata and controls
54 lines (54 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"title": "AWS Lambda to AWS Lambda",
"description": "Create Lambda function that asychronously sends invocation results to another Lambda function.",
"language": "Node.js",
"level": "200",
"framework": "AWS SAM",
"introBox": {
"headline": "How it works",
"text": [
"This template deploys Lambda function that aynchronously sends its invocation results to another Lambda function. In this example, Lambda event destinations is used to send the invocation results on failure.",
"The event destination section of the <code>AWS::Serverless::Function</code> also sets up the required permissions for downstream Lambda invocatipon to invoke a specific function."
],
"test": ""
},
"gitHub": {
"template": {
"templateFile": "template.yaml"
}
},
"resources": {
"headline": "Additional resources",
"bullets": [
{
"text": "Introducing AWS Lambda Destinations",
"link": "https://aws.amazon.com/blogs/compute/introducing-aws-lambda-destinations/"
},
{
"text": "Controls for Managing Events in Serverless Applications - AWS Online Tech Talks",
"link": "https://www.youtube.com/watch?v=rMXQGKAiBqI"
}
]
},
"deploy": {
"text": [
"sam deploy --guided"
]
},
"testing": {
"headline": "Testing",
"text": [
"See the GitHub repo for detailed testing instructions."
]
},
"cleanup": {
"headline": "Cleanup",
"text": [
"1. Delete the stack: <code>sam delete --stack-name STACK_NAME</code>.",
"2. Confirm the stack has been deleted: <code>aws cloudformation list-stacks --query \"StackSummaries[?contains(StackName,'STACK_NAME')].StackStatus\"</code>"
]
},
"contributors": [
"content/contributors/benjamin-smith.json"
]
}