Interface RayJobProps
- All Superinterfaces:
JobProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RayJobProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.133.0 (build 0f43e37)",
date="2026-07-02T13:33:03.413Z")
@Stability(Deprecated)
@Deprecated
public interface RayJobProps
extends software.amazon.jsii.JsiiSerializable, JobProps
Deprecated.
AWS Glue for Ray is closed to new customers as of April 30, 2026.
Migrate to Amazon EKS with KubeRay Operator. See
https://docs.aws.amazon.com/glue/latest/dg/awsglue-ray-jobs-availability-change.html
(deprecated) Properties for creating a Ray Glue job.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.alpha.*;
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.logs.*;
Code code;
Connection connection;
LogGroup logGroup;
Role role;
SecurityConfiguration securityConfiguration;
RayJobProps rayJobProps = RayJobProps.builder()
.role(role)
.script(code)
// the properties below are optional
.connections(List.of(connection))
.continuousLogging(ContinuousLoggingProps.builder()
.enabled(false)
// the properties below are optional
.conversionPattern("conversionPattern")
.logGroup(logGroup)
.logStreamPrefix("logStreamPrefix")
.quiet(false)
.build())
.defaultArguments(Map.of(
"defaultArgumentsKey", "defaultArguments"))
.description("description")
.enableMetrics(false)
.enableObservabilityMetrics(false)
.enableProfilingMetrics(false)
.glueVersion(GlueVersion.V0_9)
.jobName("jobName")
.jobRunQueuingEnabled(false)
.maxConcurrentRuns(123)
.maxRetries(123)
.numberOfWorkers(123)
.runtime(Runtime.RAY_TWO_FOUR)
.securityConfiguration(securityConfiguration)
.tags(Map.of(
"tagsKey", "tags"))
.timeout(Duration.minutes(30))
.workerType(WorkerType.STANDARD)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classDeprecated.static final classDeprecated. -
Method Summary
Methods inherited from interface software.amazon.awscdk.services.glue.alpha.JobProps
getConnections, getContinuousLogging, getDefaultArguments, getDescription, getEnableProfilingMetrics, getGlueVersion, getJobName, getMaxConcurrentRuns, getMaxRetries, getNumberOfWorkers, getRole, getScript, getSecurityConfiguration, getTags, getTimeout, getWorkerTypeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnableMetrics
Deprecated.(deprecated) Enable profiling metrics for the Glue job.When enabled, adds '--enable-metrics' to job arguments.
Default: true
-
getEnableObservabilityMetrics
Deprecated.(deprecated) Enable observability metrics for the Glue job.When enabled, adds '--enable-observability-metrics': 'true' to job arguments.
Default: true
-
getJobRunQueuingEnabled
Deprecated.(deprecated) 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. This property must be set to false for flex jobs. If this property is enabled, maxRetries must be set to zero.
Default: - no job run queuing
-
getRuntime
Deprecated.(deprecated) Sets the Ray runtime environment version.Default: - Runtime version will default to Ray2.4
-
builder
Deprecated.- Returns:
- a
RayJobProps.BuilderofRayJobProps
-