Class: Aws::EMRContainers::Types::VirtualCluster

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

Overview

This entity describes a virtual cluster. A virtual cluster is a Kubernetes namespace that Amazon EMR is registered with. Amazon EMR uses virtual clusters to run jobs and host endpoints. Multiple virtual clusters can be backed by the same physical cluster. However, each virtual cluster maps to one namespace on an Amazon EKS cluster. Virtual clusters do not create any active resources that contribute to your bill or that require lifecycle management outside the service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

The ARN of the virtual cluster.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#container_provider ⇒ Types::ContainerProvider

The container provider of the virtual cluster.



2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

The date and time when the virtual cluster is created.

Returns:

  • (Time)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#failure_reason ⇒ String

The reason for the virtual cluster to be in its current state.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The ID of the virtual cluster.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the virtual cluster.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#scheduler_configuration ⇒ Types::SchedulerConfiguration

The scheduler configuration (concurrency and queue limits) applied to the virtual cluster. The service does not return this field when no scheduler limits are configured.



2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#scheduler_status ⇒ Types::SchedulerStatus

The current in-queue and concurrent job-run counts for the virtual cluster.



2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#security_configuration_id ⇒ String

The ID of the security configuration.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#session_enabled ⇒ Boolean

Specifies whether the virtual cluster has session support enabled.

Returns:

  • (Boolean)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#state ⇒ String

The state of the virtual cluster. Virtual clusters that are created asynchronously start in SUBMITTED and move through BOOTSTRAPPING to RUNNING. Valid values:

  • SUBMITTED - The service accepted the request to create the virtual cluster, and creation hasn't started yet.

  • BOOTSTRAPPING - The service is provisioning the virtual cluster.

  • RUNNING - The virtual cluster is ready.

  • TERMINATING - The virtual cluster is being deleted, or is being cleaned up after its creation failed.

  • TERMINATED - The virtual cluster is deleted. This is a terminal state.

  • TERMINATED_WITH_ERRORS - The virtual cluster terminated with errors. This is a terminal state. For the cause, see stateDetails and failureReason.

  • ARRESTED - The virtual cluster can't be used, and action is required before it can return to service.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#state_details ⇒ String

The details about the current state of the virtual cluster.

Returns:

  • (String)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The assigned tags of the virtual cluster.

Returns:

  • (Hash<String,String>)


2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/types.rb', line 2384

class VirtualCluster < Struct.new(
  :id,
  :name,
  :arn,
  :state,
  :container_provider,
  :created_at,
  :tags,
  :security_configuration_id,
  :session_enabled,
  :scheduler_configuration,
  :scheduler_status,
  :state_details,
  :failure_reason)
  SENSITIVE = []
  include Aws::Structure
end