1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. glue
  5. getJob

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.glue.getJob

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::Glue::Job

Using getJob

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getJob(args: GetJobArgs, opts?: InvokeOptions): Promise<GetJobResult>
function getJobOutput(args: GetJobOutputArgs, opts?: InvokeOptions): Output<GetJobResult>
Copy
def get_job(name: Optional[str] = None,
            opts: Optional[InvokeOptions] = None) -> GetJobResult
def get_job_output(name: Optional[pulumi.Input[str]] = None,
            opts: Optional[InvokeOptions] = None) -> Output[GetJobResult]
Copy
func LookupJob(ctx *Context, args *LookupJobArgs, opts ...InvokeOption) (*LookupJobResult, error)
func LookupJobOutput(ctx *Context, args *LookupJobOutputArgs, opts ...InvokeOption) LookupJobResultOutput
Copy

> Note: This function is named LookupJob in the Go SDK.

public static class GetJob 
{
    public static Task<GetJobResult> InvokeAsync(GetJobArgs args, InvokeOptions? opts = null)
    public static Output<GetJobResult> Invoke(GetJobInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
public static Output<GetJobResult> getJob(GetJobArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:glue:getJob
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name you assign to the job definition
Name This property is required. string
The name you assign to the job definition
name This property is required. String
The name you assign to the job definition
name This property is required. string
The name you assign to the job definition
name This property is required. str
The name you assign to the job definition
name This property is required. String
The name you assign to the job definition

getJob Result

The following output properties are available:

AllocatedCapacity double
The number of capacity units that are allocated to this job.
Command Pulumi.AwsNative.Glue.Outputs.JobCommand
The code that executes a job.
Connections Pulumi.AwsNative.Glue.Outputs.JobConnectionsList
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::Job for 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.AwsNative.Glue.Outputs.JobExecutionProperty
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.
JobRunQueuingEnabled bool
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
NonOverridableArguments object

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.

NotificationProperty Pulumi.AwsNative.Glue.Outputs.JobNotificationProperty
Specifies configuration properties of a notification.
NumberOfWorkers int
The number of workers of a defined workerType that are allocated when a job runs.
Role string
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
SecurityConfiguration string
The name of the SecurityConfiguration structure to be used with this job.
Tags 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.
WorkerType Pulumi.AwsNative.Glue.JobWorkerType
TThe type of predefined worker that is allocated when a job runs.
AllocatedCapacity float64
The number of capacity units that are allocated to this job.
Command JobCommand
The code that executes a job.
Connections JobConnectionsList
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::Job for 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 JobExecutionProperty
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.
JobRunQueuingEnabled bool
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
NonOverridableArguments interface{}

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.

NotificationProperty JobNotificationProperty
Specifies configuration properties of a notification.
NumberOfWorkers int
The number of workers of a defined workerType that are allocated when a job runs.
Role string
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
SecurityConfiguration string
The name of the SecurityConfiguration structure to be used with this job.
Tags 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.
WorkerType JobWorkerType
TThe type of predefined worker that is allocated when a job runs.
allocatedCapacity Double
The number of capacity units that are allocated to this job.
command JobCommand
The code that executes a job.
connections JobConnectionsList
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::Job for 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 JobExecutionProperty
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.
jobRunQueuingEnabled Boolean
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
nonOverridableArguments Object

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.

notificationProperty JobNotificationProperty
Specifies configuration properties of a notification.
numberOfWorkers Integer
The number of workers of a defined workerType that are allocated when a job runs.
role String
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
securityConfiguration String
The name of the SecurityConfiguration structure to be used with this job.
tags 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.
workerType JobWorkerType
TThe type of predefined worker that is allocated when a job runs.
allocatedCapacity number
The number of capacity units that are allocated to this job.
command JobCommand
The code that executes a job.
connections JobConnectionsList
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::Job for 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 JobExecutionProperty
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.
jobRunQueuingEnabled boolean
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
nonOverridableArguments any

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.

notificationProperty JobNotificationProperty
Specifies configuration properties of a notification.
numberOfWorkers number
The number of workers of a defined workerType that are allocated when a job runs.
role string
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
securityConfiguration string
The name of the SecurityConfiguration structure to be used with this job.
tags 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.
workerType JobWorkerType
TThe type of predefined worker that is allocated when a job runs.
allocated_capacity float
The number of capacity units that are allocated to this job.
command JobCommand
The code that executes a job.
connections JobConnectionsList
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 JobExecutionProperty
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_queuing_enabled bool
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
non_overridable_arguments Any

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 JobNotificationProperty
Specifies configuration properties of a notification.
number_of_workers int
The number of workers of a defined workerType that are allocated when a job runs.
role str
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
security_configuration str
The name of the SecurityConfiguration structure to be used with this job.
tags 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 JobWorkerType
TThe type of predefined worker that is allocated when a job runs.
allocatedCapacity Number
The number of capacity units that are allocated to this job.
command Property Map
The code that executes a 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::Job for 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.
jobRunQueuingEnabled Boolean
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
nonOverridableArguments Any

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.

notificationProperty Property Map
Specifies configuration properties of a notification.
numberOfWorkers Number
The number of workers of a defined workerType that are allocated when a job runs.
role String
The name or Amazon Resource Name (ARN) of the IAM role associated with this job.
securityConfiguration String
The name of the SecurityConfiguration structure to be used with this job.
tags 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.
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.

Supporting Types

JobCommand

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

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

MaxConcurrentRuns double
The maximum number of concurrent runs allowed for the job.
MaxConcurrentRuns float64
The maximum number of concurrent runs allowed for the job.
maxConcurrentRuns Double
The maximum number of concurrent runs allowed for the job.
maxConcurrentRuns number
The maximum number of concurrent runs allowed for the job.
max_concurrent_runs float
The maximum number of concurrent runs allowed for the job.
maxConcurrentRuns Number
The maximum number of concurrent runs allowed for the job.

JobNotificationProperty

NotifyDelayAfter int
It is the number of minutes to wait before sending a job run delay notification after a job run starts
NotifyDelayAfter int
It is the number of minutes to wait before sending a job run delay notification after a job run starts
notifyDelayAfter Integer
It is the number of minutes to wait before sending a job run delay notification after a job run starts
notifyDelayAfter number
It is the number of minutes to wait before sending a job run delay notification after a job run starts
notify_delay_after int
It is the number of minutes to wait before sending a job run delay notification after a job run starts
notifyDelayAfter Number
It is the number of minutes to wait before sending a job run delay notification after a job run starts

JobWorkerType

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi