Skip to content
v2.273.0

EventTriggerOptions Struct ​

Properties for configuring an Event Bridge 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 cdk from 'aws-cdk-lib';
import { aws_glue as glue } from 'aws-cdk-lib';

declare const action: glue.Action;
const eventTriggerOptions: glue.EventTriggerOptions = {
  actions: [action],

  // the properties below are optional
  description: 'description',
  eventBatchingCondition: {
    batchSize: 123,

    // the properties below are optional
    batchWindow: cdk.Duration.minutes(30),
  },
  name: 'name',
};

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.
eventBatchingConditionEventBatchingConditionevent_batching_conditionEventBatchingConditioneventBatchingConditionEventBatchingConditionEventBatchingConditionEventBatchingConditionEventBatchingConditionEventBatchingCondition= no batch condition#
Batch condition for the trigger.
namestringnamestrnameStringNamestringName*string= no name is provided#
A name for the trigger.