AWS::Chatbot::CustomAction> AWS Chatbot is now . [Learn more](https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html) > > `Type` attribute values remain unchanged.
import { CfnCustomAction } from 'aws-cdk-lib/aws-chatbot';Or use the module namespace:
import * as chatbot from 'aws-cdk-lib/aws-chatbot';
// chatbot.CfnCustomActionConfiguration passed to the constructor as CfnCustomActionProps.
actionNameRequiredstringThe name of the custom action. This name is included in the Amazon Resource Name (ARN).
definitionRequiredIResolvable | CustomActionDefinitionPropertyThe definition of the command to run when invoked as an alias or as an action button.
aliasNameOptionalstringThe name used to invoke this action in a chat channel. For example, `@Amazon Q run my-alias` .
attachmentsOptionalIResolvable | IResolvable | CustomActionAttachmentProperty[]Defines when this custom action button should be attached to a notification.
tagsOptionalCfnTag[]The tags to add to the configuration.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-chatbotAWS::Chatbot::CustomAction