@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:15.670Z") @Stability(value=Experimental) 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()
(experimental) The configurations for the application running in the job run.
|
default IRole |
getExecutionRole()
(experimental) The execution role for the job run.
|
JobDriver |
getJobDriver()
(experimental) The job driver for the job run.
|
default String |
getJobName()
(experimental) The name of the job run.
|
default Monitoring |
getMonitoring()
(experimental) Configuration for monitoring the job run.
|
ReleaseLabel |
getReleaseLabel()
(experimental) The Amazon EMR release version to use for the job run.
|
default Map<String,String> |
getTags()
(experimental) The tags assigned to job runs.
|
VirtualClusterInput |
getVirtualCluster()
(experimental) The ID of the virtual cluster where the job will be run.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout@Stability(value=Experimental) @NotNull JobDriver getJobDriver()
https://docs.aws.amazon.com/emr-on-eks/latest/APIReference/API_JobDriver.html@Stability(value=Experimental) @NotNull ReleaseLabel getReleaseLabel()
@Stability(value=Experimental) @NotNull VirtualClusterInput getVirtualCluster()
@Stability(value=Experimental) @Nullable default List<ApplicationConfiguration> getApplicationConfig()
Maximum of 100 items
Default: - No application config
https://docs.aws.amazon.com/emr-on-eks/latest/APIReference/API_Configuration.html@Stability(value=Experimental) @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
https://docs.aws.amazon.com/emr/latest/EMR-on-EKS-DevelopmentGuide/setting-up-trust-policy.html@Stability(value=Experimental) @Nullable default String getJobName()
Default: - No job run name
@Stability(value=Experimental) @Nullable default Monitoring getMonitoring()
Default: - logging enabled and resources automatically generated if `monitoring.logging` is set to `true`
https://docs.aws.amazon.com/emr-on-eks/latest/APIReference/API_MonitoringConfiguration.html@Stability(value=Experimental) @Nullable default Map<String,String> getTags()
Default: - None
@Stability(value=Experimental) static EmrContainersStartJobRunProps.Builder builder()
builder in interface TaskStateBasePropsEmrContainersStartJobRunProps.Builder of EmrContainersStartJobRunPropsCopyright © 2022. All rights reserved.