Skip to content

Commit ad11889

Browse files
committed
chore: update SAM template
1 parent 917e5ad commit ad11889

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
@@ -977,6 +977,24 @@
977977
"ExecutionTimeout": 300
978978
}
979979
}
980+
},
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+
}
980998
}
981999
}
9821000
}

0 commit comments

Comments
 (0)