Show / Hide Table of Contents

Interface IPredicate

(experimental) Represents a trigger predicate.

Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public interface IPredicate
Syntax (vb)
Public Interface 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

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.

Properties

Conditions

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

ICondition[]? Conditions { get; }
Property Value

ICondition[]

Remarks

Default: - no conditions are provided

Stability: Experimental

Logical

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

PredicateLogical? Logical { get; }
Property Value

PredicateLogical?

Remarks

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

Stability: Experimental

Back to top Generated by DocFX