# ConditionalTriggerOptions

Properties for configuring a Condition (Predicate) based Glue Trigger.

Extends: ConditionalTriggerOptions
Extends: StartableTriggerOptions

- Source: [`aws-glue/lib/triggers/trigger-options.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-glue/lib/triggers/trigger-options.ts#L378)
- Type last changed: v2.270.0 · 17 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';

declare const action: glue.Action;
declare const condition: glue.Condition;
const conditionalTriggerOptions: glue.ConditionalTriggerOptions = {
  actions: [action],
  predicate: {
    conditions: [condition],
    logical: glue.PredicateLogical.AND,
  },

  // the properties below are optional
  description: 'description',
  name: 'name',
  startOnCreation: false,
};
```

## Properties

- `actions`: [Action](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.Action.html)[] (required) — The actions initiated by this trigger.

- `description`: string — A description for the trigger.

  **Default:** no description

- `name`: string — A name for the trigger.

  **Default:** no name is provided

- `predicate`: [Predicate](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.Predicate.html) (required) — The predicate for the trigger.

- `startOnCreation`: boolean = false — Whether to start the trigger on creation or not.
