# PredicateProperty

Defines the predicate of the trigger, which determines when it fires.

- Source: Generated code
- Type last changed: v2.93.0 · 23 Aug 2023

## 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';
const predicateProperty: glue.CfnTrigger.PredicateProperty = {
  conditions: [{
    crawlerName: 'crawlerName',
    crawlState: 'crawlState',
    jobName: 'jobName',
    logicalOperator: 'logicalOperator',
    state: 'state',
  }],
  logical: 'logical',
};
```

## Properties

- `conditions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTrigger.ConditionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_glue.CfnTrigger.ConditionProperty.html)[] — A list of the conditions that determine when the trigger will fire.

- `logical`: string — An optional field if only one condition is listed.

  If multiple conditions are listed, then this field is required.
