# CustomActionAttachmentCriteriaProperty

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

A criteria for when a button should be shown based on values in the notification.

- Source: Generated code
- Type last changed: v2.172.0 · 7 Dec 2024

## 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

- `operator`: string (required) — The operation to perform on the named variable.

- `value`: string — A value that is compared with the actual value of the variable based on the behavior of the operator.

- `variableName`: string (required) — The name of the variable to operate on.
