View a markdown version of this page

ExecCapability - AWS Systems Manager Cloud Extensions

ExecCapability

Requests permission to run a host command.

Contents

command

The command to run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: Yes

args

The arguments to pass to the command. The list has 1 to 50 arguments.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 50 items.

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: No

timeoutInSeconds

The maximum time, in seconds, that the command can run before it's terminated. The valid range is 1 to 10.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 10.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: