Predicate
- class aws_cdk.aws_glue_alpha.Predicate(*, conditions=None, logical=None)
Bases:
object(experimental) Represents a trigger predicate.
- Parameters:
conditions (
Optional[Sequence[Condition]]) – (experimental) A list of the conditions that determine when the trigger will fire. Default: - no conditions are providedlogical (
Optional[PredicateLogical]) – (experimental) The logical operator to be applied to the conditions. Default: - PredicateLogical.AND if multiple conditions are provided, no logical operator if only one condition
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_glue_alpha as glue_alpha # condition: glue_alpha.Condition predicate = glue_alpha.Predicate( conditions=[condition], logical=glue_alpha.PredicateLogical.AND )
Attributes
- conditions
(experimental) A list of the conditions that determine when the trigger will fire.
- Default:
no conditions are provided
- Stability:
experimental
- logical
(experimental) The logical operator to be applied to the conditions.
- Default:
PredicateLogical.AND if multiple conditions are provided, no logical operator if only one condition
- Stability:
experimental