JobTemplateDataProperty Struct
The values of a StartJobRun API request used in job runs started using the job template.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emrcontainers as emrcontainers } from 'aws-cdk-lib';
declare const configurationProperty_: emrcontainers.CfnJobTemplate.ConfigurationProperty;
const jobTemplateDataProperty: emrcontainers.CfnJobTemplate.JobTemplateDataProperty = {
executionRoleArn: 'executionRoleArn',
jobDriver: {
sparkSqlJobDriver: {
entryPoint: 'entryPoint',
sparkSqlParameters: 'sparkSqlParameters',
},
sparkSubmitJobDriver: {
entryPoint: 'entryPoint',
// the properties below are optional
entryPointArguments: ['entryPointArguments'],
sparkSubmitParameters: 'sparkSubmitParameters',
},
},
releaseLabel: 'releaseLabel',
// the properties below are optional
configurationOverrides: {
applicationConfiguration: [{
classification: 'classification',
// the properties below are optional
configurations: [configurationProperty_],
properties: {
propertiesKey: 'properties',
},
}],
monitoringConfiguration: {
cloudWatchMonitoringConfiguration: {
logGroupName: 'logGroupName',
logStreamNamePrefix: 'logStreamNamePrefix',
},
persistentAppUi: 'persistentAppUi',
s3MonitoringConfiguration: {
logUri: 'logUri',
},
},
},
jobTags: {
jobTagsKey: 'jobTags',
},
parameterConfiguration: {
parameterConfigurationKey: {
defaultValue: 'defaultValue',
type: 'type',
},
},
};
Properties
configurationOverridesIResolvable | CfnJobTemplate.ParametricConfigurationOverridesPropertyconfiguration_overridestyping.Union[IResolvable, ParametricConfigurationOverridesProperty]configurationOverridesIResolvableConfigurationOverridesIResolvableConfigurationOverridesinterface{}#A configuration specification to be used to override existing configurations.
This data type allows job template parameters to be specified within.
executionRoleArnstringexecution_role_arnstrexecutionRoleArnStringExecutionRoleArnstringExecutionRoleArn*stringrequired#The execution role ARN of the job run, or a template parameter reference.
jobDriverIResolvable | CfnJobTemplate.JobDriverPropertyjob_drivertyping.Union[IResolvable, JobDriverProperty]jobDriverIResolvableJobDriverIResolvableJobDriverinterface{}required#Specify the driver that the job runs on.
Exactly one of the two available job drivers is required, either SparkSqlJobDriver or SparkSubmitJobDriver.
jobTagsIResolvable | { [key: string]: string }job_tagstyping.Union[IResolvable, typing.Mapping[str, str]]jobTagsIResolvableJobTagsIResolvableJobTagsinterface{}#The tags assigned to jobs started using the job template.
parameterConfigurationIResolvable | { [key: string]: IResolvable | CfnJobTemplate.TemplateParameterConfigurationProperty }parameter_configurationtyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, TemplateParameterConfigurationProperty]]]parameterConfigurationIResolvableParameterConfigurationIResolvableParameterConfigurationinterface{}#The configuration of parameters existing in the job template.
The release version of Amazon EMR, or a template parameter reference.