[{"data":1,"prerenderedAt":55},["ShallowReactive",2],{"workflow-generate-thumbnail":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":15,"diagram":16,"extension":17,"framework":18,"gitHub":19,"introBox":28,"level":32,"meta":33,"resources":34,"s3URL":40,"services":41,"simplicity":46,"stem":47,"testing":48,"type":52,"usecase":53,"videoId":27,"__hash__":54},"workflows\u002Fworkflows\u002Fgenerate-thumbnail.json","Generate Thumbnails",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>sam delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Famir-tarek.json",{"text":13},[14],"sam deploy --guided","Step Functions workflow to generate thumbnails from an image.","\u002Fassets\u002Fimages\u002Fworkflows\u002Fgenerate-thumbnail.png","json","AWS SAM",{"template":20,"payloads":25},{"repoURL":21,"templateDir":22,"templateFile":23,"ASL":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fgenerate-thumbnail\u002F","generate-thumbnail","template.yaml","statemachine\u002Fstatemachine.asl.json",[26],{"headline":27,"payloadURL":27},"",{"headline":29,"text":30},"How it works",[31],"Initiate the process by uploading images to an Amazon S3 source bucket. A workflow is then triggered by S3 events and Amazon EventBridge rules, setting in motion a Step Functions workflow. This, in turn, coordinates AWS Lambda functions to validate file type and size, ultimately producing customized thumbnails. These thumbnails are subsequently stored in an S3 bucket.","100",{},{"headline":35,"bullets":36},"Additional resources",[37],{"text":38,"link":39},"Tutorial: Using an Amazon S3 trigger to create thumbnail images","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-s3-tutorial.html",null,[42,43,44,45],"s3","sfn","lambda","eventbridge","3 - Application","workflows\u002Fgenerate-thumbnail",{"headline":49,"text":50},"Testing",[51],"See the GitHub repo for detailed testing instructions.","Standard","Data Processing","gXX9eVGuGUxuc_ycFEBfcFWJe2g0swZe8HBnYGAXVGo",1778846889157]