- AWS Administration Cookbook
- Lucas Chan Rowan Udell
- 77字
- 2021-07-09 18:18:33
Input
To generate a sample JSON object that will be accepted, run the command with the --generate-cli-skeleton option:
$ aws ec2 describe-availability-zones --generate-cli-skeleton
{
"DryRun": true,
"ZoneNames": [
""
],
"Filters": [
{
"Name": "",
"Values": [
""
]
}
]
}
You can then copy, edit, and use this object to define your command options without passing lots of individual options. It works best for commands with arrays of options or a variable number of options.