

# CustomActionDefinition


The definition of the command to run when invoked as an alias or as an action button.

## Contents


 ** CommandText **   <a name="qdevinchatapps-Type-CustomActionDefinition-CommandText"></a>
The command string to run which may include variables by prefixing with a dollar sign (\$1).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 100.  
Pattern: `[\S\s]+`   
Required: Yes

## See Also


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