Class VirtualClusterInput
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.VirtualClusterInput
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:17.839Z")
@Stability(Stable)
public class VirtualClusterInput
extends software.amazon.jsii.JsiiObject
Class that returns a virtual cluster's id depending on input type.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ModifierConstructorDescriptionprotected
VirtualClusterInput
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
VirtualClusterInput
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualClusterInput
fromTaskInput
(TaskInput taskInput) Input for a virtualClusterId from a Task Input.static VirtualClusterInput
fromVirtualClusterId
(String virtualClusterId) Input for virtualClusterId from a literal string.getId()
The VirtualCluster Id.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
VirtualClusterInput
protected VirtualClusterInput(software.amazon.jsii.JsiiObjectRef objRef) -
VirtualClusterInput
protected VirtualClusterInput(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
fromTaskInput
@Stability(Stable) @NotNull public static VirtualClusterInput fromTaskInput(@NotNull TaskInput taskInput) Input for a virtualClusterId from a Task Input.- Parameters:
taskInput
- This parameter is required.
-
fromVirtualClusterId
@Stability(Stable) @NotNull public static VirtualClusterInput fromVirtualClusterId(@NotNull String virtualClusterId) Input for virtualClusterId from a literal string.- Parameters:
virtualClusterId
- This parameter is required.
-
getId
The VirtualCluster Id.
-