Class CfnJobTemplatePropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.emrcontainers.CfnJobTemplatePropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-09-30T11:05:09.873Z")
@Stability(Stable)
public class CfnJobTemplatePropsMixin
extends Mixin
implements software.constructs.IMixin
Represents an Amazon EMR on EKS job template.
A job template stores the values of a StartJobRun API request in a reusable template, so they can be used to start a job run or to enforce certain values in a StartJobRun API request.
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.*;
import software.amazon.awscdk.*;
ConfigurationProperty configurationProperty_;
IMergeStrategy mergeStrategy;
CfnJobTemplatePropsMixin cfnJobTemplatePropsMixin = CfnJobTemplatePropsMixin.Builder.create(CfnJobTemplateMixinProps.builder()
.jobTemplateData(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())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnJobTemplatePropsMixin.static interfaceA configuration specification to be used when provisioning virtual clusters, which can include configurations for applications and software bundled with Amazon EMR on EKS.static interfaceSpecify the driver that the job runs on.static interfaceThe values of a StartJobRun API request used in job runs started using the job template.static interfaceA configuration for CloudWatch monitoring.static interfaceA configuration specification to be used to override existing configurations.static interfaceConfiguration setting for monitoring.static interfaceAmazon S3 configuration for monitoring log publishing.static interfaceThe job driver for job type.static interfaceThe information about job driver for Spark submit.static interfaceThe configuration of a job template parameter.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::EMRContainers::JobTemplate.CfnJobTemplatePropsMixin(CfnJobTemplateMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EMRContainers::JobTemplate.protectedCfnJobTemplatePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnJobTemplatePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnJobTemplateMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnJobTemplatePropsMixin
protected CfnJobTemplatePropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnJobTemplatePropsMixin
protected CfnJobTemplatePropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnJobTemplatePropsMixin
@Stability(Stable) public CfnJobTemplatePropsMixin(@NotNull CfnJobTemplateMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::EMRContainers::JobTemplate.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnJobTemplatePropsMixin
Create a mixin to apply properties toAWS::EMRContainers::JobTemplate.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-