1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. emrcontainers
  6. JobTemplate

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.81.0
published on Monday, Sep 28, 2026 by Pulumi

    Represents an Amazon EMR on EKS job template. A job template stores the values of a StartJobRun API request in a reusable template, so they can be used to start a job run or to enforce certain values in a StartJobRun API request.

    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[JobTemplateDataArgs] = None,
                    name: Optional[str] = None,
                    tags: Optional[Sequence[_root_inputs.CreateOnlyTagArgs]] = 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-native:emrcontainers:JobTemplate
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_emrcontainers_job_template" "name" {
        # resource properties
    }

    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.

    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:

    JobTemplateData Pulumi.AwsNative.EmrContainers.Inputs.JobTemplateData
    Name string
    The specified name of the job template.
    Tags List<Pulumi.AwsNative.Inputs.CreateOnlyTag>
    The tags that are associated with the job template.
    JobTemplateData JobTemplateDataArgs
    Name string
    The specified name of the job template.
    Tags CreateOnlyTagArgs
    The tags that are associated with the job template.
    job_template_data object
    name string
    The specified name of the job template.
    tags list(object)
    The tags that are associated with the job template.
    jobTemplateData JobTemplateData
    name String
    The specified name of the job template.
    tags List<CreateOnlyTag>
    The tags that are associated with the job template.
    jobTemplateData JobTemplateData
    name string
    The specified name of the job template.
    tags CreateOnlyTag[]
    The tags that are associated with the job template.
    job_template_data JobTemplateDataArgs
    name str
    The specified name of the job template.
    tags Sequence[CreateOnlyTagArgs]
    The tags that are associated with the job template.
    jobTemplateData Property Map
    name String
    The specified name of the job template.
    tags List<Property Map>
    The tags that are associated with the job template.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the JobTemplate resource produces the following output properties:

    Arn string
    The ARN of the job template.
    AwsId string
    The ID of the job template.
    CreatedAt string
    The date and time when the job template was created.
    CreatedBy string
    The user who created the job template.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the job template.
    AwsId string
    The ID of the job template.
    CreatedAt string
    The date and time when the job template was created.
    CreatedBy string
    The user who created the job template.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the job template.
    aws_id string
    The ID of the job template.
    created_at string
    The date and time when the job template was created.
    created_by string
    The user who created the job template.
    id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the job template.
    awsId String
    The ID of the job template.
    createdAt String
    The date and time when the job template was created.
    createdBy String
    The user who created the job template.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the job template.
    awsId string
    The ID of the job template.
    createdAt string
    The date and time when the job template was created.
    createdBy string
    The user who created the job template.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the job template.
    aws_id str
    The ID of the job template.
    created_at str
    The date and time when the job template was created.
    created_by str
    The user who created the job template.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the job template.
    awsId String
    The ID of the job template.
    createdAt String
    The date and time when the job template was created.
    createdBy String
    The user who created the job template.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    CreateOnlyTag, CreateOnlyTagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    JobTemplateConfiguration, JobTemplateConfigurationArgs

    A configuration specification to be used when provisioning virtual clusters, which can include configurations for applications and software bundled with Amazon EMR on EKS.
    Classification string
    The classification within a configuration.
    Configurations List<Pulumi.AwsNative.EmrContainers.Inputs.JobTemplateConfiguration>
    Properties Dictionary<string, string>
    A set of properties specified within a configuration classification.
    Classification string
    The classification within a configuration.
    Configurations []JobTemplateConfiguration
    Properties map[string]string
    A set of properties specified within a configuration classification.
    classification string
    The classification within a configuration.
    configurations list(object)
    properties map(string)
    A set of properties specified within a configuration classification.
    classification String
    The classification within a configuration.
    configurations List<JobTemplateConfiguration>
    properties Map<String,String>
    A set of properties specified within a configuration classification.
    classification string
    The classification within a configuration.
    configurations JobTemplateConfiguration[]
    properties {[key: string]: string}
    A set of properties specified within a configuration classification.
    classification str
    The classification within a configuration.
    configurations Sequence[JobTemplateConfiguration]
    properties Mapping[str, str]
    A set of properties specified within a configuration classification.
    classification String
    The classification within a configuration.
    configurations List<Property Map>
    properties Map<String>
    A set of properties specified within a configuration classification.

    JobTemplateData, JobTemplateDataArgs

    The values of a StartJobRun API request used in job runs started using the job template.
    ExecutionRoleArn string
    The execution role ARN of the job run, or a template parameter reference.
    JobDriver Pulumi.AwsNative.EmrContainers.Inputs.JobTemplateJobDriver
    ReleaseLabel string
    The release version of Amazon EMR, or a template parameter reference.
    ConfigurationOverrides Pulumi.AwsNative.EmrContainers.Inputs.JobTemplateParametricConfigurationOverrides
    JobTags Dictionary<string, string>
    The tags assigned to jobs started using the job template.
    ParameterConfiguration Dictionary<string, Pulumi.AwsNative.EmrContainers.Inputs.JobTemplateTemplateParameterConfiguration>
    The configuration of parameters existing in the job template.
    ExecutionRoleArn string
    The execution role ARN of the job run, or a template parameter reference.
    JobDriver JobTemplateJobDriver
    ReleaseLabel string
    The release version of Amazon EMR, or a template parameter reference.
    ConfigurationOverrides JobTemplateParametricConfigurationOverrides
    JobTags map[string]string
    The tags assigned to jobs started using the job template.
    ParameterConfiguration map[string]JobTemplateTemplateParameterConfiguration
    The configuration of parameters existing in the job template.
    execution_role_arn string
    The execution role ARN of the job run, or a template parameter reference.
    job_driver object
    release_label string
    The release version of Amazon EMR, or a template parameter reference.
    configuration_overrides object
    job_tags map(string)
    The tags assigned to jobs started using the job template.
    parameter_configuration map(object)
    The configuration of parameters existing in the job template.
    executionRoleArn String
    The execution role ARN of the job run, or a template parameter reference.
    jobDriver JobTemplateJobDriver
    releaseLabel String
    The release version of Amazon EMR, or a template parameter reference.
    configurationOverrides JobTemplateParametricConfigurationOverrides
    jobTags Map<String,String>
    The tags assigned to jobs started using the job template.
    parameterConfiguration Map<String,JobTemplateTemplateParameterConfiguration>
    The configuration of parameters existing in the job template.
    executionRoleArn string
    The execution role ARN of the job run, or a template parameter reference.
    jobDriver JobTemplateJobDriver
    releaseLabel string
    The release version of Amazon EMR, or a template parameter reference.
    configurationOverrides JobTemplateParametricConfigurationOverrides
    jobTags {[key: string]: string}
    The tags assigned to jobs started using the job template.
    parameterConfiguration {[key: string]: JobTemplateTemplateParameterConfiguration}
    The configuration of parameters existing in the job template.
    execution_role_arn str
    The execution role ARN of the job run, or a template parameter reference.
    job_driver JobTemplateJobDriver
    release_label str
    The release version of Amazon EMR, or a template parameter reference.
    configuration_overrides JobTemplateParametricConfigurationOverrides
    job_tags Mapping[str, str]
    The tags assigned to jobs started using the job template.
    parameter_configuration Mapping[str, JobTemplateTemplateParameterConfiguration]
    The configuration of parameters existing in the job template.
    executionRoleArn String
    The execution role ARN of the job run, or a template parameter reference.
    jobDriver Property Map
    releaseLabel String
    The release version of Amazon EMR, or a template parameter reference.
    configurationOverrides Property Map
    jobTags Map<String>
    The tags assigned to jobs started using the job template.
    parameterConfiguration Map<Property Map>
    The configuration of parameters existing in the job template.

    JobTemplateJobDriver, JobTemplateJobDriverArgs

    Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either SparkSqlJobDriver or SparkSubmitJobDriver.

    JobTemplateParametricCloudWatchMonitoringConfiguration, JobTemplateParametricCloudWatchMonitoringConfigurationArgs

    A configuration for CloudWatch monitoring. This data type allows job template parameters to be specified within.
    LogGroupName string
    The name of the log group for log publishing, or a template parameter reference.
    LogStreamNamePrefix string
    The specified name prefix for log streams.
    LogGroupName string
    The name of the log group for log publishing, or a template parameter reference.
    LogStreamNamePrefix string
    The specified name prefix for log streams.
    log_group_name string
    The name of the log group for log publishing, or a template parameter reference.
    log_stream_name_prefix string
    The specified name prefix for log streams.
    logGroupName String
    The name of the log group for log publishing, or a template parameter reference.
    logStreamNamePrefix String
    The specified name prefix for log streams.
    logGroupName string
    The name of the log group for log publishing, or a template parameter reference.
    logStreamNamePrefix string
    The specified name prefix for log streams.
    log_group_name str
    The name of the log group for log publishing, or a template parameter reference.
    log_stream_name_prefix str
    The specified name prefix for log streams.
    logGroupName String
    The name of the log group for log publishing, or a template parameter reference.
    logStreamNamePrefix String
    The specified name prefix for log streams.

    JobTemplateParametricConfigurationOverrides, JobTemplateParametricConfigurationOverridesArgs

    A configuration specification to be used to override existing configurations. This data type allows job template parameters to be specified within.

    JobTemplateParametricMonitoringConfiguration, JobTemplateParametricMonitoringConfigurationArgs

    Configuration setting for monitoring. This data type allows job template parameters to be specified within.
    cloud_watch_monitoring_configuration object
    persistent_app_ui string
    Monitoring configurations for the persistent application UI, or a template parameter reference.
    s3_monitoring_configuration object
    cloudWatchMonitoringConfiguration Property Map
    persistentAppUi String
    Monitoring configurations for the persistent application UI, or a template parameter reference.
    s3MonitoringConfiguration Property Map

    JobTemplateParametricS3MonitoringConfiguration, JobTemplateParametricS3MonitoringConfigurationArgs

    Amazon S3 configuration for monitoring log publishing. This data type allows job template parameters to be specified within.
    LogUri string
    Amazon S3 destination URI for log publishing.
    LogUri string
    Amazon S3 destination URI for log publishing.
    log_uri 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.

    JobTemplateSparkSqlJobDriver, JobTemplateSparkSqlJobDriverArgs

    The job driver for job type.

    JobTemplateSparkSubmitJobDriver, JobTemplateSparkSubmitJobDriverArgs

    The information about job driver for Spark submit.

    JobTemplateTemplateParameterConfiguration, JobTemplateTemplateParameterConfigurationArgs

    The configuration of a job template parameter.
    DefaultValue string
    The default value for the job template parameter.
    Type Pulumi.AwsNative.EmrContainers.JobTemplateTemplateParameterConfigurationType
    The type of the job template parameter.
    DefaultValue string
    The default value for the job template parameter.
    Type JobTemplateTemplateParameterConfigurationType
    The type of the job template parameter.
    default_value string
    The default value for the job template parameter.
    type "NUMBER" | "STRING"
    The type of the job template parameter.
    defaultValue String
    The default value for the job template parameter.
    type JobTemplateTemplateParameterConfigurationType
    The type of the job template parameter.
    defaultValue string
    The default value for the job template parameter.
    type JobTemplateTemplateParameterConfigurationType
    The type of the job template parameter.
    default_value str
    The default value for the job template parameter.
    type JobTemplateTemplateParameterConfigurationType
    The type of the job template parameter.
    defaultValue String
    The default value for the job template parameter.
    type "NUMBER" | "STRING"
    The type of the job template parameter.

    JobTemplateTemplateParameterConfigurationType, JobTemplateTemplateParameterConfigurationTypeArgs

    Number
    NUMBER
    String
    STRING
    JobTemplateTemplateParameterConfigurationTypeNumber
    NUMBER
    JobTemplateTemplateParameterConfigurationTypeString
    STRING
    "NUMBER"
    NUMBER
    "STRING"
    STRING
    Number
    NUMBER
    String
    STRING
    Number
    NUMBER
    String
    STRING
    NUMBER
    NUMBER
    STRING
    STRING
    "NUMBER"
    NUMBER
    "STRING"
    STRING

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.81.0
    published on Monday, Sep 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial