interface CfnJobTemplateProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EMRContainers.CfnJobTemplateProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsemrcontainers#CfnJobTemplateProps |
Java | software.amazon.awscdk.services.emrcontainers.CfnJobTemplateProps |
Python | aws_cdk.aws_emrcontainers.CfnJobTemplateProps |
TypeScript | aws-cdk-lib » aws_emrcontainers » CfnJobTemplateProps |
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 { aws_emrcontainers as emrcontainers } from 'aws-cdk-lib';
declare const configurationProperty_: emrcontainers.CfnJobTemplate.ConfigurationProperty;
const cfnJobTemplateProps: emrcontainers.CfnJobTemplateProps = {
jobTemplateData: {
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',
},
},
},
name: 'name',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| job | IResolvable | Job | The values of a StartJobRun API request used in job runs started using the job template. |
| name | string | The specified name of the job template. |
| tags? | Cfn[] | The tags that are associated with the job template. |
jobTemplateData
Type:
IResolvable | Job
The values of a StartJobRun API request used in job runs started using the job template.
name
Type:
string
The specified name of the job template.
tags?
Type:
Cfn[]
(optional)
The tags that are associated with the job template.

.NET
Go
Java
Python
TypeScript