CustomActionAttachmentCriteriaProperty Struct
AWS Chatbot is now . Learn more > >
Typeattribute values remain unchanged.
A criteria for when a button should be shown based on values in the notification.
Example
ts
// 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 customActionAttachmentCriteriaProperty: chatbot.CfnCustomAction.CustomActionAttachmentCriteriaProperty = {
operator: 'operator',
variableName: 'variableName',
// the properties below are optional
value: 'value',
};
Properties
The operation to perform on the named variable.
A value that is compared with the actual value of the variable based on the behavior of the operator.
The name of the variable to operate on.