We recommend new projects start with resources from the AWS provider.
aws-native.glue.Job
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Glue::Job
Create Job Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Job(name: string, args: JobArgs, opts?: CustomResourceOptions);
@overload
def Job(resource_name: str,
args: JobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Job(resource_name: str,
opts: Optional[ResourceOptions] = None,
role: Optional[str] = None,
command: Optional[JobCommandArgs] = None,
log_uri: Optional[str] = None,
max_retries: Optional[float] = None,
description: Optional[str] = None,
execution_class: Optional[str] = None,
execution_property: Optional[JobExecutionPropertyArgs] = None,
glue_version: Optional[str] = None,
job_mode: Optional[str] = None,
job_run_queuing_enabled: Optional[bool] = None,
allocated_capacity: Optional[float] = None,
maintenance_window: Optional[str] = None,
max_capacity: Optional[float] = None,
default_arguments: Optional[Any] = None,
name: Optional[str] = None,
non_overridable_arguments: Optional[Any] = None,
notification_property: Optional[JobNotificationPropertyArgs] = None,
number_of_workers: Optional[int] = None,
connections: Optional[JobConnectionsListArgs] = None,
security_configuration: Optional[str] = None,
tags: Optional[Any] = None,
timeout: Optional[int] = None,
worker_type: Optional[JobWorkerType] = None)
func NewJob(ctx *Context, name string, args JobArgs, opts ...ResourceOption) (*Job, error)
public Job(string name, JobArgs args, CustomResourceOptions? opts = null)
type: aws-native:glue:Job
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Job Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Job resource accepts the following input properties:
- Command
Pulumi.
Aws Native. Glue. Inputs. Job Command - The code that executes a job.
- Role string
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- Allocated
Capacity double - The number of capacity units that are allocated to this job.
- Connections
Pulumi.
Aws Native. Glue. Inputs. Job Connections List - Specifies the connections used by a job
- Default
Arguments object The default arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- Description string
- A description of the job.
- Execution
Class string - Indicates whether the job is run with a standard or flexible execution class.
- Execution
Property Pulumi.Aws Native. Glue. Inputs. Job Execution Property - The maximum number of concurrent runs that are allowed for this job.
- Glue
Version string - Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- Job
Mode string - Property description not available.
- Job
Run boolQueuing Enabled - Property description not available.
- Log
Uri string - This field is reserved for future use.
- Maintenance
Window string - Property description not available.
- Max
Capacity double - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- Max
Retries double - The maximum number of times to retry this job after a JobRun fails
- Name string
- The name you assign to the job definition
- Non
Overridable objectArguments Non-overridable arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- Notification
Property Pulumi.Aws Native. Glue. Inputs. Job Notification Property - Specifies configuration properties of a notification.
- Number
Of intWorkers - The number of workers of a defined workerType that are allocated when a job runs.
- Security
Configuration string - The name of the SecurityConfiguration structure to be used with this job.
- object
The tags to use with this job.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- Timeout int
- The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
- Worker
Type Pulumi.Aws Native. Glue. Job Worker Type - TThe type of predefined worker that is allocated when a job runs.
- Command
Job
Command Args - The code that executes a job.
- Role string
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- Allocated
Capacity float64 - The number of capacity units that are allocated to this job.
- Connections
Job
Connections List Args - Specifies the connections used by a job
- Default
Arguments interface{} The default arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- Description string
- A description of the job.
- Execution
Class string - Indicates whether the job is run with a standard or flexible execution class.
- Execution
Property JobExecution Property Args - The maximum number of concurrent runs that are allowed for this job.
- Glue
Version string - Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- Job
Mode string - Property description not available.
- Job
Run boolQueuing Enabled - Property description not available.
- Log
Uri string - This field is reserved for future use.
- Maintenance
Window string - Property description not available.
- Max
Capacity float64 - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- Max
Retries float64 - The maximum number of times to retry this job after a JobRun fails
- Name string
- The name you assign to the job definition
- Non
Overridable interface{}Arguments Non-overridable arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- Notification
Property JobNotification Property Args - Specifies configuration properties of a notification.
- Number
Of intWorkers - The number of workers of a defined workerType that are allocated when a job runs.
- Security
Configuration string - The name of the SecurityConfiguration structure to be used with this job.
- interface{}
The tags to use with this job.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- Timeout int
- The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
- Worker
Type JobWorker Type - TThe type of predefined worker that is allocated when a job runs.
- command
Job
Command - The code that executes a job.
- role String
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- allocated
Capacity Double - The number of capacity units that are allocated to this job.
- connections
Job
Connections List - Specifies the connections used by a job
- default
Arguments Object The default arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- description String
- A description of the job.
- execution
Class String - Indicates whether the job is run with a standard or flexible execution class.
- execution
Property JobExecution Property - The maximum number of concurrent runs that are allowed for this job.
- glue
Version String - Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- job
Mode String - Property description not available.
- job
Run BooleanQueuing Enabled - Property description not available.
- log
Uri String - This field is reserved for future use.
- maintenance
Window String - Property description not available.
- max
Capacity Double - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- max
Retries Double - The maximum number of times to retry this job after a JobRun fails
- name String
- The name you assign to the job definition
- non
Overridable ObjectArguments Non-overridable arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- notification
Property JobNotification Property - Specifies configuration properties of a notification.
- number
Of IntegerWorkers - The number of workers of a defined workerType that are allocated when a job runs.
- security
Configuration String - The name of the SecurityConfiguration structure to be used with this job.
- Object
The tags to use with this job.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- timeout Integer
- The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
- worker
Type JobWorker Type - TThe type of predefined worker that is allocated when a job runs.
- command
Job
Command - The code that executes a job.
- role string
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- allocated
Capacity number - The number of capacity units that are allocated to this job.
- connections
Job
Connections List - Specifies the connections used by a job
- default
Arguments any The default arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- description string
- A description of the job.
- execution
Class string - Indicates whether the job is run with a standard or flexible execution class.
- execution
Property JobExecution Property - The maximum number of concurrent runs that are allowed for this job.
- glue
Version string - Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- job
Mode string - Property description not available.
- job
Run booleanQueuing Enabled - Property description not available.
- log
Uri string - This field is reserved for future use.
- maintenance
Window string - Property description not available.
- max
Capacity number - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- max
Retries number - The maximum number of times to retry this job after a JobRun fails
- name string
- The name you assign to the job definition
- non
Overridable anyArguments Non-overridable arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- notification
Property JobNotification Property - Specifies configuration properties of a notification.
- number
Of numberWorkers - The number of workers of a defined workerType that are allocated when a job runs.
- security
Configuration string - The name of the SecurityConfiguration structure to be used with this job.
- any
The tags to use with this job.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- timeout number
- The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
- worker
Type JobWorker Type - TThe type of predefined worker that is allocated when a job runs.
- command
Job
Command Args - The code that executes a job.
- role str
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- allocated_
capacity float - The number of capacity units that are allocated to this job.
- connections
Job
Connections List Args - Specifies the connections used by a job
- default_
arguments Any The default arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- description str
- A description of the job.
- execution_
class str - Indicates whether the job is run with a standard or flexible execution class.
- execution_
property JobExecution Property Args - The maximum number of concurrent runs that are allowed for this job.
- glue_
version str - Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- job_
mode str - Property description not available.
- job_
run_ boolqueuing_ enabled - Property description not available.
- log_
uri str - This field is reserved for future use.
- maintenance_
window str - Property description not available.
- max_
capacity float - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- max_
retries float - The maximum number of times to retry this job after a JobRun fails
- name str
- The name you assign to the job definition
- non_
overridable_ Anyarguments Non-overridable arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- notification_
property JobNotification Property Args - Specifies configuration properties of a notification.
- number_
of_ intworkers - The number of workers of a defined workerType that are allocated when a job runs.
- security_
configuration str - The name of the SecurityConfiguration structure to be used with this job.
- Any
The tags to use with this job.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- timeout int
- The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
- worker_
type JobWorker Type - TThe type of predefined worker that is allocated when a job runs.
- command Property Map
- The code that executes a job.
- role String
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- allocated
Capacity Number - The number of capacity units that are allocated to this job.
- connections Property Map
- Specifies the connections used by a job
- default
Arguments Any The default arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- description String
- A description of the job.
- execution
Class String - Indicates whether the job is run with a standard or flexible execution class.
- execution
Property Property Map - The maximum number of concurrent runs that are allowed for this job.
- glue
Version String - Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- job
Mode String - Property description not available.
- job
Run BooleanQueuing Enabled - Property description not available.
- log
Uri String - This field is reserved for future use.
- maintenance
Window String - Property description not available.
- max
Capacity Number - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- max
Retries Number - The maximum number of times to retry this job after a JobRun fails
- name String
- The name you assign to the job definition
- non
Overridable AnyArguments Non-overridable arguments for this job, specified as name-value pairs.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- notification
Property Property Map - Specifies configuration properties of a notification.
- number
Of NumberWorkers - The number of workers of a defined workerType that are allocated when a job runs.
- security
Configuration String - The name of the SecurityConfiguration structure to be used with this job.
- Any
The tags to use with this job.
Search the CloudFormation User Guide for
AWS::Glue::Job
for more information about the expected schema for this property.- timeout Number
- The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.
- worker
Type "Standard" | "G.1X" | "G.2X" | "G.025X" | "G.4X" | "G.8X" | "Z.2X" - TThe type of predefined worker that is allocated when a job runs.
Outputs
All input properties are implicitly available as output properties. Additionally, the Job resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
JobCommand, JobCommandArgs
- Name string
- The name of the job command
- Python
Version string - The Python version being used to execute a Python shell job.
- Runtime string
- Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
- Script
Location string - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
- Name string
- The name of the job command
- Python
Version string - The Python version being used to execute a Python shell job.
- Runtime string
- Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
- Script
Location string - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
- name String
- The name of the job command
- python
Version String - The Python version being used to execute a Python shell job.
- runtime String
- Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
- script
Location String - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
- name string
- The name of the job command
- python
Version string - The Python version being used to execute a Python shell job.
- runtime string
- Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
- script
Location string - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
- name str
- The name of the job command
- python_
version str - The Python version being used to execute a Python shell job.
- runtime str
- Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
- script_
location str - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
- name String
- The name of the job command
- python
Version String - The Python version being used to execute a Python shell job.
- runtime String
- Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment
- script
Location String - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that executes a job
JobConnectionsList, JobConnectionsListArgs
- Connections List<string>
- A list of connections used by the job.
- Connections []string
- A list of connections used by the job.
- connections List<String>
- A list of connections used by the job.
- connections string[]
- A list of connections used by the job.
- connections Sequence[str]
- A list of connections used by the job.
- connections List<String>
- A list of connections used by the job.
JobExecutionProperty, JobExecutionPropertyArgs
- Max
Concurrent doubleRuns - The maximum number of concurrent runs allowed for the job.
- Max
Concurrent float64Runs - The maximum number of concurrent runs allowed for the job.
- max
Concurrent DoubleRuns - The maximum number of concurrent runs allowed for the job.
- max
Concurrent numberRuns - The maximum number of concurrent runs allowed for the job.
- max_
concurrent_ floatruns - The maximum number of concurrent runs allowed for the job.
- max
Concurrent NumberRuns - The maximum number of concurrent runs allowed for the job.
JobNotificationProperty, JobNotificationPropertyArgs
- Notify
Delay intAfter - It is the number of minutes to wait before sending a job run delay notification after a job run starts
- Notify
Delay intAfter - It is the number of minutes to wait before sending a job run delay notification after a job run starts
- notify
Delay IntegerAfter - It is the number of minutes to wait before sending a job run delay notification after a job run starts
- notify
Delay numberAfter - It is the number of minutes to wait before sending a job run delay notification after a job run starts
- notify_
delay_ intafter - It is the number of minutes to wait before sending a job run delay notification after a job run starts
- notify
Delay NumberAfter - It is the number of minutes to wait before sending a job run delay notification after a job run starts
JobWorkerType, JobWorkerTypeArgs
- Standard
- Standard
- G1x
- G.1X
- G2x
- G.2X
- G025x
- G.025X
- G4x
- G.4X
- G8x
- G.8X
- Z2x
- Z.2X
- Job
Worker Type Standard - Standard
- Job
Worker Type G1x - G.1X
- Job
Worker Type G2x - G.2X
- Job
Worker Type G025x - G.025X
- Job
Worker Type G4x - G.4X
- Job
Worker Type G8x - G.8X
- Job
Worker Type Z2x - Z.2X
- Standard
- Standard
- G1x
- G.1X
- G2x
- G.2X
- G025x
- G.025X
- G4x
- G.4X
- G8x
- G.8X
- Z2x
- Z.2X
- Standard
- Standard
- G1x
- G.1X
- G2x
- G.2X
- G025x
- G.025X
- G4x
- G.4X
- G8x
- G.8X
- Z2x
- Z.2X
- STANDARD
- Standard
- G1X
- G.1X
- G2X
- G.2X
- G025X
- G.025X
- G4X
- G.4X
- G8X
- G.8X
- Z2X
- Z.2X
- "Standard"
- Standard
- "G.1X"
- G.1X
- "G.2X"
- G.2X
- "G.025X"
- G.025X
- "G.4X"
- G.4X
- "G.8X"
- G.8X
- "Z.2X"
- Z.2X
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.