@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2023-01-03T16:22:40.551Z") @Stability(value=Stable) public interface EmrContainersStartJobRunProps extends software.amazon.jsii.JsiiSerializable, TaskStateBaseProps
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 | Interface and Description |
|---|---|
static class |
EmrContainersStartJobRunProps.Builder
A builder for
EmrContainersStartJobRunProps |
static class |
EmrContainersStartJobRunProps.Jsii$Proxy
An implementation for
EmrContainersStartJobRunProps |
| Modifier and Type | Method and Description |
|---|---|
static EmrContainersStartJobRunProps.Builder |
builder() |
default List<ApplicationConfiguration> |
getApplicationConfig()
The configurations for the application running in the job run.
|
default IRole |
getExecutionRole()
The execution role for the job run.
|
JobDriver |
getJobDriver()
The job driver for the job run.
|
default String |
getJobName()
The name of the job run.
|
default Monitoring |
getMonitoring()
Configuration for monitoring the job run.
|
ReleaseLabel |
getReleaseLabel()
The Amazon EMR release version to use for the job run.
|
default Map<String,String> |
getTags()
The tags assigned to job runs.
|
VirtualClusterInput |
getVirtualCluster()
The ID of the virtual cluster where the job will be run.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Stable) @NotNull JobDriver getJobDriver()
@Stability(value=Stable) @NotNull ReleaseLabel getReleaseLabel()
@Stability(value=Stable) @NotNull VirtualClusterInput getVirtualCluster()
@Stability(value=Stable) @Nullable default List<ApplicationConfiguration> getApplicationConfig()
Maximum of 100 items
Default: - No application config
@Stability(value=Stable) @Nullable default IRole getExecutionRole()
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
@Stability(value=Stable) @Nullable default String getJobName()
Default: - No job run name
@Stability(value=Stable) @Nullable default Monitoring getMonitoring()
Default: - logging enabled and resources automatically generated if `monitoring.logging` is set to `true`
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
Default: - None
@Stability(value=Stable) static EmrContainersStartJobRunProps.Builder builder()
builder in interface TaskStateBasePropsEmrContainersStartJobRunProps.Builder of EmrContainersStartJobRunPropsCopyright © 2023. All rights reserved.