[{"data":1,"prerenderedAt":63},["ShallowReactive",2],{"workflow-redshift-serverless-unload":3},{"id":4,"title":5,"cleanup":6,"contributors":10,"deploy":12,"description":15,"diagram":16,"extension":17,"framework":18,"gitHub":19,"introBox":28,"level":36,"meta":37,"resources":38,"s3URL":50,"services":51,"simplicity":54,"stem":55,"testing":56,"type":60,"usecase":61,"videoId":27,"__hash__":62},"workflows\u002Fworkflows\u002Fredshift-serverless-unload.json","Redshift Serverless UNLOAD",{"headline":7,"text":8},"Cleanup",[9],"1. Delete the stack: \u003Ccode>npx cdk destroy\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fpascal-vogel.json",{"text":13},[14],"npx cdk deploy","Execute an UNLOAD query on Amazon Redshift Serverless","\u002Fassets\u002Fimages\u002Fworkflows\u002Fredshift-serverless-unload.png","json","AWS CDK",{"template":20,"payloads":25},{"repoURL":21,"templateDir":22,"templateFile":23,"ASL":24},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fstep-functions-workflows-collection\u002Ftree\u002Fmain\u002Fredshift-serverless-unload\u002F","redshift-serverless-unload\u002Flib","lib\u002Fredshift-serverless-unload-stack.ts","statemachine\u002Fstatemachine.asl.json",[26],{"headline":27,"payloadURL":27},"",{"headline":29,"text":30},"How it works",[31,32,33,34,35],"This workflow executes an UNLOAD query on Amazon Redshift Serverless via the Amazon Redshift Data API and stores the results in an Amazon S3 bucket.","As input, this workflow expects the name of a Redshift Serverless workgroup, database, and the query to be executed.","As output, this workflow provides a list of objects in S3 that contain the query results data.","The Redshift UNLOAD command unloads the result of a query to one or more text, JSON, or Apache Parquet files on Amazon S3, using Amazon S3 server-side encryption (SSE-S3).","Learn more about the UNLOAD command in the Amazon Redshift Database Developer Guide (see resources).","100",{},{"headline":39,"bullets":40},"Additional resources",[41,44,47],{"text":42,"link":43},"Amazon Redshift UNLOAD command","https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fdg\u002Fr_UNLOAD.html",{"text":45,"link":46},"Amazon Redshift Data API","https:\u002F\u002Fdocs.aws.amazon.com\u002Fredshift\u002Flatest\u002Fmgmt\u002Fdata-api.html",{"text":48,"link":49},"The AWS Step Functions Workshop","https:\u002F\u002Fcatalog.workshops.aws\u002Fstepfunctions\u002Fen-US",null,[52,53],"redshift","s3","2 - Pattern","workflows\u002Fredshift-serverless-unload",{"headline":57,"text":58},"Testing",[59],"See the GitHub repo for detailed testing instructions.","Standard","Data Processing","sUNJAmJV7lAdz8spm33rYZ7_voeC9E5G1GQB8qIsi74",1781087774390]