# ConditionProperty

The condition that causes the trigger to fire.

- Source: Generated code
- Type last changed: v2.268.0 · 2 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_devopsagent as devopsagent } from 'aws-cdk-lib';
const conditionProperty: devopsagent.CfnTrigger.ConditionProperty = {
  schedule: {
    expression: 'expression',
  },
};
```

## Properties

- `schedule`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnTrigger.ScheduleProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_devopsagent.CfnTrigger.ScheduleProperty.html) (required) — Schedule configuration for a time-based trigger.
