Interface CfnJobTemplate.JobTemplateDataProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobTemplate.JobTemplateDataProperty.Jsii$Proxy
- Enclosing class:
CfnJobTemplate
@Stability(Stable)
public static interface CfnJobTemplate.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.services.emrcontainers.*;
ConfigurationProperty configurationProperty_;
JobTemplateDataProperty jobTemplateDataProperty = JobTemplateDataProperty.builder()
.executionRoleArn("executionRoleArn")
.jobDriver(JobDriverProperty.builder()
.sparkSqlJobDriver(SparkSqlJobDriverProperty.builder()
.entryPoint("entryPoint")
.sparkSqlParameters("sparkSqlParameters")
.build())
.sparkSubmitJobDriver(SparkSubmitJobDriverProperty.builder()
.entryPoint("entryPoint")
// the properties below are optional
.entryPointArguments(List.of("entryPointArguments"))
.sparkSubmitParameters("sparkSubmitParameters")
.build())
.build())
.releaseLabel("releaseLabel")
// the properties below are optional
.configurationOverrides(ParametricConfigurationOverridesProperty.builder()
.applicationConfiguration(List.of(ConfigurationProperty.builder()
.classification("classification")
// the properties below are optional
.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())
.jobTags(Map.of(
"jobTagsKey", "jobTags"))
.parameterConfiguration(Map.of(
"parameterConfigurationKey", TemplateParameterConfigurationProperty.builder()
.defaultValue("defaultValue")
.type("type")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobTemplate.JobTemplateDataPropertystatic final classAn implementation forCfnJobTemplate.JobTemplateDataProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA configuration specification to be used to override existing configurations.The execution role ARN of the job run, or a template parameter reference.Specify 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.The release version of Amazon EMR, or a template parameter reference.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
IResolvableorCfnJobTemplate.JobDriverProperty- See Also:
-
getReleaseLabel
The release version of Amazon EMR, or a template parameter reference.- See Also:
-
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
IResolvableorCfnJobTemplate.ParametricConfigurationOverridesProperty- 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, eitherIResolvableorCfnJobTemplate.TemplateParameterConfigurationProperty>- See Also:
-
builder
-