[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"pattern-sfn-athena-glue-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":15,"extension":16,"framework":17,"gitHub":18,"highlight":6,"introBox":24,"language":30,"level":31,"meta":32,"patternArch":33,"resources":59,"s3URL":6,"services":6,"stem":67,"testing":68,"videoId":6,"__hash__":71},"patterns\u002Fpatterns\u002Fsfn-athena-glue-sam.json","Using AWS Step Functions to query Amazon Athena Amazon S3 data",null,{"text":8},[9],"Delete the stack: \u003Ccode>same delete\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fabhishek-agawane.json",{"text":13},[14],"sam deploy --guided","Using Step Functions to query Athena S3 data.","json","AWS SAM",{"template":19},{"repoURL":20,"templateURL":21,"projectFolder":22,"templateFile":23},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fstep-functions-athena-glue-sam","serverless-patterns\u002Fstep-functions-athena-glue-sam","step-functions-athena-glue-sam","template.yml",{"headline":25,"text":26},"How it works:",[27,28,29],"This serverless pattern uses Amazon Athena allows to analyze data in Amazon S3 using standard SQL.","A Glue crawler creates a database table from the S3 data which is queried by Athena.","Step Functionsis leveraged to query as well as process each result in this data received from Athena with the help of **NextToken**.","Python","200",{},{"icon1":34,"icon2":39,"icon3":43,"icon4":47,"line1":51,"line2":55,"line3":57},{"x":35,"y":36,"service":37,"label":38},20,50,"sfn","AWS Step Functions",{"x":40,"y":36,"service":41,"label":42},40,"athena","Amazon Athena",{"x":44,"y":36,"service":45,"label":46},60,"glue","AWS Glue",{"x":48,"y":36,"service":49,"label":50},80,"s3","Amazon S3",{"from":52,"to":53,"label":54},"icon1","icon2","",{"from":53,"to":56,"label":54},"icon3",{"from":56,"to":58,"label":54},"icon4",{"bullets":60},[61,64],{"text":62,"link":63},"Tutorial: Step Functions to Athena connection","https:\u002F\u002Fdocs.aws.amazon.com\u002Fstep-functions\u002Flatest\u002Fdg\u002Fconnect-athena.html",{"text":65,"link":66},"Using AWS Glue to connect to data sources in Amazon S3","https:\u002F\u002Fdocs.aws.amazon.com\u002Fathena\u002Flatest\u002Fug\u002Fdata-sources-glue.html","patterns\u002Fsfn-athena-glue-sam",{"text":69},[70],"See the GitHub repo for detailed testing instructions.","hJJTkBkU-fnmn-kQtbjo-Dnfam1tcdCUEl2RF-mAy14",1778846887746]