Provide command arguments from a JSON document.
Section: Global Options, Output, and Queries
Pass structured input from JSON
bash
bash
aws ec2 run-instances --cli-input-json file://run-instances.jsonExplanation
Useful when commands have many nested parameters.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Global Options, Output, and Queries