interface Predicate
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Predicate |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#Predicate |
Java | software.amazon.awscdk.services.glue.Predicate |
Python | aws_cdk.aws_glue.Predicate |
TypeScript (source) | aws-cdk-lib » aws_glue » Predicate |
Represents a trigger predicate.
Example
// 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';
declare const condition: glue.Condition;
const predicate: glue.Predicate = {
conditions: [condition],
logical: glue.PredicateLogical.AND,
};
Properties
| Name | Type | Description |
|---|---|---|
| conditions? | Condition[] | A list of the conditions that determine when the trigger will fire. |
| logical? | Predicate | The logical operator to be applied to the conditions. |
conditions?
Type:
Condition[]
(optional, default: no conditions are provided)
A list of the conditions that determine when the trigger will fire.
logical?
Type:
Predicate
(optional, default: PredicateLogical.AND if multiple conditions are provided, no logical operator if only one condition)
The logical operator to be applied to the conditions.

.NET
Go
Java
Python
TypeScript (