Skip to content

VirtualCluster

Source code in docs_src/capo_emr_containers/types/virtual_cluster.py
class VirtualCluster(TypedDict, closed=True):
    id: NotRequired["capo_emr_containers.types.resource_id_string.ResourceIdString"]
    """<p>The ID of the virtual cluster.</p>"""
    name: NotRequired[
        "capo_emr_containers.types.resource_name_string.ResourceNameString"
    ]
    """<p>The name of the virtual cluster.</p>"""
    arn: NotRequired["capo_emr_containers.types.virtual_cluster_arn.VirtualClusterArn"]
    """<p>The ARN of the virtual cluster.</p>"""
    state: NotRequired[
        "capo_emr_containers.types.virtual_cluster_state.VirtualClusterState"
    ]
    """<p>The state of the virtual cluster. Virtual clusters that are created asynchronously start in <code>SUBMITTED</code> and move through <code>BOOTSTRAPPING</code> to <code>RUNNING</code>. Valid values:</p> <ul> <li><p><code>SUBMITTED</code> - The service accepted the request to create the virtual cluster, and creation hasn't started yet.</p></li> <li><p><code>BOOTSTRAPPING</code> - The service is provisioning the virtual cluster.</p></li> <li><p><code>RUNNING</code> - The virtual cluster is ready.</p></li> <li><p><code>TERMINATING</code> - The virtual cluster is being deleted, or is being cleaned up after its creation failed.</p></li> <li><p><code>TERMINATED</code> - The virtual cluster is deleted. This is a terminal state.</p></li> <li><p><code>TERMINATED_WITH_ERRORS</code> - The virtual cluster terminated with errors. This is a terminal state. For the cause, see <code>stateDetails</code> and <code>failureReason</code>.</p></li> <li><p><code>ARRESTED</code> - The virtual cluster can't be used, and action is required before it can return to service.</p></li> </ul>"""
    container_provider: NotRequired[
        "capo_emr_containers.types.container_provider.ContainerProvider"
    ]
    """<p>The container provider of the virtual cluster.</p>"""
    created_at: NotRequired["capo_emr_containers.types.date.Date"]
    """<p>The date and time when the virtual cluster is created.</p>"""
    tags: NotRequired["capo_emr_containers.types.tag_map.TagMap"]
    """<p>The assigned tags of the virtual cluster.</p>"""
    security_configuration_id: NotRequired[
        "capo_emr_containers.types.resource_id_string.ResourceIdString"
    ]
    """<p>The ID of the security configuration.</p>"""
    session_enabled: NotRequired["capo_emr_containers.types.boolean.Boolean"]
    """<p>Specifies whether the virtual cluster has session support enabled. </p>"""
    scheduler_configuration: NotRequired[
        "capo_emr_containers.types.scheduler_configuration.SchedulerConfiguration"
    ]
    """<p>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.</p>"""
    scheduler_status: NotRequired[
        "capo_emr_containers.types.scheduler_status.SchedulerStatus"
    ]
    """<p>The current in-queue and concurrent job-run counts for the virtual cluster.</p>"""
    state_details: NotRequired["capo_emr_containers.types.string256.String256"]
    """<p>The details about the current state of the virtual cluster.</p>"""
    failure_reason: NotRequired[
        "capo_emr_containers.types.failure_reason.FailureReason"
    ]
    """<p>The reason for the virtual cluster to be in its current state.</p>"""

arn instance-attribute

arn: NotRequired[VirtualClusterArn]

The ARN of the virtual cluster.

container_provider instance-attribute

container_provider: NotRequired[ContainerProvider]

The container provider of the virtual cluster.

created_at instance-attribute

created_at: NotRequired[Date]

The date and time when the virtual cluster is created.

failure_reason instance-attribute

failure_reason: NotRequired[FailureReason]

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

id instance-attribute

id: NotRequired[ResourceIdString]

The ID of the virtual cluster.

name instance-attribute

name: NotRequired[ResourceNameString]

The name of the virtual cluster.

scheduler_configuration instance-attribute

scheduler_configuration: NotRequired[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.

scheduler_status instance-attribute

scheduler_status: NotRequired[SchedulerStatus]

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

security_configuration_id instance-attribute

security_configuration_id: NotRequired[ResourceIdString]

The ID of the security configuration.

session_enabled instance-attribute

session_enabled: NotRequired[Boolean]

Specifies whether the virtual cluster has session support enabled.

state instance-attribute

state: NotRequired[VirtualClusterState]

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.

state_details instance-attribute

state_details: NotRequired[String256]

The details about the current state of the virtual cluster.

tags instance-attribute

tags: NotRequired[TagMap]

The assigned tags of the virtual cluster.