Skip to content
v2.274.0

StartableTriggerOptions Struct ​

Base options for triggers that can be started when they are created.

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 startableTriggerOptions: glue.StartableTriggerOptions = {
  actions: [action],

  // 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#
A description for the trigger.

Default: no description

namestringnamestrnameStringNamestringName*string#
A name for the trigger.

Default: no name is provided

startOnCreationbooleanstart_on_creationboolstartOnCreationBooleanStartOnCreationboolStartOnCreation*bool= false#
Whether to start the trigger on creation or not.