interface ConditionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Glue.CfnTrigger.ConditionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTrigger_ConditionProperty |
![]() | software.amazon.awscdk.services.glue.CfnTrigger.ConditionProperty |
![]() | aws_cdk.aws_glue.CfnTrigger.ConditionProperty |
![]() | aws-cdk-lib » aws_glue » CfnTrigger » ConditionProperty |
Defines a condition under which a trigger fires.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const conditionProperty: glue.CfnTrigger.ConditionProperty = {
crawlerName: 'crawlerName',
crawlState: 'crawlState',
jobName: 'jobName',
logicalOperator: 'logicalOperator',
state: 'state',
};
Properties
Name | Type | Description |
---|---|---|
crawl | string | The state of the crawler to which this condition applies. |
crawler | string | The name of the crawler to which this condition applies. |
job | string | The name of the job whose JobRuns this condition applies to, and on which this trigger waits. |
logical | string | A logical operator. |
state? | string | The condition state. |
crawlState?
Type:
string
(optional)
The state of the crawler to which this condition applies.
crawlerName?
Type:
string
(optional)
The name of the crawler to which this condition applies.
jobName?
Type:
string
(optional)
The name of the job whose JobRuns
this condition applies to, and on which this trigger waits.
logicalOperator?
Type:
string
(optional)
A logical operator.
state?
Type:
string
(optional)
The condition state.
Currently, the values supported are SUCCEEDED
, STOPPED
, TIMEOUT
, and FAILED
.