Try AWS Native preview for resources not in the classic version.
aws.emrcontainers.JobTemplate
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Manages an EMR Containers (EMR on EKS) Job Template.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.emrcontainers.JobTemplate("example", {
jobTemplateData: {
executionRoleArn: exampleAwsIamRole.arn,
releaseLabel: "emr-6.10.0-latest",
jobDriver: {
sparkSqlJobDriver: {
entryPoint: "default",
},
},
},
name: "example",
});
import pulumi
import pulumi_aws as aws
example = aws.emrcontainers.JobTemplate("example",
job_template_data={
"executionRoleArn": example_aws_iam_role["arn"],
"releaseLabel": "emr-6.10.0-latest",
"jobDriver": {
"sparkSqlJobDriver": {
"entryPoint": "default",
},
},
},
name="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/emrcontainers"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := emrcontainers.NewJobTemplate(ctx, "example", &emrcontainers.JobTemplateArgs{
JobTemplateData: &emrcontainers.JobTemplateJobTemplateDataArgs{
ExecutionRoleArn: pulumi.Any(exampleAwsIamRole.Arn),
ReleaseLabel: pulumi.String("emr-6.10.0-latest"),
JobDriver: &emrcontainers.JobTemplateJobTemplateDataJobDriverArgs{
SparkSqlJobDriver: &emrcontainers.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs{
EntryPoint: pulumi.String("default"),
},
},
},
Name: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.EmrContainers.JobTemplate("example", new()
{
JobTemplateData = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataArgs
{
ExecutionRoleArn = exampleAwsIamRole.Arn,
ReleaseLabel = "emr-6.10.0-latest",
JobDriver = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataJobDriverArgs
{
SparkSqlJobDriver = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs
{
EntryPoint = "default",
},
},
},
Name = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.emrcontainers.JobTemplate;
import com.pulumi.aws.emrcontainers.JobTemplateArgs;
import com.pulumi.aws.emrcontainers.inputs.JobTemplateJobTemplateDataArgs;
import com.pulumi.aws.emrcontainers.inputs.JobTemplateJobTemplateDataJobDriverArgs;
import com.pulumi.aws.emrcontainers.inputs.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new JobTemplate("example", JobTemplateArgs.builder()
.jobTemplateData(JobTemplateJobTemplateDataArgs.builder()
.executionRoleArn(exampleAwsIamRole.arn())
.releaseLabel("emr-6.10.0-latest")
.jobDriver(JobTemplateJobTemplateDataJobDriverArgs.builder()
.sparkSqlJobDriver(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs.builder()
.entryPoint("default")
.build())
.build())
.build())
.name("example")
.build());
}
}
resources:
example:
type: aws:emrcontainers:JobTemplate
properties:
jobTemplateData:
executionRoleArn: ${exampleAwsIamRole.arn}
releaseLabel: emr-6.10.0-latest
jobDriver:
sparkSqlJobDriver:
entryPoint: default
name: example
Create JobTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new JobTemplate(name: string, args: JobTemplateArgs, opts?: CustomResourceOptions);
@overload
def JobTemplate(resource_name: str,
args: JobTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def JobTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
job_template_data: Optional[JobTemplateJobTemplateDataArgs] = None,
kms_key_arn: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewJobTemplate(ctx *Context, name string, args JobTemplateArgs, opts ...ResourceOption) (*JobTemplate, error)
public JobTemplate(string name, JobTemplateArgs args, CustomResourceOptions? opts = null)
public JobTemplate(String name, JobTemplateArgs args)
public JobTemplate(String name, JobTemplateArgs args, CustomResourceOptions options)
type: aws:emrcontainers:JobTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args JobTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args JobTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args JobTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args JobTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args JobTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var jobTemplateResource = new Aws.EmrContainers.JobTemplate("jobTemplateResource", new()
{
JobTemplateData = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataArgs
{
ExecutionRoleArn = "string",
JobDriver = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataJobDriverArgs
{
SparkSqlJobDriver = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs
{
EntryPoint = "string",
SparkSqlParameters = "string",
},
SparkSubmitJobDriver = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriverArgs
{
EntryPoint = "string",
EntryPointArguments = new[]
{
"string",
},
SparkSubmitParameters = "string",
},
},
ReleaseLabel = "string",
ConfigurationOverrides = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataConfigurationOverridesArgs
{
ApplicationConfigurations = new[]
{
new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationArgs
{
Classification = "string",
Configurations = new[]
{
new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfigurationArgs
{
Classification = "string",
Properties =
{
{ "string", "string" },
},
},
},
Properties =
{
{ "string", "string" },
},
},
},
MonitoringConfiguration = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationArgs
{
CloudWatchMonitoringConfiguration = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs
{
LogGroupName = "string",
LogStreamNamePrefix = "string",
},
PersistentAppUi = "string",
S3MonitoringConfiguration = new Aws.EmrContainers.Inputs.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfigurationArgs
{
LogUri = "string",
},
},
},
JobTags =
{
{ "string", "string" },
},
},
KmsKeyArn = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := emrcontainers.NewJobTemplate(ctx, "jobTemplateResource", &emrcontainers.JobTemplateArgs{
JobTemplateData: &emrcontainers.JobTemplateJobTemplateDataArgs{
ExecutionRoleArn: pulumi.String("string"),
JobDriver: &emrcontainers.JobTemplateJobTemplateDataJobDriverArgs{
SparkSqlJobDriver: &emrcontainers.JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs{
EntryPoint: pulumi.String("string"),
SparkSqlParameters: pulumi.String("string"),
},
SparkSubmitJobDriver: &emrcontainers.JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriverArgs{
EntryPoint: pulumi.String("string"),
EntryPointArguments: pulumi.StringArray{
pulumi.String("string"),
},
SparkSubmitParameters: pulumi.String("string"),
},
},
ReleaseLabel: pulumi.String("string"),
ConfigurationOverrides: &emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesArgs{
ApplicationConfigurations: emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationArray{
&emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationArgs{
Classification: pulumi.String("string"),
Configurations: emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfigurationArray{
&emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfigurationArgs{
Classification: pulumi.String("string"),
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
Properties: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
MonitoringConfiguration: &emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationArgs{
CloudWatchMonitoringConfiguration: &emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs{
LogGroupName: pulumi.String("string"),
LogStreamNamePrefix: pulumi.String("string"),
},
PersistentAppUi: pulumi.String("string"),
S3MonitoringConfiguration: &emrcontainers.JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfigurationArgs{
LogUri: pulumi.String("string"),
},
},
},
JobTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
KmsKeyArn: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var jobTemplateResource = new JobTemplate("jobTemplateResource", JobTemplateArgs.builder()
.jobTemplateData(JobTemplateJobTemplateDataArgs.builder()
.executionRoleArn("string")
.jobDriver(JobTemplateJobTemplateDataJobDriverArgs.builder()
.sparkSqlJobDriver(JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs.builder()
.entryPoint("string")
.sparkSqlParameters("string")
.build())
.sparkSubmitJobDriver(JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriverArgs.builder()
.entryPoint("string")
.entryPointArguments("string")
.sparkSubmitParameters("string")
.build())
.build())
.releaseLabel("string")
.configurationOverrides(JobTemplateJobTemplateDataConfigurationOverridesArgs.builder()
.applicationConfigurations(JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationArgs.builder()
.classification("string")
.configurations(JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfigurationArgs.builder()
.classification("string")
.properties(Map.of("string", "string"))
.build())
.properties(Map.of("string", "string"))
.build())
.monitoringConfiguration(JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationArgs.builder()
.cloudWatchMonitoringConfiguration(JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs.builder()
.logGroupName("string")
.logStreamNamePrefix("string")
.build())
.persistentAppUi("string")
.s3MonitoringConfiguration(JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfigurationArgs.builder()
.logUri("string")
.build())
.build())
.build())
.jobTags(Map.of("string", "string"))
.build())
.kmsKeyArn("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
job_template_resource = aws.emrcontainers.JobTemplate("jobTemplateResource",
job_template_data={
"executionRoleArn": "string",
"jobDriver": {
"sparkSqlJobDriver": {
"entryPoint": "string",
"sparkSqlParameters": "string",
},
"sparkSubmitJobDriver": {
"entryPoint": "string",
"entryPointArguments": ["string"],
"sparkSubmitParameters": "string",
},
},
"releaseLabel": "string",
"configurationOverrides": {
"applicationConfigurations": [{
"classification": "string",
"configurations": [{
"classification": "string",
"properties": {
"string": "string",
},
}],
"properties": {
"string": "string",
},
}],
"monitoringConfiguration": {
"cloudWatchMonitoringConfiguration": {
"logGroupName": "string",
"logStreamNamePrefix": "string",
},
"persistentAppUi": "string",
"s3MonitoringConfiguration": {
"logUri": "string",
},
},
},
"jobTags": {
"string": "string",
},
},
kms_key_arn="string",
name="string",
tags={
"string": "string",
})
const jobTemplateResource = new aws.emrcontainers.JobTemplate("jobTemplateResource", {
jobTemplateData: {
executionRoleArn: "string",
jobDriver: {
sparkSqlJobDriver: {
entryPoint: "string",
sparkSqlParameters: "string",
},
sparkSubmitJobDriver: {
entryPoint: "string",
entryPointArguments: ["string"],
sparkSubmitParameters: "string",
},
},
releaseLabel: "string",
configurationOverrides: {
applicationConfigurations: [{
classification: "string",
configurations: [{
classification: "string",
properties: {
string: "string",
},
}],
properties: {
string: "string",
},
}],
monitoringConfiguration: {
cloudWatchMonitoringConfiguration: {
logGroupName: "string",
logStreamNamePrefix: "string",
},
persistentAppUi: "string",
s3MonitoringConfiguration: {
logUri: "string",
},
},
},
jobTags: {
string: "string",
},
},
kmsKeyArn: "string",
name: "string",
tags: {
string: "string",
},
});
type: aws:emrcontainers:JobTemplate
properties:
jobTemplateData:
configurationOverrides:
applicationConfigurations:
- classification: string
configurations:
- classification: string
properties:
string: string
properties:
string: string
monitoringConfiguration:
cloudWatchMonitoringConfiguration:
logGroupName: string
logStreamNamePrefix: string
persistentAppUi: string
s3MonitoringConfiguration:
logUri: string
executionRoleArn: string
jobDriver:
sparkSqlJobDriver:
entryPoint: string
sparkSqlParameters: string
sparkSubmitJobDriver:
entryPoint: string
entryPointArguments:
- string
sparkSubmitParameters: string
jobTags:
string: string
releaseLabel: string
kmsKeyArn: string
name: string
tags:
string: string
JobTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The JobTemplate resource accepts the following input properties:
- Job
Template JobData Template Job Template Data - The job template data which holds values of StartJobRun API request.
- Kms
Key stringArn - The KMS key ARN used to encrypt the job template.
- Name string
- The specified name of the job template.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Job
Template JobData Template Job Template Data Args - The job template data which holds values of StartJobRun API request.
- Kms
Key stringArn - The KMS key ARN used to encrypt the job template.
- Name string
- The specified name of the job template.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- job
Template JobData Template Job Template Data - The job template data which holds values of StartJobRun API request.
- kms
Key StringArn - The KMS key ARN used to encrypt the job template.
- name String
- The specified name of the job template.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- job
Template JobData Template Job Template Data - The job template data which holds values of StartJobRun API request.
- kms
Key stringArn - The KMS key ARN used to encrypt the job template.
- name string
- The specified name of the job template.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- job_
template_ Jobdata Template Job Template Data Args - The job template data which holds values of StartJobRun API request.
- kms_
key_ strarn - The KMS key ARN used to encrypt the job template.
- name str
- The specified name of the job template.
- Mapping[str, str]
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- job
Template Property MapData - The job template data which holds values of StartJobRun API request.
- kms
Key StringArn - The KMS key ARN used to encrypt the job template.
- name String
- The specified name of the job template.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the JobTemplate resource produces the following output properties:
Look up Existing JobTemplate Resource
Get an existing JobTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: JobTemplateState, opts?: CustomResourceOptions): JobTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
job_template_data: Optional[JobTemplateJobTemplateDataArgs] = None,
kms_key_arn: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> JobTemplate
func GetJobTemplate(ctx *Context, name string, id IDInput, state *JobTemplateState, opts ...ResourceOption) (*JobTemplate, error)
public static JobTemplate Get(string name, Input<string> id, JobTemplateState? state, CustomResourceOptions? opts = null)
public static JobTemplate get(String name, Output<String> id, JobTemplateState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
- ARN of the job template.
- Job
Template JobData Template Job Template Data - The job template data which holds values of StartJobRun API request.
- Kms
Key stringArn - The KMS key ARN used to encrypt the job template.
- Name string
- The specified name of the job template.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the job template.
- Job
Template JobData Template Job Template Data Args - The job template data which holds values of StartJobRun API request.
- Kms
Key stringArn - The KMS key ARN used to encrypt the job template.
- Name string
- The specified name of the job template.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the job template.
- job
Template JobData Template Job Template Data - The job template data which holds values of StartJobRun API request.
- kms
Key StringArn - The KMS key ARN used to encrypt the job template.
- name String
- The specified name of the job template.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the job template.
- job
Template JobData Template Job Template Data - The job template data which holds values of StartJobRun API request.
- kms
Key stringArn - The KMS key ARN used to encrypt the job template.
- name string
- The specified name of the job template.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the job template.
- job_
template_ Jobdata Template Job Template Data Args - The job template data which holds values of StartJobRun API request.
- kms_
key_ strarn - The KMS key ARN used to encrypt the job template.
- name str
- The specified name of the job template.
- Mapping[str, str]
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the job template.
- job
Template Property MapData - The job template data which holds values of StartJobRun API request.
- kms
Key StringArn - The KMS key ARN used to encrypt the job template.
- name String
- The specified name of the job template.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
JobTemplateJobTemplateData, JobTemplateJobTemplateDataArgs
- Execution
Role stringArn - The execution role ARN of the job run.
- Job
Driver JobTemplate Job Template Data Job Driver - Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- Release
Label string - The release version of Amazon EMR.
- Configuration
Overrides JobTemplate Job Template Data Configuration Overrides - The configuration settings that are used to override defaults configuration.
- Dictionary<string, string>
- The tags assigned to jobs started using the job template.
- Execution
Role stringArn - The execution role ARN of the job run.
- Job
Driver JobTemplate Job Template Data Job Driver - Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- Release
Label string - The release version of Amazon EMR.
- Configuration
Overrides JobTemplate Job Template Data Configuration Overrides - The configuration settings that are used to override defaults configuration.
- map[string]string
- The tags assigned to jobs started using the job template.
- execution
Role StringArn - The execution role ARN of the job run.
- job
Driver JobTemplate Job Template Data Job Driver - Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- release
Label String - The release version of Amazon EMR.
- configuration
Overrides JobTemplate Job Template Data Configuration Overrides - The configuration settings that are used to override defaults configuration.
- Map<String,String>
- The tags assigned to jobs started using the job template.
- execution
Role stringArn - The execution role ARN of the job run.
- job
Driver JobTemplate Job Template Data Job Driver - Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- release
Label string - The release version of Amazon EMR.
- configuration
Overrides JobTemplate Job Template Data Configuration Overrides - The configuration settings that are used to override defaults configuration.
- {[key: string]: string}
- The tags assigned to jobs started using the job template.
- execution_
role_ strarn - The execution role ARN of the job run.
- job_
driver JobTemplate Job Template Data Job Driver - Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- release_
label str - The release version of Amazon EMR.
- configuration_
overrides JobTemplate Job Template Data Configuration Overrides - The configuration settings that are used to override defaults configuration.
- Mapping[str, str]
- The tags assigned to jobs started using the job template.
- execution
Role StringArn - The execution role ARN of the job run.
- job
Driver Property Map - Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- release
Label String - The release version of Amazon EMR.
- configuration
Overrides Property Map - The configuration settings that are used to override defaults configuration.
- Map<String>
- The tags assigned to jobs started using the job template.
JobTemplateJobTemplateDataConfigurationOverrides, JobTemplateJobTemplateDataConfigurationOverridesArgs
- Application
Configurations List<JobTemplate Job Template Data Configuration Overrides Application Configuration> - The configurations for the application running by the job run.
- Monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration - The configurations for monitoring.
- Application
Configurations []JobTemplate Job Template Data Configuration Overrides Application Configuration - The configurations for the application running by the job run.
- Monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration - The configurations for monitoring.
- application
Configurations List<JobTemplate Job Template Data Configuration Overrides Application Configuration> - The configurations for the application running by the job run.
- monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration - The configurations for monitoring.
- application
Configurations JobTemplate Job Template Data Configuration Overrides Application Configuration[] - The configurations for the application running by the job run.
- monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration - The configurations for monitoring.
- application_
configurations Sequence[JobTemplate Job Template Data Configuration Overrides Application Configuration] - The configurations for the application running by the job run.
- monitoring_
configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration - The configurations for monitoring.
- application
Configurations List<Property Map> - The configurations for the application running by the job run.
- monitoring
Configuration Property Map - The configurations for monitoring.
JobTemplateJobTemplateDataConfigurationOverridesApplicationConfiguration, JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationArgs
- Classification string
- The classification within a configuration.
- Configurations
List<Job
Template Job Template Data Configuration Overrides Application Configuration Configuration> - A list of additional configurations to apply within a configuration object.
- Properties Dictionary<string, string>
- A set of properties specified within a configuration classification.
- Classification string
- The classification within a configuration.
- Configurations
[]Job
Template Job Template Data Configuration Overrides Application Configuration Configuration - A list of additional configurations to apply within a configuration object.
- Properties map[string]string
- A set of properties specified within a configuration classification.
- classification String
- The classification within a configuration.
- configurations
List<Job
Template Job Template Data Configuration Overrides Application Configuration Configuration> - A list of additional configurations to apply within a configuration object.
- properties Map<String,String>
- A set of properties specified within a configuration classification.
- classification string
- The classification within a configuration.
- configurations
Job
Template Job Template Data Configuration Overrides Application Configuration Configuration[] - A list of additional configurations to apply within a configuration object.
- properties {[key: string]: string}
- A set of properties specified within a configuration classification.
- classification str
- The classification within a configuration.
- configurations
Sequence[Job
Template Job Template Data Configuration Overrides Application Configuration Configuration] - A list of additional configurations to apply within a configuration object.
- properties Mapping[str, str]
- A set of properties specified within a configuration classification.
- classification String
- The classification within a configuration.
- configurations List<Property Map>
- A list of additional configurations to apply within a configuration object.
- properties Map<String>
- A set of properties specified within a configuration classification.
JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfiguration, JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfigurationArgs
- Classification string
- Properties Dictionary<string, string>
- Classification string
- Properties map[string]string
- classification String
- properties Map<String,String>
- classification string
- properties {[key: string]: string}
- classification str
- properties Mapping[str, str]
- classification String
- properties Map<String>
JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationArgs
- Cloud
Watch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration - Monitoring configurations for CloudWatch.
- Persistent
App stringUi - Monitoring configurations for the persistent application UI.
- S3Monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration - Amazon S3 configuration for monitoring log publishing.
- Cloud
Watch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration - Monitoring configurations for CloudWatch.
- Persistent
App stringUi - Monitoring configurations for the persistent application UI.
- S3Monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration - Amazon S3 configuration for monitoring log publishing.
- cloud
Watch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration - Monitoring configurations for CloudWatch.
- persistent
App StringUi - Monitoring configurations for the persistent application UI.
- s3Monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration - Amazon S3 configuration for monitoring log publishing.
- cloud
Watch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration - Monitoring configurations for CloudWatch.
- persistent
App stringUi - Monitoring configurations for the persistent application UI.
- s3Monitoring
Configuration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration - Amazon S3 configuration for monitoring log publishing.
- cloud_
watch_ Jobmonitoring_ configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration - Monitoring configurations for CloudWatch.
- persistent_
app_ strui - Monitoring configurations for the persistent application UI.
- s3_
monitoring_ Jobconfiguration Template Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration - Amazon S3 configuration for monitoring log publishing.
- cloud
Watch Property MapMonitoring Configuration - Monitoring configurations for CloudWatch.
- persistent
App StringUi - Monitoring configurations for the persistent application UI.
- s3Monitoring
Configuration Property Map - Amazon S3 configuration for monitoring log publishing.
JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs
- Log
Group stringName - The name of the log group for log publishing.
- Log
Stream stringName Prefix - The specified name prefix for log streams.
- Log
Group stringName - The name of the log group for log publishing.
- Log
Stream stringName Prefix - The specified name prefix for log streams.
- log
Group StringName - The name of the log group for log publishing.
- log
Stream StringName Prefix - The specified name prefix for log streams.
- log
Group stringName - The name of the log group for log publishing.
- log
Stream stringName Prefix - The specified name prefix for log streams.
- log_
group_ strname - The name of the log group for log publishing.
- log_
stream_ strname_ prefix - The specified name prefix for log streams.
- log
Group StringName - The name of the log group for log publishing.
- log
Stream StringName Prefix - The specified name prefix for log streams.
JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfigurationArgs
- Log
Uri string - Amazon S3 destination URI for log publishing.
- Log
Uri string - Amazon S3 destination URI for log publishing.
- log
Uri String - Amazon S3 destination URI for log publishing.
- log
Uri string - Amazon S3 destination URI for log publishing.
- log_
uri str - Amazon S3 destination URI for log publishing.
- log
Uri String - Amazon S3 destination URI for log publishing.
JobTemplateJobTemplateDataJobDriver, JobTemplateJobTemplateDataJobDriverArgs
- Spark
Sql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver - The job driver for job type.
- Spark
Submit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver - The job driver parameters specified for spark submit.
- Spark
Sql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver - The job driver for job type.
- Spark
Submit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver - The job driver parameters specified for spark submit.
- spark
Sql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver - The job driver for job type.
- spark
Submit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver - The job driver parameters specified for spark submit.
- spark
Sql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver - The job driver for job type.
- spark
Submit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver - The job driver parameters specified for spark submit.
- spark_
sql_ Jobjob_ driver Template Job Template Data Job Driver Spark Sql Job Driver - The job driver for job type.
- spark_
submit_ Jobjob_ driver Template Job Template Data Job Driver Spark Submit Job Driver - The job driver parameters specified for spark submit.
- spark
Sql Property MapJob Driver - The job driver for job type.
- spark
Submit Property MapJob Driver - The job driver parameters specified for spark submit.
JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver, JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs
- Entry
Point string - The SQL file to be executed.
- Spark
Sql stringParameters - The Spark parameters to be included in the Spark SQL command.
- Entry
Point string - The SQL file to be executed.
- Spark
Sql stringParameters - The Spark parameters to be included in the Spark SQL command.
- entry
Point String - The SQL file to be executed.
- spark
Sql StringParameters - The Spark parameters to be included in the Spark SQL command.
- entry
Point string - The SQL file to be executed.
- spark
Sql stringParameters - The Spark parameters to be included in the Spark SQL command.
- entry_
point str - The SQL file to be executed.
- spark_
sql_ strparameters - The Spark parameters to be included in the Spark SQL command.
- entry
Point String - The SQL file to be executed.
- spark
Sql StringParameters - The Spark parameters to be included in the Spark SQL command.
JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriver, JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriverArgs
- Entry
Point string - The entry point of job application.
- Entry
Point List<string>Arguments - The arguments for job application.
- Spark
Submit stringParameters - The Spark submit parameters that are used for job runs.
- Entry
Point string - The entry point of job application.
- Entry
Point []stringArguments - The arguments for job application.
- Spark
Submit stringParameters - The Spark submit parameters that are used for job runs.
- entry
Point String - The entry point of job application.
- entry
Point List<String>Arguments - The arguments for job application.
- spark
Submit StringParameters - The Spark submit parameters that are used for job runs.
- entry
Point string - The entry point of job application.
- entry
Point string[]Arguments - The arguments for job application.
- spark
Submit stringParameters - The Spark submit parameters that are used for job runs.
- entry_
point str - The entry point of job application.
- entry_
point_ Sequence[str]arguments - The arguments for job application.
- spark_
submit_ strparameters - The Spark submit parameters that are used for job runs.
- entry
Point String - The entry point of job application.
- entry
Point List<String>Arguments - The arguments for job application.
- spark
Submit StringParameters - The Spark submit parameters that are used for job runs.
Import
Using pulumi import
, import EKS job templates using the id
. For example:
$ pulumi import aws:emrcontainers/jobTemplate:JobTemplate example a1b2c3d4e5f6g7h8i9j10k11l
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.