interface Predicate
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.Predicate |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Predicate |
Java | software.amazon.awscdk.services.glue.alpha.Predicate |
Python | aws_cdk.aws_glue_alpha.Predicate |
TypeScript (source) | @aws-cdk/aws-glue-alpha » 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 * as glue_alpha from '@aws-cdk/aws-glue-alpha';
declare const job: glue_alpha.Job;
const predicate: glue_alpha.Predicate = {
conditions: [{
crawlerName: 'crawlerName',
crawlState: glue_alpha.CrawlerState.RUNNING,
job: job,
logicalOperator: glue_alpha.ConditionLogicalOperator.EQUALS,
state: glue_alpha.JobState.SUCCEEDED,
}],
logical: glue_alpha.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: ConditionLogical.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 (