Skip to content
v2.274.0

TriggerOptions Struct ​

Properties for configuring a 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;
const triggerOptions: glue.TriggerOptions = {
  actions: [action],

  // the properties below are optional
  description: 'description',
  name: 'name',
};

Properties ​

actionsAction[]actionstyping.List[Action]actionsList<Action>ActionsAction[]Actions*[]Actionrequired#
The actions initiated by this trigger.
descriptionstringdescriptionstrdescriptionStringDescriptionstringDescription*string#
A description for the trigger.

Default: no description

namestringnamestrnameStringNamestringName*string#
A name for the trigger.

Default: no name is provided