File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -518,6 +518,31 @@ Resources:
518518 DockerContext : ../
519519 DockerTag : durable-examples
520520
521+ WaitForConditionExampleFunction :
522+ Type : AWS::Serverless::Function
523+ Properties :
524+ PackageType : Image
525+ FunctionName : !Join
526+ - ' '
527+ - - 'wait-for-condition-example'
528+ - !Ref FunctionNameSuffix
529+ ImageConfig :
530+ Command : ["software.amazon.lambda.durable.examples.WaitForConditionExample::handleRequest"]
531+ DurableConfig :
532+ ExecutionTimeout : 300
533+ RetentionPeriodInDays : 7
534+ Policies :
535+ - Statement :
536+ - Effect : Allow
537+ Action :
538+ - lambda:CheckpointDurableExecutions
539+ - lambda:GetDurableExecutionState
540+ Resource : !Sub "arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:wait-for-condition-example${FunctionNameSuffix}"
541+ Metadata :
542+ Dockerfile : !Ref DockerFile
543+ DockerContext : ../
544+ DockerTag : durable-examples
545+
521546Outputs :
522547 NoopExampleFunction :
523548 Description : Noop Example Function ARN
@@ -679,3 +704,11 @@ Outputs:
679704 Description : Complex Map Example Function Name
680705 Value : !Ref ComplexMapExampleFunction
681706
707+ WaitForConditionExampleFunction :
708+ Description : Wait For Condition Example Function ARN
709+ Value : !GetAtt WaitForConditionExampleFunction.Arn
710+
711+ WaitForConditionExampleFunctionName :
712+ Description : Wait For Condition Example Function Name
713+ Value : !Ref WaitForConditionExampleFunction
714+
You can’t perform that action at this time.
0 commit comments