View source: R/glue_operations.R
glue_create_job | R Documentation |
Creates a new job definition.
See https://www.paws-r-sdk.com/docs/glue_create_job/ for full documentation.
glue_create_job(
Name,
JobMode = NULL,
JobRunQueuingEnabled = NULL,
Description = NULL,
LogUri = NULL,
Role,
ExecutionProperty = NULL,
Command,
DefaultArguments = NULL,
NonOverridableArguments = NULL,
Connections = NULL,
MaxRetries = NULL,
AllocatedCapacity = NULL,
Timeout = NULL,
MaxCapacity = NULL,
SecurityConfiguration = NULL,
Tags = NULL,
NotificationProperty = NULL,
GlueVersion = NULL,
NumberOfWorkers = NULL,
WorkerType = NULL,
CodeGenConfigurationNodes = NULL,
ExecutionClass = NULL,
SourceControlDetails = NULL,
MaintenanceWindow = NULL
)
Name |
[required] The name you assign to this job definition. It must be unique in your account. |
JobMode |
A mode that describes how a job was created. Valid values are:
When the |
JobRunQueuingEnabled |
Specifies whether job run queuing is enabled for the job runs for this job. A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing. If this field does not match the value set in the job run, then the value from the job run field will be used. |
Description |
Description of the job being defined. |
LogUri |
This field is reserved for future use. |
Role |
[required] The name or Amazon Resource Name (ARN) of the IAM role associated with this job. |
ExecutionProperty |
An |
Command |
[required] The |
DefaultArguments |
The default arguments for every run of this job, specified as name-value pairs. You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes. Job arguments may be logged. Do not pass plaintext secrets as arguments. Retrieve secrets from a Glue Connection, Secrets Manager or other secret management mechanism if you intend to keep them within the Job. For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide. For information about the arguments you can provide to this field when configuring Spark jobs, see the Special Parameters Used by Glue topic in the developer guide. For information about the arguments you can provide to this field when configuring Ray jobs, see Using job parameters in Ray jobs in the developer guide. |
NonOverridableArguments |
Arguments for this job that are not overridden when providing job arguments in a job run, specified as name-value pairs. |
Connections |
The connections used for this job. |
MaxRetries |
The maximum number of times to retry this job if it fails. |
AllocatedCapacity |
This parameter is deprecated. Use The number of Glue data processing units (DPUs) to allocate to this Job. You can allocate a minimum of 2 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page. |
Timeout |
The job timeout in minutes. This is the maximum time that a job run can
consume resources before it is terminated and enters Jobs must have timeout values less than 7 days or 10080 minutes. Otherwise, the jobs will throw an exception. When the value is left blank, the timeout is defaulted to 2880 minutes. Any existing Glue jobs that had a timeout value greater than 7 days will be defaulted to 7 days. For instance if you have specified a timeout of 20 days for a batch job, it will be stopped on the 7th day. For streaming jobs, if you have set up a maintenance window, it will be restarted during the maintenance window after 7 days. |
MaxCapacity |
For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page. For Glue version 2.0+ jobs, you cannot specify a Do not set The value that can be allocated for
|
SecurityConfiguration |
The name of the |
Tags |
The tags to use with this job. You may use tags to limit access to the job. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide. |
NotificationProperty |
Specifies configuration properties of a job notification. |
GlueVersion |
In Spark jobs, Ray jobs should set For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide. Jobs that are created without specifying a Glue version default to Glue 0.9. |
NumberOfWorkers |
The number of workers of a defined |
WorkerType |
The type of predefined worker that is allocated when a job runs. Accepts a value of G.1X, G.2X, G.4X, G.8X or G.025X for Spark jobs. Accepts the value Z.2X for Ray jobs.
|
CodeGenConfigurationNodes |
The representation of a directed acyclic graph on which both the Glue Studio visual component and Glue Studio code generation is based. |
ExecutionClass |
Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources. The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary. Only jobs with Glue version 3.0 and above and command type |
SourceControlDetails |
The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository. |
MaintenanceWindow |
This field specifies a day of the week and hour for a maintenance window for streaming jobs. Glue periodically performs maintenance activities. During these maintenance windows, Glue will need to restart your streaming jobs. Glue will restart the job within 3 hours of the specified maintenance window. For instance, if you set up the maintenance window for Monday at 10:00AM GMT, your jobs will be restarted between 10:00AM GMT to 1:00PM GMT. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.