StartableTriggerOptions

class aws_cdk.aws_glue.StartableTriggerOptions(*, actions, description=None, name=None, start_on_creation=None)

Bases: TriggerOptions

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

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

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

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

  • start_on_creation (Optional[bool]) – Whether to start the trigger on creation or not. Default: - false

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

# action: glue.Action

startable_trigger_options = glue.StartableTriggerOptions(
    actions=[action],

    # the properties below are optional
    description="description",
    name="name",
    start_on_creation=False
)

Attributes

actions

The actions initiated by this trigger.

description

A description for the trigger.

Default:
  • no description

name

A name for the trigger.

Default:
  • no name is provided

start_on_creation

Whether to start the trigger on creation or not.

Default:
  • false