class JobType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.JobType |
Java | software.amazon.awscdk.services.glue.JobType |
Python | aws_cdk.aws_glue.JobType |
TypeScript (source) | @aws-cdk/aws-glue » JobType |
The job type.
If you need to use a JobType that doesn't exist as a static member, you
can instantiate a JobType
object, e.g: JobType.of('other name')
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as glue from '@aws-cdk/aws-glue';
const jobType = glue.JobType.ETL;
Properties
Name | Type | Description |
---|---|---|
name | string | The name of this JobType, as expected by Job resource. |
static ETL | Job | Command for running a Glue ETL job. |
static PYTHON_SHELL | Job | Command for running a Glue python shell job. |
static STREAMING | Job | Command for running a Glue streaming job. |
name
Type:
string
The name of this JobType, as expected by Job resource.
static ETL
Type:
Job
Command for running a Glue ETL job.
static PYTHON_SHELL
Type:
Job
Command for running a Glue python shell job.
static STREAMING
Type:
Job
Command for running a Glue streaming job.
Methods
Name | Description |
---|---|
static of(name) | Custom type name. |
static of(name)
public static of(name: string): JobType
Parameters
- name
string
— type name.
Returns
Custom type name.