1. Packages
  2. AWS
  3. API Docs
  4. emrcontainers
  5. JobTemplate
AWS v6.55.0 published on Monday, Oct 7, 2024 by Pulumi

aws.emrcontainers.JobTemplate

Explore with Pulumi AI

aws logo
AWS v6.55.0 published on Monday, Oct 7, 2024 by Pulumi

    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={
            "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:

    JobTemplateData JobTemplateJobTemplateData
    The job template data which holds values of StartJobRun API request.
    KmsKeyArn string
    The KMS key ARN used to encrypt the job template.
    Name string
    The specified name of the job template.
    Tags 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.
    JobTemplateData JobTemplateJobTemplateDataArgs
    The job template data which holds values of StartJobRun API request.
    KmsKeyArn string
    The KMS key ARN used to encrypt the job template.
    Name string
    The specified name of the job template.
    Tags 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.
    jobTemplateData JobTemplateJobTemplateData
    The job template data which holds values of StartJobRun API request.
    kmsKeyArn String
    The KMS key ARN used to encrypt the job template.
    name String
    The specified name of the job template.
    tags 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.
    jobTemplateData JobTemplateJobTemplateData
    The job template data which holds values of StartJobRun API request.
    kmsKeyArn string
    The KMS key ARN used to encrypt the job template.
    name string
    The specified name of the job template.
    tags {[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_data JobTemplateJobTemplateDataArgs
    The job template data which holds values of StartJobRun API request.
    kms_key_arn str
    The KMS key ARN used to encrypt the job template.
    name str
    The specified name of the job template.
    tags 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.
    jobTemplateData Property Map
    The job template data which holds values of StartJobRun API request.
    kmsKeyArn String
    The KMS key ARN used to encrypt the job template.
    name String
    The specified name of the job template.
    tags 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:

    Arn string
    ARN of the job template.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the job template.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the job template.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the job template.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the job template.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the job template.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    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.
    The following state arguments are supported:
    Arn string
    ARN of the job template.
    JobTemplateData JobTemplateJobTemplateData
    The job template data which holds values of StartJobRun API request.
    KmsKeyArn string
    The KMS key ARN used to encrypt the job template.
    Name string
    The specified name of the job template.
    Tags 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.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the job template.
    JobTemplateData JobTemplateJobTemplateDataArgs
    The job template data which holds values of StartJobRun API request.
    KmsKeyArn string
    The KMS key ARN used to encrypt the job template.
    Name string
    The specified name of the job template.
    Tags 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.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the job template.
    jobTemplateData JobTemplateJobTemplateData
    The job template data which holds values of StartJobRun API request.
    kmsKeyArn String
    The KMS key ARN used to encrypt the job template.
    name String
    The specified name of the job template.
    tags 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.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the job template.
    jobTemplateData JobTemplateJobTemplateData
    The job template data which holds values of StartJobRun API request.
    kmsKeyArn string
    The KMS key ARN used to encrypt the job template.
    name string
    The specified name of the job template.
    tags {[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.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the job template.
    job_template_data JobTemplateJobTemplateDataArgs
    The job template data which holds values of StartJobRun API request.
    kms_key_arn str
    The KMS key ARN used to encrypt the job template.
    name str
    The specified name of the job template.
    tags 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.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the job template.
    jobTemplateData Property Map
    The job template data which holds values of StartJobRun API request.
    kmsKeyArn String
    The KMS key ARN used to encrypt the job template.
    name String
    The specified name of the job template.
    tags 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.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Supporting Types

    JobTemplateJobTemplateData, JobTemplateJobTemplateDataArgs

    ExecutionRoleArn string
    The execution role ARN of the job run.
    JobDriver JobTemplateJobTemplateDataJobDriver
    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 JobTemplateJobTemplateDataConfigurationOverrides
    The configuration settings that are used to override defaults configuration.
    JobTags Dictionary<string, string>
    The tags assigned to jobs started using the job template.
    ExecutionRoleArn string
    The execution role ARN of the job run.
    JobDriver JobTemplateJobTemplateDataJobDriver
    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 JobTemplateJobTemplateDataConfigurationOverrides
    The configuration settings that are used to override defaults configuration.
    JobTags map[string]string
    The tags assigned to jobs started using the job template.
    executionRoleArn String
    The execution role ARN of the job run.
    jobDriver JobTemplateJobTemplateDataJobDriver
    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 JobTemplateJobTemplateDataConfigurationOverrides
    The configuration settings that are used to override defaults configuration.
    jobTags Map<String,String>
    The tags assigned to jobs started using the job template.
    executionRoleArn string
    The execution role ARN of the job run.
    jobDriver JobTemplateJobTemplateDataJobDriver
    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 JobTemplateJobTemplateDataConfigurationOverrides
    The configuration settings that are used to override defaults configuration.
    jobTags {[key: string]: string}
    The tags assigned to jobs started using the job template.
    execution_role_arn str
    The execution role ARN of the job run.
    job_driver JobTemplateJobTemplateDataJobDriver
    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 JobTemplateJobTemplateDataConfigurationOverrides
    The configuration settings that are used to override defaults configuration.
    job_tags Mapping[str, str]
    The tags assigned to jobs started using the job template.
    executionRoleArn String
    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.
    jobTags Map<String>
    The tags assigned to jobs started using the job template.

    JobTemplateJobTemplateDataConfigurationOverrides, JobTemplateJobTemplateDataConfigurationOverridesArgs

    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<JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfiguration>
    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 []JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfiguration
    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<JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfiguration>
    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 JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfiguration[]
    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[JobTemplateJobTemplateDataConfigurationOverridesApplicationConfigurationConfiguration]
    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

    cloudWatchMonitoringConfiguration Property Map
    Monitoring configurations for CloudWatch.
    persistentAppUi String
    Monitoring configurations for the persistent application UI.
    s3MonitoringConfiguration Property Map
    Amazon S3 configuration for monitoring log publishing.

    JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfiguration, JobTemplateJobTemplateDataConfigurationOverridesMonitoringConfigurationCloudWatchMonitoringConfigurationArgs

    LogGroupName string
    The name of the log group for log publishing.
    LogStreamNamePrefix string
    The specified name prefix for log streams.
    LogGroupName string
    The name of the log group for log publishing.
    LogStreamNamePrefix string
    The specified name prefix for log streams.
    logGroupName String
    The name of the log group for log publishing.
    logStreamNamePrefix String
    The specified name prefix for log streams.
    logGroupName string
    The name of the log group for log publishing.
    logStreamNamePrefix string
    The specified name prefix for log streams.
    log_group_name str
    The name of the log group for log publishing.
    log_stream_name_prefix str
    The specified name prefix for log streams.
    logGroupName String
    The name of the log group for log publishing.
    logStreamNamePrefix String
    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

    sparkSqlJobDriver Property Map
    The job driver for job type.
    sparkSubmitJobDriver Property Map
    The job driver parameters specified for spark submit.

    JobTemplateJobTemplateDataJobDriverSparkSqlJobDriver, JobTemplateJobTemplateDataJobDriverSparkSqlJobDriverArgs

    EntryPoint string
    The SQL file to be executed.
    SparkSqlParameters string
    The Spark parameters to be included in the Spark SQL command.
    EntryPoint string
    The SQL file to be executed.
    SparkSqlParameters string
    The Spark parameters to be included in the Spark SQL command.
    entryPoint String
    The SQL file to be executed.
    sparkSqlParameters String
    The Spark parameters to be included in the Spark SQL command.
    entryPoint string
    The SQL file to be executed.
    sparkSqlParameters string
    The Spark parameters to be included in the Spark SQL command.
    entry_point str
    The SQL file to be executed.
    spark_sql_parameters str
    The Spark parameters to be included in the Spark SQL command.
    entryPoint String
    The SQL file to be executed.
    sparkSqlParameters String
    The Spark parameters to be included in the Spark SQL command.

    JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriver, JobTemplateJobTemplateDataJobDriverSparkSubmitJobDriverArgs

    EntryPoint string
    The entry point of job application.
    EntryPointArguments List<string>
    The arguments for job application.
    SparkSubmitParameters string
    The Spark submit parameters that are used for job runs.
    EntryPoint string
    The entry point of job application.
    EntryPointArguments []string
    The arguments for job application.
    SparkSubmitParameters string
    The Spark submit parameters that are used for job runs.
    entryPoint String
    The entry point of job application.
    entryPointArguments List<String>
    The arguments for job application.
    sparkSubmitParameters String
    The Spark submit parameters that are used for job runs.
    entryPoint string
    The entry point of job application.
    entryPointArguments string[]
    The arguments for job application.
    sparkSubmitParameters string
    The Spark submit parameters that are used for job runs.
    entry_point str
    The entry point of job application.
    entry_point_arguments Sequence[str]
    The arguments for job application.
    spark_submit_parameters str
    The Spark submit parameters that are used for job runs.
    entryPoint String
    The entry point of job application.
    entryPointArguments List<String>
    The arguments for job application.
    sparkSubmitParameters String
    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.
    aws logo
    AWS v6.55.0 published on Monday, Oct 7, 2024 by Pulumi