GetComputeEnvironmentResult

data class GetComputeEnvironmentResult(val computeEnvironmentArn: String? = null, val computeResources: ComputeEnvironmentComputeResources? = null, val context: String? = null, val serviceRole: String? = null, val state: String? = null, val unmanagedvCpus: Int? = null)

Constructors

Link copied to clipboard
constructor(computeEnvironmentArn: String? = null, computeResources: ComputeEnvironmentComputeResources? = null, context: String? = null, serviceRole: String? = null, state: String? = null, unmanagedvCpus: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the compute environment ARN, such as batch: *us-east-1* : *111122223333* :compute-environment/ *ComputeEnvironmentName* .

Link copied to clipboard

The ComputeResources property type specifies details of the compute resources managed by the compute environment. This parameter is required for managed compute environments. For more information, see Compute Environments in the ** .

Link copied to clipboard
val context: String? = null

Reserved.

Link copied to clipboard
val serviceRole: String? = null

The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see AWS Batch service IAM role in the AWS Batch User Guide .

Link copied to clipboard
val state: String? = null

The state of the compute environment. If the state is ENABLED , then the compute environment accepts jobs from a queue and can scale out automatically based on queues. If the state is ENABLED , then the AWS Batch scheduler can attempt to place jobs from an associated job queue on the compute resources within the environment. If the compute environment is managed, then it can scale its instances out or in automatically, based on the job queue demand. If the state is DISABLED , then the AWS Batch scheduler doesn't attempt to place jobs within the environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed compute environments in the DISABLED state don't scale out.

Link copied to clipboard
val unmanagedvCpus: Int? = null

The maximum number of vCPUs for an unmanaged compute environment. This parameter is only used for fair share scheduling to reserve vCPU capacity for new share identifiers. If this parameter isn't provided for a fair share job queue, no vCPU capacity is reserved.