Created
February 12, 2020 16:32
-
-
Save oelesinsc24/f2c77bc9b696c5b295b333ba4ad3006f to your computer and use it in GitHub Desktop.
Revisions
-
oelesinsc24 created this gist
Feb 12, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ ## We poll for the processing Job at intervals get_processing_job_status = LambdaStep( state_id="GetDataProcessingJob", parameters={ "FunctionName": "arn:aws:lambda:eu-west-1:961618251897:function:GetProcessingJobStatus", #replace with the name of the function you created "Payload": { "JobName": create_processing_job_step.output()['Payload']['JobName'] } } ) check_job_wait_state = Wait( state_id="Wait", seconds=60 )