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.
- AllocatedCapacity 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
- DefaultArguments object
- The default arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- Description string
- A description of the job.
- ExecutionClass string
- Indicates whether the job is run with a standard or flexible execution class.
- ExecutionProperty Pulumi.Aws Native. Glue. Inputs. Job Execution Property 
- The maximum number of concurrent runs that are allowed for this job.
- GlueVersion string
- Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- JobMode string
- Property description not available.
- JobRun boolQueuing Enabled 
- Property description not available.
- LogUri string
- This field is reserved for future use.
- MaintenanceWindow string
- Property description not available.
- MaxCapacity double
- The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- MaxRetries double
- The maximum number of times to retry this job after a JobRun fails
- Name string
- The name you assign to the job definition
- NonOverridable objectArguments 
- Non-overridable arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- NotificationProperty Pulumi.Aws Native. Glue. Inputs. Job Notification Property 
- Specifies configuration properties of a notification.
- NumberOf intWorkers 
- The number of workers of a defined workerType that are allocated when a job runs.
- SecurityConfiguration 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::Jobfor 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.
- WorkerType Pulumi.Aws Native. Glue. Job Worker Type 
- TThe type of predefined worker that is allocated when a job runs.
- Command
JobCommand Args 
- The code that executes a job.
- Role string
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- AllocatedCapacity float64
- The number of capacity units that are allocated to this job.
- Connections
JobConnections List Args 
- Specifies the connections used by a job
- DefaultArguments interface{}
- The default arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- Description string
- A description of the job.
- ExecutionClass string
- Indicates whether the job is run with a standard or flexible execution class.
- ExecutionProperty JobExecution Property Args 
- The maximum number of concurrent runs that are allowed for this job.
- GlueVersion string
- Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- JobMode string
- Property description not available.
- JobRun boolQueuing Enabled 
- Property description not available.
- LogUri string
- This field is reserved for future use.
- MaintenanceWindow string
- Property description not available.
- MaxCapacity float64
- The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- MaxRetries float64
- The maximum number of times to retry this job after a JobRun fails
- Name string
- The name you assign to the job definition
- NonOverridable interface{}Arguments 
- Non-overridable arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- NotificationProperty JobNotification Property Args 
- Specifies configuration properties of a notification.
- NumberOf intWorkers 
- The number of workers of a defined workerType that are allocated when a job runs.
- SecurityConfiguration 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::Jobfor 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.
- WorkerType JobWorker Type 
- TThe type of predefined worker that is allocated when a job runs.
- command
JobCommand 
- The code that executes a job.
- role String
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- allocatedCapacity Double
- The number of capacity units that are allocated to this job.
- connections
JobConnections List 
- Specifies the connections used by a job
- defaultArguments Object
- The default arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- description String
- A description of the job.
- executionClass String
- Indicates whether the job is run with a standard or flexible execution class.
- executionProperty JobExecution Property 
- The maximum number of concurrent runs that are allowed for this job.
- glueVersion String
- Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- jobMode String
- Property description not available.
- jobRun BooleanQueuing Enabled 
- Property description not available.
- logUri String
- This field is reserved for future use.
- maintenanceWindow String
- Property description not available.
- maxCapacity Double
- The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- maxRetries Double
- The maximum number of times to retry this job after a JobRun fails
- name String
- The name you assign to the job definition
- nonOverridable ObjectArguments 
- Non-overridable arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- notificationProperty JobNotification Property 
- Specifies configuration properties of a notification.
- numberOf IntegerWorkers 
- The number of workers of a defined workerType that are allocated when a job runs.
- securityConfiguration 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::Jobfor 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.
- workerType JobWorker Type 
- TThe type of predefined worker that is allocated when a job runs.
- command
JobCommand 
- The code that executes a job.
- role string
- The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
- allocatedCapacity number
- The number of capacity units that are allocated to this job.
- connections
JobConnections List 
- Specifies the connections used by a job
- defaultArguments any
- The default arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- description string
- A description of the job.
- executionClass string
- Indicates whether the job is run with a standard or flexible execution class.
- executionProperty JobExecution Property 
- The maximum number of concurrent runs that are allowed for this job.
- glueVersion string
- Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- jobMode string
- Property description not available.
- jobRun booleanQueuing Enabled 
- Property description not available.
- logUri string
- This field is reserved for future use.
- maintenanceWindow string
- Property description not available.
- maxCapacity number
- The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- maxRetries number
- The maximum number of times to retry this job after a JobRun fails
- name string
- The name you assign to the job definition
- nonOverridable anyArguments 
- Non-overridable arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- notificationProperty JobNotification Property 
- Specifies configuration properties of a notification.
- numberOf numberWorkers 
- The number of workers of a defined workerType that are allocated when a job runs.
- securityConfiguration 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::Jobfor 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.
- workerType JobWorker Type 
- TThe type of predefined worker that is allocated when a job runs.
- command
JobCommand 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
JobConnections 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::Jobfor 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::Jobfor 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::Jobfor 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.
- allocatedCapacity Number
- The number of capacity units that are allocated to this job.
- connections Property Map
- Specifies the connections used by a job
- defaultArguments Any
- The default arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- description String
- A description of the job.
- executionClass String
- Indicates whether the job is run with a standard or flexible execution class.
- executionProperty Property Map
- The maximum number of concurrent runs that are allowed for this job.
- glueVersion String
- Glue version determines the versions of Apache Spark and Python that AWS Glue supports.
- jobMode String
- Property description not available.
- jobRun BooleanQueuing Enabled 
- Property description not available.
- logUri String
- This field is reserved for future use.
- maintenanceWindow String
- Property description not available.
- maxCapacity Number
- The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
- maxRetries Number
- The maximum number of times to retry this job after a JobRun fails
- name String
- The name you assign to the job definition
- nonOverridable AnyArguments 
- Non-overridable arguments for this job, specified as name-value pairs. - Search the CloudFormation User Guide for - AWS::Glue::Jobfor more information about the expected schema for this property.
- notificationProperty Property Map
- Specifies configuration properties of a notification.
- numberOf NumberWorkers 
- The number of workers of a defined workerType that are allocated when a job runs.
- securityConfiguration 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::Jobfor 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.
- workerType "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
- PythonVersion 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
- ScriptLocation 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
- PythonVersion 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
- ScriptLocation 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
- pythonVersion 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
- scriptLocation 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
- pythonVersion 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
- scriptLocation 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
- pythonVersion 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
- scriptLocation 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      
- MaxConcurrent doubleRuns 
- The maximum number of concurrent runs allowed for the job.
- MaxConcurrent float64Runs 
- The maximum number of concurrent runs allowed for the job.
- maxConcurrent DoubleRuns 
- The maximum number of concurrent runs allowed for the job.
- maxConcurrent numberRuns 
- The maximum number of concurrent runs allowed for the job.
- max_concurrent_ floatruns 
- The maximum number of concurrent runs allowed for the job.
- maxConcurrent NumberRuns 
- The maximum number of concurrent runs allowed for the job.
JobNotificationProperty, JobNotificationPropertyArgs      
- NotifyDelay intAfter 
- It is the number of minutes to wait before sending a job run delay notification after a job run starts
- NotifyDelay intAfter 
- It is the number of minutes to wait before sending a job run delay notification after a job run starts
- notifyDelay IntegerAfter 
- It is the number of minutes to wait before sending a job run delay notification after a job run starts
- notifyDelay 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
- notifyDelay 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
- JobWorker Type Standard 
- Standard
- JobWorker Type G1x 
- G.1X
- JobWorker Type G2x 
- G.2X
- JobWorker Type G025x 
- G.025X
- JobWorker Type G4x 
- G.4X
- JobWorker Type G8x 
- G.8X
- JobWorker 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.