OnDemandTriggerOptions

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

Bases: TriggerOptions

(experimental) Properties for configuring an on-demand Glue Trigger.

Parameters:
  • actions (Sequence[Union[Action, Dict[str, Any]]]) – (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

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
from aws_cdk import aws_glue as glue

# cfn_crawler: glue.CfnCrawler
# job: glue_alpha.Job
# security_configuration: glue_alpha.SecurityConfiguration

on_demand_trigger_options = glue_alpha.OnDemandTriggerOptions(
    actions=[glue_alpha.Action(
        arguments={
            "arguments_key": "arguments"
        },
        crawler=cfn_crawler,
        job=job,
        security_configuration=security_configuration,
        timeout=cdk.Duration.minutes(30)
    )],

    # the properties below are optional
    description="description",
    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

name

(experimental) A name for the trigger.

Default:
  • no name is provided

Stability:

experimental