JobActionOptions

class aws_cdk.aws_glue.JobActionOptions(*, arguments=None, security_configuration=None, timeout=None)

Bases: object

Options for the execution of a job.

Parameters:
  • arguments (Optional[Mapping[str, str]]) – The arguments used when this trigger fires. Default: - no arguments are passed to the job

  • security_configuration (Optional[ISecurityConfiguration]) – The SecurityConfiguration to be used with this action. Default: - no security configuration is used

  • timeout (Optional[Duration]) – The run timeout. This is the maximum time that a run can consume resources before it is terminated and enters TIMEOUT status. Default: - the default timeout value set in the job definition

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

# security_configuration: glue.SecurityConfiguration

job_action_options = glue.JobActionOptions(
    arguments={
        "arguments_key": "arguments"
    },
    security_configuration=security_configuration,
    timeout=cdk.Duration.minutes(30)
)

Attributes

arguments

The arguments used when this trigger fires.

Default:
  • no arguments are passed to the job

security_configuration

The SecurityConfiguration to be used with this action.

Default:
  • no security configuration is used

timeout

The run timeout.

This is the maximum time that a run can consume resources before it is terminated and enters TIMEOUT status.

Default:
  • the default timeout value set in the job definition