|
3 | 3 | "description": "Approval workflow that pauses execution while waiting for human decisions, with automatic timeout handling and callback-based resumption", |
4 | 4 | "language": "Python", |
5 | 5 | "level": "300", |
6 | | - "framework": "SAM", |
7 | | - "services": { |
8 | | - "from": "apigateway", |
9 | | - "to": "lambda" |
10 | | - }, |
| 6 | + "framework": "AWS SAM", |
11 | 7 | "introBox": { |
12 | 8 | "headline": "How it works", |
13 | 9 | "text": [ |
|
20 | 16 | }, |
21 | 17 | "gitHub": { |
22 | 18 | "template": { |
23 | | - "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/lambda-durable-hitl-approval-sam", |
24 | | - "templateURL": "serverless-patterns/lambda-durable-hitl-approval-sam", |
25 | | - "projectFolder": "lambda-durable-hitl-approval-sam", |
26 | | - "templateFile": "lambda-durable-hitl-approval-sam/template.yaml" |
| 19 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/lambda-durable-human-approval-sam", |
| 20 | + "templateURL": "serverless-patterns/lambda-durable-human-approval-sam", |
| 21 | + "projectFolder": "lambda-durable-human-approval-sam", |
| 22 | + "templateFile": "template.yaml" |
27 | 23 | } |
28 | 24 | }, |
29 | 25 | "resources": { |
|
51 | 47 | }, |
52 | 48 | "testing": { |
53 | 49 | "text": [ |
54 | | - "See README.md for comprehensive testing instructions including:", |
55 | | - "- Creating approval requests", |
56 | | - "- Submitting approval decisions", |
57 | | - "- Testing timeout behavior", |
58 | | - "- Monitoring durable executions" |
| 50 | + "See the GitHub repo for detailed testing instructions." |
59 | 51 | ] |
60 | 52 | }, |
61 | 53 | "cleanup": { |
62 | 54 | "text": [ |
63 | | - "sam delete --region us-east-2" |
| 55 | + "Delete the stack: <code>sam delete --region us-east-2</code>." |
64 | 56 | ] |
65 | 57 | }, |
66 | | - "patternArch": { |
67 | | - "icon1": { |
68 | | - "x": 20, |
69 | | - "y": 50, |
70 | | - "service": "apigateway", |
71 | | - "label": "API Gateway" |
72 | | - }, |
73 | | - "icon2": { |
74 | | - "x": 50, |
75 | | - "y": 50, |
76 | | - "service": "lambda", |
77 | | - "label": "Durable Approval Function" |
78 | | - }, |
79 | | - "icon3": { |
80 | | - "x": 80, |
81 | | - "y": 30, |
82 | | - "service": "dynamodb", |
83 | | - "label": "DynamoDB" |
84 | | - }, |
85 | | - "icon4": { |
86 | | - "x": 80, |
87 | | - "y": 70, |
88 | | - "service": "sns", |
89 | | - "label": "SNS" |
90 | | - }, |
91 | | - "line1": { |
92 | | - "from": "icon1", |
93 | | - "to": "icon2" |
94 | | - }, |
95 | | - "line2": { |
96 | | - "from": "icon2", |
97 | | - "to": "icon3" |
98 | | - }, |
99 | | - "line3": { |
100 | | - "from": "icon2", |
101 | | - "to": "icon4" |
102 | | - } |
103 | | - }, |
104 | 58 | "authors": [ |
105 | 59 | { |
106 | 60 | "name": "Abhishek Agawane", |
|
0 commit comments