@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.667Z") @Stability(value=Stable) 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) |
|
ReleaseLabel(String label)
Initializes the label string.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel()
A literal string that contains the release-version ex.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final ReleaseLabel EMR_5_32_0
@Stability(value=Stable) public static final ReleaseLabel EMR_5_33_0
@Stability(value=Stable) public static final ReleaseLabel EMR_6_2_0
@Stability(value=Stable) public static final ReleaseLabel EMR_6_3_0
protected ReleaseLabel(software.amazon.jsii.JsiiObjectRef objRef)
protected ReleaseLabel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public ReleaseLabel(@NotNull
String label)
label - A literal string that contains the release-version ex. This parameter is required.@Stability(value=Stable) @NotNull public String getLabel()
'emr-x.x.x-latest'
Copyright © 2023. All rights reserved.