Skip to main content

Run AWS CLI Script

Executes an Amazon Web Services (AWS) CLI script.

Installed version: 2.13.26.

note

If there's an error in a command in the middle of the script and the last command succeeds, the entire action will succeed, not revealing that some command may have failed.

Parameters

ParameterDescription
CommandA single AWS command or a batch of AWS commands executed as a script.
If no Region is specified, and the requested service supports Regions,
AWS routes the request to us-east-1 by default.
To route the request to a different region, use the Region parameter or the --region flag.
RegionRegion for aws command.
If no Region is specified, and the requested service supports Regions,
AWS routes the request to us-east-1 by default.