StartableTriggerOptions

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

Bases: TriggerOptions

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

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

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

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

# action: glue_alpha.Action

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

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

Attributes

actions

(experimental) The actions initiated by this trigger.

Stability:

experimental

description

(experimental) A description for the trigger.

Default:
  • no description

Stability:

experimental

name

(experimental) A name for the trigger.

Default:
  • no name is provided

Stability:

experimental

start_on_creation

(experimental) Whether to start the trigger on creation or not.

Default:
  • false

Stability:

experimental