Created
October 26, 2019 22:36
-
-
Save cicdw/b7540ea606ae20957a521a3feec474c9 to your computer and use it in GitHub Desktop.
Revisions
-
cicdw created this gist
Oct 26, 2019 .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,9 @@ # if you wish to pass information about the triggering event as a parameter, # simply add that to the inputs dictionary under the parameters key, # whose value should be a dictionary of PARAMETER_NAME -> PARAMETER_VALUE # pass the full event inputs['parameters'] = dict(event=event) # or just the bucket name inputs['parameters'] = dict(bucket_name=event['Records'][0]['s3']['bucket']['name'])