Interface CfnJobTemplateProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnJobTemplateProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:04:52.158Z")
@Stability(Stable)
public interface CfnJobTemplateProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnJobTemplate.
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_;
CfnJobTemplateProps cfnJobTemplateProps = CfnJobTemplateProps.builder()
.jobTemplateData(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())
.name("name")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnJobTemplatePropsstatic final classAn implementation forCfnJobTemplateProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnJobTemplateProps.Builderbuilder()The values of a StartJobRun API request used in job runs started using the job template.getName()The specified name of the job template.getTags()The tags that are associated with the job template.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getJobTemplateData
The values of a StartJobRun API request used in job runs started using the job template.Returns union: either
IResolvableorCfnJobTemplate.JobTemplateDataProperty- See Also:
-
getName
The specified name of the job template.- See Also:
-
getTags
The tags that are associated with the job template.- See Also:
-
builder
- Returns:
- a
CfnJobTemplateProps.BuilderofCfnJobTemplateProps
-