ConditionalTriggerOptions Struct
Properties for configuring a Condition (Predicate) based Glue Trigger.
Example
ts
// 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';
declare const action: glue.Action;
declare const condition: glue.Condition;
const conditionalTriggerOptions: glue.ConditionalTriggerOptions = {
actions: [action],
predicate: {
conditions: [condition],
logical: glue.PredicateLogical.AND,
},
// the properties below are optional
description: 'description',
name: 'name',
startOnCreation: false,
};
Properties
actionsAction[]actionstyping.List[Action]actionsList<Action>ActionsAction[]Actions*[]Actionrequired#The actions initiated by this trigger.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string= no description#A description for the trigger.
A name for the trigger.
The predicate for the trigger.
startOnCreationbooleanstart_on_creationboolstartOnCreationBooleanStartOnCreationboolStartOnCreation*bool= false#Whether to start the trigger on creation or not.