executeAWSCommand
Run the AWS command/script, we can select the type of CLI from the drop-down. Available options are Shell, PowerShell, and WindowsShell. The default CLI type is Shell.
Target PropertiesÂ
Property Name | Property Code | Required | Description |
---|---|---|---|
AWS Cloud Account |
| No | AWS cloud account Name. |
AWS CLI Path |
| No | The path to the directory where AWS CLI is installed. |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Code Snippet |
| Yes | The command/script that is to be executed |
AWS Cloud Account |
| No | AWS cloud account Name. |
CLI Type |
| No | Select CLI Type ex: Shell,WindowsShell,PowerShell |
Use PowerShell 6+ |
| No | Check If you want to execute the PowerShell script on PowerShell 6+. If it is unchecked then it will execute on PowerShell 1-5. |
Restrict Environment |
| No | Provide comma-separated instance codes to restrict environment variables in shell to specified instance codes. If no value is provided all properties are available to shell environment. Â |
No Secure Variables |
| No | Check if you do not want to pass secure/encrypted properties in shell environment. Â Â |
Artifacts
This operation may produce or consume any artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the target.
Endpoint Execution
This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
- style