EventTriggerOptions

class aws_cdk.aws_glue_alpha.EventTriggerOptions(*, actions, description=None, name=None, event_batching_condition=None)

Bases: TriggerOptions

(experimental) Properties for configuring an Event Bridge based Glue Trigger.

Parameters:
  • actions (Sequence[Action]) – (experimental) The actions initiated by this trigger.

  • description (Optional[str]) – (experimental) A description for the trigger. Default: - no description

  • name (Optional[str]) – (experimental) A name for the trigger. Default: - no name is provided

  • event_batching_condition (Union[EventBatchingCondition, Dict[str, Any], None]) – (experimental) Batch condition for the trigger. Default: - no batch condition

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_glue_alpha as glue_alpha
import aws_cdk as cdk

# action: glue_alpha.Action

event_trigger_options = glue_alpha.EventTriggerOptions(
    actions=[action],

    # the properties below are optional
    description="description",
    event_batching_condition=glue_alpha.EventBatchingCondition(
        batch_size=123,

        # the properties below are optional
        batch_window=cdk.Duration.minutes(30)
    ),
    name="name"
)

Attributes

actions

(experimental) The actions initiated by this trigger.

Stability:

experimental

description

(experimental) A description for the trigger.

Default:
  • no description

Stability:

experimental

event_batching_condition

(experimental) Batch condition for the trigger.

Default:
  • no batch condition

Stability:

experimental

name

(experimental) A name for the trigger.

Default:
  • no name is provided

Stability:

experimental