AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::Chatbot::CustomAction

CfnCustomAction

> AWS Chatbot is now . [Learn more](https://docs.aws.amazon.com//chatbot/latest/adminguide/service-rename.html) > > `Type` attribute values remain unchanged.

Import

import { CfnCustomAction } from 'aws-cdk-lib/aws-chatbot';

Or use the module namespace:

import * as chatbot from 'aws-cdk-lib/aws-chatbot';
// chatbot.CfnCustomAction

Properties

Configuration passed to the constructor as CfnCustomActionProps.

actionNameRequired
string

The name of the custom action. This name is included in the Amazon Resource Name (ARN).

definitionRequired
IResolvable | CustomActionDefinitionProperty

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

aliasNameOptional
string

The name used to invoke this action in a chat channel. For example, `@Amazon Q run my-alias` .

attachmentsOptional
IResolvable | IResolvable | CustomActionAttachmentProperty[]

Defines when this custom action button should be attached to a notification.

tagsOptional
CfnTag[]

The tags to add to the configuration.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-chatbot
CFN TypeAWS::Chatbot::CustomAction
Properties5

External Links