Predicate Struct
Represents a trigger predicate.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue_alpha from '@aws-cdk/aws-glue-alpha';
declare const condition: glue_alpha.Condition;
const predicate: glue_alpha.Predicate = {
conditions: [condition],
logical: glue_alpha.PredicateLogical.AND,
};
Properties
conditionsoptionalCondition[]conditionsoptionaltyping.List[Condition]conditionsoptionalList<Condition>ConditionsoptionalCondition[]Conditionsoptional*[]Condition#A list of the conditions that determine when the trigger will fire.
Default: no conditions are provided
logicaloptionalPredicateLogicallogicaloptionalPredicateLogicallogicaloptionalPredicateLogicalLogicaloptionalPredicateLogicalLogicaloptionalPredicateLogical#The logical operator to be applied to the conditions.
Default: PredicateLogical.AND if multiple conditions are provided, no logical operator if only one condition