interface Condition
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.Condition |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#Condition |
Java | software.amazon.awscdk.services.glue.alpha.Condition |
Python | aws_cdk.aws_glue_alpha.Condition |
TypeScript (source) | @aws-cdk/aws-glue-alpha ยป Condition |
Represents a trigger condition.
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 condition: glue_alpha.Condition = {
crawlerName: 'crawlerName',
crawlState: glue_alpha.CrawlerState.RUNNING,
job: job,
logicalOperator: glue_alpha.ConditionLogicalOperator.EQUALS,
state: glue_alpha.JobState.SUCCEEDED,
};
Properties
| Name | Type | Description |
|---|---|---|
| crawl | Crawler | The condition crawler state. |
| crawler | string | The name of the crawler to which this condition applies. |
| job? | IJob | The job to which this condition applies. |
| logical | Condition | The logical operator for the condition. |
| state? | Job | The condition job state. |
crawlState?
Type:
Crawler
(optional, default: no crawler state is specified)
The condition crawler state.
crawlerName?
Type:
string
(optional, default: no crawler is specified)
The name of the crawler to which this condition applies.
job?
Type:
IJob
(optional, default: no job is specified)
The job to which this condition applies.
logicalOperator?
Type:
Condition
(optional, default: ConditionLogicalOperator.EQUALS)
The logical operator for the condition.
state?
Type:
Job
(optional, default: no job state is specified)
The condition job state.

.NET
Go
Java
Python
TypeScript (