Skip to content
v2.273.0

PredicateProperty Struct ​

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

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 ​

conditionsIResolvable | IResolvable | CfnTrigger.ConditionProperty[]conditionstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConditionProperty]]]conditionsIResolvableConditionsIResolvableConditionsinterface{}#
A list of the conditions that determine when the trigger will fire.
logicalstringlogicalstrlogicalStringLogicalstringLogical*string#
An optional field if only one condition is listed.

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