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

Property Name

Property Code

Required

Description

AWS Cloud Account

FDAWS_ACCOUNT_CODE

No

AWS cloud account Name.

AWS CLI Path

FDAWS_CLI_PATH

No

The path to the directory where AWS CLI is installed.

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Code Snippet

FDCLOUD_CLI_INP_CODE_SNIPPET

Yes

The command/script that is to be executed

AWS Cloud Account

FDAWS_INP_ACCOUNT_CODE

No

AWS cloud account Name.

CLI Type

FDAWS_INP_CLI_TYPE

No

Select CLI Type ex: Shell,WindowsShell,PowerShell

Use PowerShell 6+

FDAWS_INP_POWERSHELL6_OR_ABOVE

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

FDCLOUD_CLI_INP_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

FDCLOUD_CLI_INP_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.

The following macros are not currently supported in the footer:
  • style