aws-cdk-lib.aws_glue.CfnTrigger.PredicateProperty

interface PredicateProperty

LanguageType name
.NETAmazon.CDK.AWS.Glue.CfnTrigger.PredicateProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTrigger_PredicateProperty
Javasoftware.amazon.awscdk.services.glue.CfnTrigger.PredicateProperty
Pythonaws_cdk.aws_glue.CfnTrigger.PredicateProperty
TypeScript aws-cdk-lib » aws_glue » CfnTrigger » PredicateProperty

Defines the predicate of the trigger, which determines when it 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 predicateProperty: glue.CfnTrigger.PredicateProperty = {
  conditions: [{
    crawlerName: 'crawlerName',
    crawlState: 'crawlState',
    jobName: 'jobName',
    logicalOperator: 'logicalOperator',
    state: 'state',
  }],
  logical: 'logical',
};

Properties

NameTypeDescription
conditions?IResolvable | IResolvable | ConditionProperty[]A list of the conditions that determine when the trigger will fire.
logical?stringAn optional field if only one condition is listed.

conditions?

Type: IResolvable | IResolvable | ConditionProperty[] (optional)

A list of the conditions that determine when the trigger will fire.


logical?

Type: string (optional)

An optional field if only one condition is listed.

If multiple conditions are listed, then this field is required.