Class ReleaseLabel
The Amazon EMR release version to use for the job run.
Inheritance
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class ReleaseLabel : DeputyBase
Syntax (vb)
Public Class ReleaseLabel
Inherits DeputyBase
Remarks
Can be extended to include new EMR releases
For example, new ReleaseLabel('emr-x.xx.x-latest');
ExampleMetadata: infused
Examples
new EmrContainersStartJobRun(this, "EMR Containers Start Job Run", new EmrContainersStartJobRunProps {
VirtualCluster = VirtualClusterInput.FromVirtualClusterId("de92jdei2910fwedz"),
ReleaseLabel = ReleaseLabel.EMR_6_2_0,
JobName = "EMR-Containers-Job",
JobDriver = new JobDriver {
SparkSubmitJobDriver = new SparkSubmitJobDriver {
EntryPoint = TaskInput.FromText("local:///usr/lib/spark/examples/src/main/python/pi.py")
}
},
ApplicationConfig = new [] { new ApplicationConfiguration {
Classification = Classification.SPARK_DEFAULTS,
Properties = new Dictionary<string, string> {
{ "spark.executor.instances", "1" },
{ "spark.executor.memory", "512M" }
}
} }
});
Synopsis
Constructors
ReleaseLabel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ReleaseLabel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ReleaseLabel(String) | Initializes the label string. |
Properties
EMR_5_32_0 | EMR Release version 5.32.0. |
EMR_5_33_0 | EMR Release version 5.33.0. |
EMR_6_2_0 | EMR Release version 6.2.0. |
EMR_6_3_0 | EMR Release version 6.3.0. |
Label | A literal string that contains the release-version ex. |
Constructors
ReleaseLabel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ReleaseLabel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ReleaseLabel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ReleaseLabel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ReleaseLabel(String)
Initializes the label string.
public ReleaseLabel(string label)
Parameters
- label System.String
A literal string that contains the release-version ex.
Properties
EMR_5_32_0
EMR Release version 5.32.0.
public static ReleaseLabel EMR_5_32_0 { get; }
Property Value
EMR_5_33_0
EMR Release version 5.33.0.
public static ReleaseLabel EMR_5_33_0 { get; }
Property Value
EMR_6_2_0
EMR Release version 6.2.0.
public static ReleaseLabel EMR_6_2_0 { get; }
Property Value
EMR_6_3_0
EMR Release version 6.3.0.
public static ReleaseLabel EMR_6_3_0 { get; }
Property Value
Label
A literal string that contains the release-version ex.
public virtual string Label { get; }
Property Value
System.String
Remarks
'emr-x.x.x-latest'