Class Condition
(experimental) Represents a trigger condition.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Glue.Alpha
Assembly: Amazon.CDK.AWS.Glue.Alpha.dll
Syntax (csharp)
public class Condition : ICondition
Syntax (vb)
Public Class Condition Implements ICondition
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 condition = new Condition {
CrawlerName = "crawlerName",
CrawlState = CrawlerState.RUNNING,
Job = job,
LogicalOperator = ConditionLogicalOperator.EQUALS,
State = JobState.SUCCEEDED
};
Synopsis
Constructors
| Condition() | (experimental) Represents a trigger condition. |
Properties
| CrawlState | (experimental) The condition crawler state. |
| CrawlerName | (experimental) The name of the crawler to which this condition applies. |
| Job | (experimental) The job to which this condition applies. |
| LogicalOperator | (experimental) The logical operator for the condition. |
| State | (experimental) The condition job state. |
Constructors
Condition()
(experimental) Represents a trigger condition.
public Condition()
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 condition = new Condition {
CrawlerName = "crawlerName",
CrawlState = CrawlerState.RUNNING,
Job = job,
LogicalOperator = ConditionLogicalOperator.EQUALS,
State = JobState.SUCCEEDED
};
Properties
CrawlState
(experimental) The condition crawler state.
public CrawlerState? CrawlState { get; set; }
Property Value
Remarks
Default: - no crawler state is specified
Stability: Experimental
CrawlerName
(experimental) The name of the crawler to which this condition applies.
public string? CrawlerName { get; set; }
Property Value
Remarks
Default: - no crawler is specified
Stability: Experimental
Job
(experimental) The job to which this condition applies.
public IJob? Job { get; set; }
Property Value
Remarks
Default: - no job is specified
Stability: Experimental
LogicalOperator
(experimental) The logical operator for the condition.
public ConditionLogicalOperator? LogicalOperator { get; set; }
Property Value
Remarks
Default: ConditionLogicalOperator.EQUALS
Stability: Experimental
State
(experimental) The condition job state.
public JobState? State { get; set; }
Property Value
Remarks
Default: - no job state is specified
Stability: Experimental