ComputeEnvironmentDetail

public struct ComputeEnvironmentDetail : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The Amazon Resource Name (ARN) of the compute environment.

    Declaration

    Swift

    public let computeEnvironmentArn: String
  • The name of the compute environment.

    Declaration

    Swift

    public let computeEnvironmentName: String
  • The compute resources defined for the compute environment.

    Declaration

    Swift

    public let computeResources: ComputeResource?
  • The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.

    Declaration

    Swift

    public let ecsClusterArn: String
  • The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.

    Declaration

    Swift

    public let serviceRole: String?
  • The state of the compute environment. The valid values are ENABLED or DISABLED. 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 does not 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 do not scale out. However, they scale in to minvCpus value after instances become idle.

    Declaration

    Swift

    public let state: CEState?
  • The current status of the compute environment (for example, CREATING or VALID).

    Declaration

    Swift

    public let status: CEStatus?
  • A short, human-readable string to provide additional details about the current status of the compute environment.

    Declaration

    Swift

    public let statusReason: String?
  • The type of the compute environment.

    Declaration

    Swift

    public let type: CEType?
  • Undocumented

    Declaration

    Swift

    public init(computeEnvironmentArn: String, computeEnvironmentName: String, computeResources: ComputeResource? = nil, ecsClusterArn: String, serviceRole: String? = nil, state: CEState? = nil, status: CEStatus? = nil, statusReason: String? = nil, type: CEType? = nil)