Interface CfnJobTemplatePropsMixin.JobTemplateDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobTemplatePropsMixin.JobTemplateDataProperty.Jsii$Proxy
- Enclosing class:
CfnJobTemplatePropsMixin
@Stability(Stable)
public static interface CfnJobTemplatePropsMixin.JobTemplateDataProperty
extends software.amazon.jsii.JsiiSerializable
The values of a StartJobRun API request used in job runs started using the job template.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.emrcontainers.*;
ConfigurationProperty configurationProperty_;
JobTemplateDataProperty jobTemplateDataProperty = JobTemplateDataProperty.builder()
.configurationOverrides(ParametricConfigurationOverridesProperty.builder()
.applicationConfiguration(List.of(ConfigurationProperty.builder()
.classification("classification")
.configurations(List.of(configurationProperty_))
.properties(Map.of(
"propertiesKey", "properties"))
.build()))
.monitoringConfiguration(ParametricMonitoringConfigurationProperty.builder()
.cloudWatchMonitoringConfiguration(ParametricCloudWatchMonitoringConfigurationProperty.builder()
.logGroupName("logGroupName")
.logStreamNamePrefix("logStreamNamePrefix")
.build())
.persistentAppUi("persistentAppUi")
.s3MonitoringConfiguration(ParametricS3MonitoringConfigurationProperty.builder()
.logUri("logUri")
.build())
.build())
.build())
.executionRoleArn("executionRoleArn")
.jobDriver(JobDriverProperty.builder()
.sparkSqlJobDriver(SparkSqlJobDriverProperty.builder()
.entryPoint("entryPoint")
.sparkSqlParameters("sparkSqlParameters")
.build())
.sparkSubmitJobDriver(SparkSubmitJobDriverProperty.builder()
.entryPoint("entryPoint")
.entryPointArguments(List.of("entryPointArguments"))
.sparkSubmitParameters("sparkSubmitParameters")
.build())
.build())
.jobTags(Map.of(
"jobTagsKey", "jobTags"))
.parameterConfiguration(Map.of(
"parameterConfigurationKey", TemplateParameterConfigurationProperty.builder()
.defaultValue("defaultValue")
.type("type")
.build()))
.releaseLabel("releaseLabel")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobTemplatePropsMixin.JobTemplateDataPropertystatic final classAn implementation forCfnJobTemplatePropsMixin.JobTemplateDataProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA configuration specification to be used to override existing configurations.default StringThe execution role ARN of the job run, or a template parameter reference.default ObjectSpecify the driver that the job runs on.default ObjectThe tags assigned to jobs started using the job template.default ObjectThe configuration of parameters existing in the job template.default StringThe release version of Amazon EMR, or a template parameter reference.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConfigurationOverrides
A configuration specification to be used to override existing configurations.This data type allows job template parameters to be specified within.
Returns union: either
IResolvableorCfnJobTemplatePropsMixin.ParametricConfigurationOverridesProperty- See Also:
-
getExecutionRoleArn
The execution role ARN of the job run, or a template parameter reference.- See Also:
-
getJobDriver
Specify the driver that the job runs on.Exactly one of the two available job drivers is required, either SparkSqlJobDriver or SparkSubmitJobDriver.
Returns union: either
IResolvableorCfnJobTemplatePropsMixin.JobDriverProperty- See Also:
-
getJobTags
The tags assigned to jobs started using the job template.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getParameterConfiguration
The configuration of parameters existing in the job template.Returns union: either
IResolvableor Mapinvalid input: '<'String, eitherIResolvableorCfnJobTemplatePropsMixin.TemplateParameterConfigurationProperty>- See Also:
-
getReleaseLabel
The release version of Amazon EMR, or a template parameter reference.- See Also:
-
builder
-