class JobType
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.Alpha.JobType |
Go | github.com/aws/aws-cdk-go/awscdkgluealpha/v2#JobType |
Java | software.amazon.awscdk.services.glue.alpha.JobType |
Python | aws_cdk.aws_glue_alpha.JobType |
TypeScript (source) | @aws-cdk/aws-glue-alpha ยป 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_alpha from '@aws-cdk/aws-glue-alpha';
const jobType = glue_alpha.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 Spark job. |
static PYTHON_SHELL | Job | Command for running a Glue python shell job. |
static RAY | Job | Command for running a Glue Ray job. |
static STREAMING | Job | Command for running a Glue Spark streaming job. |
name
Type:
string
The name of this JobType, as expected by Job resource.
static ETL
Type:
Job
Command for running a Glue Spark job.
static PYTHON_SHELL
Type:
Job
Command for running a Glue python shell job.
static RAY
Type:
Job
Command for running a Glue Ray job.
static STREAMING
Type:
Job
Command for running a Glue Spark 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.