interface CustomActionDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Chatbot.CfnCustomAction.CustomActionDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awschatbot#CfnCustomAction_CustomActionDefinitionProperty |
Java | software.amazon.awscdk.services.chatbot.CfnCustomAction.CustomActionDefinitionProperty |
Python | aws_cdk.aws_chatbot.CfnCustomAction.CustomActionDefinitionProperty |
TypeScript | aws-cdk-lib » aws_chatbot » CfnCustomAction » CustomActionDefinitionProperty |
AWS Chatbot is now . Learn more > >
Typeattribute values remain unchanged.
The definition of the command to run when invoked as an alias or as an action button.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_chatbot as chatbot } from 'aws-cdk-lib';
const customActionDefinitionProperty: chatbot.CfnCustomAction.CustomActionDefinitionProperty = {
commandText: 'commandText',
};
Properties
| Name | Type | Description |
|---|---|---|
| command | string | The command string to run which may include variables by prefixing with a dollar sign ($). |
commandText
Type:
string
The command string to run which may include variables by prefixing with a dollar sign ($).

.NET
Go
Java
Python
TypeScript