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