JobActionOptions

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

Bases: object

(experimental) Options for the execution of a job.

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

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

  • timeout (Optional[Duration]) – (experimental) 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

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

# security_configuration: glue_alpha.SecurityConfiguration

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

Attributes

arguments

(experimental) The arguments used when this trigger fires.

Default:
  • no arguments are passed to the job

Stability:

experimental

security_configuration

(experimental) The SecurityConfiguration to be used with this action.

Default:
  • no security configuration is used

Stability:

experimental

timeout

(experimental) 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

Stability:

experimental