Skip to content
v2.274.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 glue_alpha from '@aws-cdk/aws-glue-alpha';
import * as cdk from 'aws-cdk-lib';

declare const action: glue_alpha.Action;
const eventTriggerOptions: glue_alpha.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#
A description for the trigger.

Default: no description

eventBatchingConditionEventBatchingConditionevent_batching_conditionEventBatchingConditioneventBatchingConditionEventBatchingConditionEventBatchingConditionEventBatchingConditionEventBatchingConditionEventBatchingCondition#
Batch condition for the trigger.

Default: no batch condition

namestringnamestrnameStringNamestringName*string#
A name for the trigger.

Default: no name is provided