aws-cdk-lib.aws_glue.CfnTrigger.ConditionProperty

interface ConditionProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnTrigger.ConditionProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTrigger_ConditionProperty
Javasoftware.amazon.awscdk.services.glue.CfnTrigger.ConditionProperty
Pythonaws_cdk.aws_glue.CfnTrigger.ConditionProperty
TypeScript 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

NameTypeDescription
crawlState?stringThe state of the crawler to which this condition applies.
crawlerName?stringThe name of the crawler to which this condition applies.
jobName?stringThe name of the job whose JobRuns this condition applies to, and on which this trigger waits.
logicalOperator?stringA logical operator.
state?stringThe 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 .