JobTemplate
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.
Contents
- jobTemplateData
-
The job template data which holds values of StartJobRun API request.
Type: JobTemplateData object
Required: Yes
- arn
-
The ARN of the job template.
Type: String
Length Constraints: Minimum length of 60. Maximum length of 1024.
Pattern:
^arn:(aws[a-zA-Z0-9-]*):emr-containers:.+:(\d{12}):\/jobtemplates\/[0-9a-zA-Z]+$
Required: No
- createdAt
-
The date and time when the job template was created.
Type: Timestamp
Required: No
- createdBy
-
The user who created the job template.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
^arn:(aws[a-zA-Z0-9-]*):(iam|sts)::(\d{12})?:[\w/+=,.@-]+$
Required: No
- decryptionError
-
The error message in case the decryption of job template fails.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
.*\S.*
Required: No
- id
-
The ID of the job template.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[0-9a-z]+
Required: No
- kmsKeyArn
-
The KMS key ARN used to encrypt the job template.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 2048.
Pattern:
^(arn:(aws[a-zA-Z0-9-]*):kms:.+:(\d{12})?:key\/[(0-9a-zA-Z)-?]+|\$\{[a-zA-Z]\w*\})$
Required: No
- name
-
The name of the job template.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[\.\-_/#A-Za-z0-9]+
Required: No
-
The tags assigned to the job template.
Type: String to string map
Map Entries: Minimum number of 0 items. Maximum number of 50 items.
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Key Pattern:
.*\S.*
Value Length Constraints: Minimum length of 0. Maximum length of 256.
Value Pattern:
.*\S.*
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: