AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Specifies code that runs when a job is run.

Inheritance Hierarchy

System.Object
  Amazon.Glue.Model.JobCommand

Namespace: Amazon.Glue.Model
Assembly: AWSSDK.Glue.dll
Version: 3.x.y.z

Syntax

C#
public class JobCommand

The JobCommand type exposes the following members

Constructors

NameDescription
Public Method JobCommand()

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

The name of the job command. For an Apache Spark ETL job, this must be glueetl. For a Python shell job, it must be pythonshell. For an Apache Spark streaming ETL job, this must be gluestreaming. For a Ray job, this must be glueray.

Public Property PythonVersion System.String

Gets and sets the property PythonVersion.

The Python version being used to run a Python shell job. Allowed values are 2 or 3.

Public Property Runtime System.String

Gets and sets the property Runtime.

In Ray jobs, Runtime is used to specify the versions of Ray, Python and additional libraries available in your environment. This field is not used in other job types. For supported runtime environment values, see Supported Ray runtime environments in the Glue Developer Guide.

Public Property ScriptLocation System.String

Gets and sets the property ScriptLocation.

Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5