interface CfnCustomActionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Chatbot.Mixins.CfnCustomActionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awschatbot/mixins#CfnCustomActionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.chatbot.mixins.CfnCustomActionMixinProps |
Python | aws_cdk.mixins_preview.aws_chatbot.mixins.CfnCustomActionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_chatbot » mixins » CfnCustomActionMixinProps |
Properties for CfnCustomActionPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-chatbot-customaction.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as chatbot_mixins } from '@aws-cdk/mixins-preview/aws-chatbot';
const cfnCustomActionMixinProps: chatbot_mixins.CfnCustomActionMixinProps = {
actionName: 'actionName',
aliasName: 'aliasName',
attachments: [{
buttonText: 'buttonText',
criteria: [{
operator: 'operator',
value: 'value',
variableName: 'variableName',
}],
notificationType: 'notificationType',
variables: {
variablesKey: 'variables',
},
}],
definition: {
commandText: 'commandText',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| action | string | The name of the custom action. |
| alias | string | The name used to invoke this action in a chat channel. |
| attachments? | IResolvable | (IResolvable | Custom)[] | Defines when this custom action button should be attached to a notification. |
| definition? | IResolvable | Custom | The definition of the command to run when invoked as an alias or as an action button. |
| tags? | Cfn[] | The tags to add to the configuration. |
actionName?
Type:
string
(optional)
The name of the custom action.
This name is included in the Amazon Resource Name (ARN).
aliasName?
Type:
string
(optional)
The name used to invoke this action in a chat channel.
For example, @Amazon Q run my-alias .
attachments?
Type:
IResolvable | (IResolvable | Custom)[]
(optional)
Defines when this custom action button should be attached to a notification.
definition?
Type:
IResolvable | Custom
(optional)
The definition of the command to run when invoked as an alias or as an action button.
tags?
Type:
Cfn[]
(optional)
The tags to add to the configuration.

.NET
Go
Java
Python
TypeScript