

# ExecCapability

Requests permission to run a host command.

## Contents
<a name="API_ExecCapability_Contents"></a>

 ** command **   <a name="systemsmanagercloudextensions-Type-ExecCapability-command"></a>
The command to run.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 512.  
Required: Yes

 ** args **   <a name="systemsmanagercloudextensions-Type-ExecCapability-args"></a>
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 **   <a name="systemsmanagercloudextensions-Type-ExecCapability-timeoutInSeconds"></a>
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
<a name="API_ExecCapability_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/cloudextensions-2026-11-29/ExecCapability) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/cloudextensions-2026-11-29/ExecCapability) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/cloudextensions-2026-11-29/ExecCapability) 