Interface EmrContainersStartJobRunProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TaskStateBaseProps
- All Known Implementing Classes:
EmrContainersStartJobRunProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:24.506Z")
@Stability(Stable)
public interface EmrContainersStartJobRunProps
extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
The props for a EMR Containers StartJobRun Task.
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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forEmrContainersStartJobRunProps
static final class
An implementation forEmrContainersStartJobRunProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default List<ApplicationConfiguration>
The configurations for the application running in the job run.default IRole
The execution role for the job run.The job driver for the job run.default String
The name of the job run.default Monitoring
Configuration for monitoring the job run.The Amazon EMR release version to use for the job run.getTags()
The tags assigned to job runs.The ID of the virtual cluster where the job will be run.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseProps
getComment, getCredentials, getHeartbeat, getHeartbeatTimeout, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getStateName, getTaskTimeout, getTimeout
-
Method Details
-
getJobDriver
The job driver for the job run.- See Also:
-
getReleaseLabel
The Amazon EMR release version to use for the job run. -
getVirtualCluster
The ID of the virtual cluster where the job will be run. -
getApplicationConfig
The configurations for the application running in the job run.Maximum of 100 items
Default: - No application config
- See Also:
-
getExecutionRole
The execution role for the job run.If
virtualClusterId
is from a JSON input path, an execution role must be provided. If an execution role is provided, follow the documentation to update the role trust policy.Default: - Automatically generated only when the provided `virtualClusterId` is not an encoded JSON path
- See Also:
-
getJobName
The name of the job run.Default: - No job run name
-
getMonitoring
Configuration for monitoring the job run.Default: - logging enabled and resources automatically generated if `monitoring.logging` is set to `true`
- See Also:
-
getTags
The tags assigned to job runs.Default: - None
-
builder
-