interface JobTemplateDataProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EMRContainers.CfnJobTemplate.JobTemplateDataProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemrcontainers#CfnJobTemplate_JobTemplateDataProperty |
Java | software.amazon.awscdk.services.emrcontainers.CfnJobTemplate.JobTemplateDataProperty |
Python | aws_cdk.aws_emrcontainers.CfnJobTemplate.JobTemplateDataProperty |
TypeScript | aws-cdk-lib » aws_emrcontainers » CfnJobTemplate » JobTemplateDataProperty |
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 { 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
| Name | Type | Description |
|---|---|---|
| execution | string | The execution role ARN of the job run, or a template parameter reference. |
| job | IResolvable | Job | Specify the driver that the job runs on. |
| release | string | The release version of Amazon EMR, or a template parameter reference. |
| configuration | IResolvable | Parametric | A configuration specification to be used to override existing configurations. |
| job | IResolvable | { [string]: string } | The tags assigned to jobs started using the job template. |
| parameter | IResolvable | { [string]: IResolvable | Template } | The configuration of parameters existing in the job template. |
executionRoleArn
Type:
string
The execution role ARN of the job run, or a template parameter reference.
jobDriver
Type:
IResolvable | Job
Specify the driver that the job runs on.
Exactly one of the two available job drivers is required, either SparkSqlJobDriver or SparkSubmitJobDriver.
releaseLabel
Type:
string
The release version of Amazon EMR, or a template parameter reference.
configurationOverrides?
Type:
IResolvable | Parametric
(optional)
A configuration specification to be used to override existing configurations.
This data type allows job template parameters to be specified within.
jobTags?
Type:
IResolvable | { [string]: string }
(optional)
The tags assigned to jobs started using the job template.
parameterConfiguration?
Type:
IResolvable | { [string]: IResolvable | Template }
(optional)
The configuration of parameters existing in the job template.

.NET
Go
Java
Python
TypeScript