Class: Aws::EMRContainers::Types::JobTemplate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb

Overview

This entity describes a job template. Job template stores values of StartJobRun API request in a template and can be used to start a job run. Job template allows two use cases: avoid repeating recurring StartJobRun API request values, enforcing certain values in StartJobRun API request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the job template.

Returns:

  • (String)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The date and time when the job template was created.

Returns:

  • (Time)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#created_byString

The user who created the job template.

Returns:

  • (String)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#decryption_errorString

The error message in case the decryption of job template fails.

Returns:

  • (String)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the job template.

Returns:

  • (String)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#job_template_dataTypes::JobTemplateData

The job template data which holds values of StartJobRun API request.



1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_arnString

The KMS key ARN used to encrypt the job template.

Returns:

  • (String)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the job template.

Returns:

  • (String)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags assigned to the job template.

Returns:

  • (Hash<String,String>)


1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 1135

class JobTemplate < Struct.new(
  :name,
  :id,
  :arn,
  :created_at,
  :created_by,
  :tags,
  :job_template_data,
  :kms_key_arn,
  :decryption_error)
  SENSITIVE = []
  include Aws::Structure
end