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 * as glue_alpha from '@aws-cdk/aws-glue-alpha';
declare const action: glue_alpha.Action;
declare const condition: glue_alpha.Condition;
const conditionalTriggerOptions: glue_alpha.ConditionalTriggerOptions = {
actions: [action],
predicate: {
conditions: [condition],
logical: glue_alpha.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.