JobActionOptions
- class aws_cdk.aws_glue.JobActionOptions(*, arguments=None, security_configuration=None, timeout=None)
Bases:
objectOptions 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 jobsecurity_configuration (
Optional[ISecurityConfiguration]) – TheSecurityConfigurationto be used with this action. Default: - no security configuration is usedtimeout (
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
SecurityConfigurationto 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