[{"data":1,"prerenderedAt":30},["ShallowReactive",2],{"snippet-aws-cli-get-cloudformation-stacks":3},{"id":4,"title":5,"contributors":6,"description":8,"extension":9,"gitHub":10,"introBox":13,"languages":17,"meta":19,"resources":20,"services":21,"snippets":23,"stem":26,"tags":27,"type":18,"__hash__":29},"snippets\u002Fsnippets\u002Faws-cli-get-cloudformation-stacks.json","List CloudFormation Stacks",[7],"content\u002Fcontributors\u002Fpaul-johnston.json","An AWS CLI command to list all CloudFormation Stacks and a query to show how to only show StackId and StackName","json",{"template":11},{"repoURL":12},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-snippets\u002Ftree\u002Fmain\u002Faws-cli-get-cloudformation-stacks",{"headline":14,"text":15},"How it works",[16],"An AWS CLI command that retrieves all the stacks from CloudFormation and outputs them. The optional query parameter limits the output of the command so that only the StackIs and the StackName are returned.",[18],"AWS CLI",{},null,[22],"cloudformation",[24],{"language":18,"code":25},"aws cloudformation list-stacks\r\nor\r\naws cloudformation list-stacks  --query \"StackSummaries[*].{StackId: StackId, StackName: StackName}\"","snippets\u002Faws-cli-get-cloudformation-stacks",[28],"Debugging","OWS8izQf0lrxXv29YzBr-6wVCIEekU5YbvsOj-Qcwbs",1792665262609]