Skip to content

Commit 5472a05

Browse files
actions-userAlex Wang
authored andcommitted
chore: update SAM template
1 parent 3d07266 commit 5472a05

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

packages/aws-durable-execution-sdk-python-examples/template.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,24 @@
978978
}
979979
}
980980
},
981+
"WithRetryCallback": {
982+
"Type": "AWS::Serverless::Function",
983+
"Properties": {
984+
"CodeUri": "build/",
985+
"Handler": "with_retry_callback.handler",
986+
"Description": "Demonstrates with_retry wrapping a wait_for_callback operation with exponential backoff",
987+
"Role": {
988+
"Fn::GetAtt": [
989+
"DurableFunctionRole",
990+
"Arn"
991+
]
992+
},
993+
"DurableConfig": {
994+
"RetentionPeriodInDays": 7,
995+
"ExecutionTimeout": 300
996+
}
997+
}
998+
},
981999
"ExecutionWithPlugin": {
9821000
"Type": "AWS::Serverless::Function",
9831001
"Properties": {

0 commit comments

Comments
 (0)