interface PredicateProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnTrigger.PredicateProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnTrigger_PredicateProperty |
Java | software.amazon.awscdk.services.glue.CfnTrigger.PredicateProperty |
Python | aws_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
Name | Type | Description |
---|---|---|
conditions? | IResolvable | IResolvable | Condition [] | A list of the conditions that determine when the trigger will fire. |
logical? | string | An optional field if only one condition is listed. |
conditions?
Type:
IResolvable
|
IResolvable
|
Condition
[]
(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.