Show / Hide Table of Contents

Class Predicate

(experimental) Represents a trigger predicate.

Inheritance
object
Predicate
Implements
IPredicate
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class Predicate : IPredicate
Syntax (vb)
Public Class Predicate Implements IPredicate
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Glue.Alpha;

             Job job;

             var predicate = new Predicate {
                 Conditions = new [] { new Condition {
                     CrawlerName = "crawlerName",
                     CrawlState = CrawlerState.RUNNING,
                     Job = job,
                     LogicalOperator = ConditionLogicalOperator.EQUALS,
                     State = JobState.SUCCEEDED
                 } },
                 Logical = PredicateLogical.AND
             };

Synopsis

Constructors

Predicate()

(experimental) Represents a trigger predicate.

Properties

Conditions

(experimental) A list of the conditions that determine when the trigger will fire.

Logical

(experimental) The logical operator to be applied to the conditions.

Constructors

Predicate()

(experimental) Represents a trigger predicate.

public Predicate()
Remarks

Stability: Experimental

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Glue.Alpha;

             Job job;

             var predicate = new Predicate {
                 Conditions = new [] { new Condition {
                     CrawlerName = "crawlerName",
                     CrawlState = CrawlerState.RUNNING,
                     Job = job,
                     LogicalOperator = ConditionLogicalOperator.EQUALS,
                     State = JobState.SUCCEEDED
                 } },
                 Logical = PredicateLogical.AND
             };

Properties

Conditions

(experimental) A list of the conditions that determine when the trigger will fire.

public ICondition[]? Conditions { get; set; }
Property Value

ICondition[]

Remarks

Default: - no conditions are provided

Stability: Experimental

Logical

(experimental) The logical operator to be applied to the conditions.

public PredicateLogical? Logical { get; set; }
Property Value

PredicateLogical?

Remarks

Default: - ConditionLogical.AND if multiple conditions are provided, no logical operator if only one condition

Stability: Experimental

Implements

IPredicate
Back to top Generated by DocFX