interface ConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Glue.Mixins.CfnTriggerPropsMixin.ConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsglue/mixins#CfnTriggerPropsMixin_ConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnTriggerPropsMixin.ConditionProperty |
Python | aws_cdk.mixins_preview.aws_glue.mixins.CfnTriggerPropsMixin.ConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_glue » mixins » CfnTriggerPropsMixin » 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 { mixins as glue_mixins } from '@aws-cdk/mixins-preview/aws-glue';
const conditionProperty: glue_mixins.CfnTriggerPropsMixin.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 .

.NET
Go
Java
Python
TypeScript