• 沒有找到結果。

ConfigurationOverrides

在文檔中 Amazon EMR Serverless (頁 47-58)

ConfigurationOverrides

A configuration specification to be used to override existing configurations.

Contents

applicationConfiguration

The override configurations for the application.

Type: Array of Configuration (p. 40) objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: No

monitoringConfiguration

The override configurations for monitoring.

Type: MonitoringConfiguration (p. 52) object Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

Hive

Hive

The configurations for the Hive job driver.

Contents

initQueryFile

The query file for the Hive job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: (?!\s*$)(^[^';|\u0026\u003C\u003E*?`$(){}\[\]!#\\]*$) Required: No

parameters

The parameters for the Hive job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 102400.

Pattern: (?!\s*$)(^[^';|\u0026\u003C\u003E*?`$(){}\[\]!#\\]*$) Required: No

query

The query for the Hive job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 10280.

Pattern: (?!\s*$)(^[^';|\u0026\u003C\u003E*?`$(){}\[\]!#\\]*$) Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

InitialCapacityConfig

InitialCapacityConfig

The initial capacity configuration per worker.

Contents

resourceConfiguration

The resource configuration of the initial capacity configuration.

Type: WorkerResourceConfig (p. 55) object Required: Yes

workerCount

The number of workers in the initial capacity configuration.

Type: Long

Valid Range: Minimum value of 1. Maximum value of 1000000.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

JobDriver

JobDriver

The driver that the job runs on.

Contents

hive

The job driver parameters specified for Hive.

Type: Hive (p. 42) object Required: No

sparkSubmit

The job driver parameters specified for Spark.

Type: SparkSubmit (p. 54) object Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

JobRun

JobRun

Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an EMR Serverless application.

Contents

applicationId

The ID of the application the job is running on.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[0-9a-z]+$

Required: Yes arn

The execution role ARN of the job run.

Type: String

Length Constraints: Minimum length of 60. Maximum length of 1024.

Pattern: ^arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\d{12}):\/applications\/

[0-9a-zA-Z]+\/jobruns\/[0-9a-zA-Z]+$

Required: Yes configurationOverrides

The configuration settings that are used to override default configuration.

Type: ConfigurationOverrides (p. 41) object Required: No

createdAt

The date and time when the job run was created.

Type: Timestamp Required: Yes createdBy

The user who created the job run.

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: Yes executionRole

The execution role ARN of the job run.

Contents

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern:

^arn:(aws[a-zA-Z0-9-]*):iam::(\d{12})?:(role((\u002F)|(\u002F[\u0021-\u007F]+\u002F))[\w+=,.@-]+)$

Required: Yes jobDriver

The job driver for the job run.

Type: JobDriver (p. 44) object Required: Yes

jobRunId

The ID of the job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[0-9a-z]+$

Required: Yes releaseLabel

The EMR release version associated with the application your job is running on.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[A-Za-z0-9._/-]+$

Required: Yes state

The state of the job run.

Type: String

Valid Values: SUBMITTED | PENDING | SCHEDULED | RUNNING | SUCCESS | FAILED | CANCELLING | CANCELLED

Required: Yes stateDetails

The state details of the job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: .*\S.*

Required: Yes updatedAt

The date and time when the job run was updated.

See Also

Type: Timestamp Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

JobRunSummary

JobRunSummary

The summary of attributes associated with a job run.

Contents

applicationId

The ID of the application the job is running on.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[0-9a-z]+$

Required: Yes arn

The ARN of the job run.

Type: String

Length Constraints: Minimum length of 60. Maximum length of 1024.

Pattern: ^arn:(aws[a-zA-Z0-9-]*):emr-serverless:.+:(\d{12}):\/applications\/

[0-9a-zA-Z]+\/jobruns\/[0-9a-zA-Z]+$

Required: Yes createdAt

The date and time when the job run was created.

Type: Timestamp Required: Yes createdBy

The user who created the job run.

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: Yes executionRole

The execution role ARN of the job run.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

Pattern:

^arn:(aws[a-zA-Z0-9-]*):iam::(\d{12})?:(role((\u002F)|(\u002F[\u0021-\u007F]+\u002F))[\w+=,.@-]+)$

Contents

Required: Yes id

The ID of the job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[0-9a-z]+$

Required: Yes releaseLabel

The EMR release version associated with the application your job is running on.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: ^[A-Za-z0-9._/-]+$

Required: Yes state

The state of the job run.

Type: String

Valid Values: SUBMITTED | PENDING | SCHEDULED | RUNNING | SUCCESS | FAILED | CANCELLING | CANCELLED

Required: Yes stateDetails

The state details of the job run.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: .*\S.*

Required: Yes stateUpdatedAt

The date and time when the job run was last updated.

Type: Timestamp Required: Yes type

The type of job run, such as Spark or Hive.

Type: String Required: No

See Also

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

MaximumAllowedResources

MaximumAllowedResources

The maximum allowed cumulative resources for an application. No new resources will be created once the limit is hit.

Contents

cpu

The maximum allowed CPU for an application.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 15.

Pattern: ^[1-9][0-9]*(\s)?(vCPU|vcpu|VCPU)?$

Required: Yes disk

The maximum allowed disk for an application.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 15.

Pattern: ^[1-9][0-9]*(\s)?(GB|gb|gB|Gb)$

Required: No memory

The maximum allowed resources for an application.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 15.

Pattern: ^[1-9][0-9]*(\s)?(GB|gb|gB|Gb)?$

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

• AWS SDK for C++

• AWS SDK for Go

• AWS SDK for Java V2

• AWS SDK for Ruby V3

在文檔中 Amazon EMR Serverless (頁 47-58)

相關文件