@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)",
date="2023-01-31T18:37:01.078Z")
public class ReleaseLabel
extends software.amazon.jsii.JsiiObject
Can be extended to include new EMR releases
For example, new ReleaseLabel('emr-x.xx.x-latest');
Example:
EmrContainersStartJobRun.Builder.create(this, "EMR Containers Start Job Run") .virtualCluster(VirtualClusterInput.fromVirtualClusterId("de92jdei2910fwedz")) .releaseLabel(ReleaseLabel.EMR_6_2_0) .jobName("EMR-Containers-Job") .jobDriver(JobDriver.builder() .sparkSubmitJobDriver(SparkSubmitJobDriver.builder() .entryPoint(TaskInput.fromText("local:///usr/lib/spark/examples/src/main/python/pi.py")) .build()) .build()) .applicationConfig(List.of(ApplicationConfiguration.builder() .classification(Classification.SPARK_DEFAULTS) .properties(Map.of( "spark.executor.instances", "1", "spark.executor.memory", "512M")) .build())) .build();
Modifier and Type | Field and Description |
---|---|
static ReleaseLabel |
EMR_5_32_0
EMR Release version 5.32.0.
|
static ReleaseLabel |
EMR_5_33_0
EMR Release version 5.33.0.
|
static ReleaseLabel |
EMR_6_2_0
EMR Release version 6.2.0.
|
static ReleaseLabel |
EMR_6_3_0
EMR Release version 6.3.0.
|
Modifier | Constructor and Description |
---|---|
protected |
ReleaseLabel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ReleaseLabel(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
A literal string that contains the release-version ex.
|
public static final ReleaseLabel EMR_5_32_0
public static final ReleaseLabel EMR_5_33_0
public static final ReleaseLabel EMR_6_2_0
public static final ReleaseLabel EMR_6_3_0