aws.emrcontainers.JobTemplate
Explore with Pulumi AI
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={
        "execution_role_arn": example_aws_iam_role["arn"],
        "release_label": "emr-6.10.0-latest",
        "job_driver": {
            "spark_sql_job_driver": {
                "entry_point": "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={
        "execution_role_arn": "string",
        "job_driver": {
            "spark_sql_job_driver": {
                "entry_point": "string",
                "spark_sql_parameters": "string",
            },
            "spark_submit_job_driver": {
                "entry_point": "string",
                "entry_point_arguments": ["string"],
                "spark_submit_parameters": "string",
            },
        },
        "release_label": "string",
        "configuration_overrides": {
            "application_configurations": [{
                "classification": "string",
                "configurations": [{
                    "classification": "string",
                    "properties": {
                        "string": "string",
                    },
                }],
                "properties": {
                    "string": "string",
                },
            }],
            "monitoring_configuration": {
                "cloud_watch_monitoring_configuration": {
                    "log_group_name": "string",
                    "log_stream_name_prefix": "string",
                },
                "persistent_app_ui": "string",
                "s3_monitoring_configuration": {
                    "log_uri": "string",
                },
            },
        },
        "job_tags": {
            "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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The JobTemplate resource accepts the following input properties:
- JobTemplate JobData Template Job Template Data 
- The job template data which holds values of StartJobRun API request.
- KmsKey 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- JobTemplate JobData Template Job Template Data Args 
- The job template data which holds values of StartJobRun API request.
- KmsKey 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- jobTemplate JobData Template Job Template Data 
- The job template data which holds values of StartJobRun API request.
- kmsKey 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- jobTemplate JobData Template Job Template Data 
- The job template data which holds values of StartJobRun API request.
- kmsKey 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_tagsconfiguration 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_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- jobTemplate Property MapData 
- The job template data which holds values of StartJobRun API request.
- kmsKey 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_tagsconfiguration 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) -> JobTemplatefunc 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)resources:  _:    type: aws:emrcontainers:JobTemplate    get:      id: ${id}- 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.
- JobTemplate JobData Template Job Template Data 
- The job template data which holds values of StartJobRun API request.
- KmsKey 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_tagsconfiguration 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_tagsconfiguration block.
- Arn string
- ARN of the job template.
- JobTemplate JobData Template Job Template Data Args 
- The job template data which holds values of StartJobRun API request.
- KmsKey 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_tagsconfiguration 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_tagsconfiguration block.
- arn String
- ARN of the job template.
- jobTemplate JobData Template Job Template Data 
- The job template data which holds values of StartJobRun API request.
- kmsKey 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_tagsconfiguration 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_tagsconfiguration block.
- arn string
- ARN of the job template.
- jobTemplate JobData Template Job Template Data 
- The job template data which holds values of StartJobRun API request.
- kmsKey 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_tagsconfiguration 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_tagsconfiguration 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_tagsconfiguration 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_tagsconfiguration block.
- arn String
- ARN of the job template.
- jobTemplate Property MapData 
- The job template data which holds values of StartJobRun API request.
- kmsKey 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_tagsconfiguration 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_tagsconfiguration block.
Supporting Types
JobTemplateJobTemplateData, JobTemplateJobTemplateDataArgs          
- ExecutionRole stringArn 
- The execution role ARN of the job run.
- JobDriver 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.
- ReleaseLabel string
- The release version of Amazon EMR.
- ConfigurationOverrides 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.
- ExecutionRole stringArn 
- The execution role ARN of the job run.
- JobDriver 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.
- ReleaseLabel string
- The release version of Amazon EMR.
- ConfigurationOverrides 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.
- executionRole StringArn 
- The execution role ARN of the job run.
- jobDriver 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.
- releaseLabel String
- The release version of Amazon EMR.
- configurationOverrides 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.
- executionRole stringArn 
- The execution role ARN of the job run.
- jobDriver 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.
- releaseLabel string
- The release version of Amazon EMR.
- configurationOverrides 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.
- executionRole StringArn 
- The execution role ARN of the job run.
- jobDriver Property Map
- Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either sparkSqlJobDriver or sparkSubmitJobDriver.
- releaseLabel String
- The release version of Amazon EMR.
- configurationOverrides 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              
- ApplicationConfigurations List<JobTemplate Job Template Data Configuration Overrides Application Configuration> 
- The configurations for the application running by the job run.
- MonitoringConfiguration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration 
- The configurations for monitoring.
- ApplicationConfigurations []JobTemplate Job Template Data Configuration Overrides Application Configuration 
- The configurations for the application running by the job run.
- MonitoringConfiguration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration 
- The configurations for monitoring.
- applicationConfigurations List<JobTemplate Job Template Data Configuration Overrides Application Configuration> 
- The configurations for the application running by the job run.
- monitoringConfiguration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration 
- The configurations for monitoring.
- applicationConfigurations JobTemplate Job Template Data Configuration Overrides Application Configuration[] 
- The configurations for the application running by the job run.
- monitoringConfiguration 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.
- applicationConfigurations List<Property Map>
- The configurations for the application running by the job run.
- monitoringConfiguration Property Map
- The configurations for monitoring.
JobTemplateJobTemplateDataConfigurationOverridesApplicationConfiguration, JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationArgs                  
- Classification string
- The classification within a configuration.
- Configurations
List<JobTemplate 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
[]JobTemplate 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<JobTemplate 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
JobTemplate 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[JobTemplate 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
- The classification within a configuration.
- Properties Dictionary<string, string>
- A set of properties specified within a configuration classification.
- Classification string
- The classification within a configuration.
- Properties map[string]string
- A set of properties specified within a configuration classification.
- classification String
- The classification within a configuration.
- properties Map<String,String>
- A set of properties specified within a configuration classification.
- classification string
- The classification within a configuration.
- properties {[key: string]: string}
- A set of properties specified within a configuration classification.
- classification str
- The classification within a configuration.
- properties Mapping[str, str]
- A set of properties specified within a configuration classification.
- classification String
- The classification within a configuration.
- properties Map<String>
- A set of properties specified within a configuration classification.
JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationArgs                  
- CloudWatch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration 
- Monitoring configurations for CloudWatch.
- PersistentApp stringUi 
- Monitoring configurations for the persistent application UI.
- S3MonitoringConfiguration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration 
- Amazon S3 configuration for monitoring log publishing.
- CloudWatch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration 
- Monitoring configurations for CloudWatch.
- PersistentApp stringUi 
- Monitoring configurations for the persistent application UI.
- S3MonitoringConfiguration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration 
- Amazon S3 configuration for monitoring log publishing.
- cloudWatch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration 
- Monitoring configurations for CloudWatch.
- persistentApp StringUi 
- Monitoring configurations for the persistent application UI.
- s3MonitoringConfiguration JobTemplate Job Template Data Configuration Overrides Monitoring Configuration S3Monitoring Configuration 
- Amazon S3 configuration for monitoring log publishing.
- cloudWatch JobMonitoring Configuration Template Job Template Data Configuration Overrides Monitoring Configuration Cloud Watch Monitoring Configuration 
- Monitoring configurations for CloudWatch.
- persistentApp stringUi 
- Monitoring configurations for the persistent application UI.
- s3MonitoringConfiguration 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.
- cloudWatch Property MapMonitoring Configuration 
- Monitoring configurations for CloudWatch.
- persistentApp StringUi 
- Monitoring configurations for the persistent application UI.
- s3MonitoringConfiguration Property Map
- Amazon S3 configuration for monitoring log publishing.
JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs                          
- LogGroup stringName 
- The name of the log group for log publishing.
- LogStream stringName Prefix 
- The specified name prefix for log streams.
- LogGroup stringName 
- The name of the log group for log publishing.
- LogStream stringName Prefix 
- The specified name prefix for log streams.
- logGroup StringName 
- The name of the log group for log publishing.
- logStream StringName Prefix 
- The specified name prefix for log streams.
- logGroup stringName 
- The name of the log group for log publishing.
- logStream 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.
- logGroup StringName 
- The name of the log group for log publishing.
- logStream StringName Prefix 
- The specified name prefix for log streams.
JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationS3MonitoringConfigurationArgs                      
- LogUri string
- Amazon S3 destination URI for log publishing.
- LogUri string
- Amazon S3 destination URI for log publishing.
- logUri String
- Amazon S3 destination URI for log publishing.
- logUri string
- Amazon S3 destination URI for log publishing.
- log_uri str
- Amazon S3 destination URI for log publishing.
- logUri String
- Amazon S3 destination URI for log publishing.
JobTemplateJobTemplateDataJobDriver, JobTemplateJobTemplateDataJobDriverArgs              
- SparkSql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver 
- The job driver for job type.
- SparkSubmit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver 
- The job driver parameters specified for spark submit.
- SparkSql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver 
- The job driver for job type.
- SparkSubmit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver 
- The job driver parameters specified for spark submit.
- sparkSql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver 
- The job driver for job type.
- sparkSubmit JobJob Driver Template Job Template Data Job Driver Spark Submit Job Driver 
- The job driver parameters specified for spark submit.
- sparkSql JobJob Driver Template Job Template Data Job Driver Spark Sql Job Driver 
- The job driver for job type.
- sparkSubmit 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.
- sparkSql Property MapJob Driver 
- The job driver for job type.
- sparkSubmit Property MapJob Driver 
- The job driver parameters specified for spark submit.
JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver, JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs                      
- EntryPoint string
- The SQL file to be executed.
- SparkSql stringParameters 
- The Spark parameters to be included in the Spark SQL command.
- EntryPoint string
- The SQL file to be executed.
- SparkSql stringParameters 
- The Spark parameters to be included in the Spark SQL command.
- entryPoint String
- The SQL file to be executed.
- sparkSql StringParameters 
- The Spark parameters to be included in the Spark SQL command.
- entryPoint string
- The SQL file to be executed.
- sparkSql 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.
- entryPoint String
- The SQL file to be executed.
- sparkSql StringParameters 
- The Spark parameters to be included in the Spark SQL command.
JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriver, JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriverArgs                      
- EntryPoint string
- The entry point of job application.
- EntryPoint List<string>Arguments 
- The arguments for job application.
- SparkSubmit stringParameters 
- The Spark submit parameters that are used for job runs.
- EntryPoint string
- The entry point of job application.
- EntryPoint []stringArguments 
- The arguments for job application.
- SparkSubmit stringParameters 
- The Spark submit parameters that are used for job runs.
- entryPoint String
- The entry point of job application.
- entryPoint List<String>Arguments 
- The arguments for job application.
- sparkSubmit StringParameters 
- The Spark submit parameters that are used for job runs.
- entryPoint string
- The entry point of job application.
- entryPoint string[]Arguments 
- The arguments for job application.
- sparkSubmit 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.
- entryPoint String
- The entry point of job application.
- entryPoint List<String>Arguments 
- The arguments for job application.
- sparkSubmit 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 awsTerraform Provider.