AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An object representing an AWS Batch compute environment.

Inheritance Hierarchy

System.Object
  Amazon.Batch.Model.ComputeEnvironmentDetail

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class ComputeEnvironmentDetail

The ComputeEnvironmentDetail type exposes the following members

Constructors

NameDescription
Public Method ComputeEnvironmentDetail()

Properties

NameTypeDescription
Public Property ComputeEnvironmentArn System.String

Gets and sets the property ComputeEnvironmentArn.

The Amazon Resource Name (ARN) of the compute environment.

Public Property ComputeEnvironmentName System.String

Gets and sets the property ComputeEnvironmentName.

The name of the compute environment.

Public Property ComputeResources Amazon.Batch.Model.ComputeResource

Gets and sets the property ComputeResources.

The compute resources defined for the compute environment.

Public Property EcsClusterArn System.String

Gets and sets the property EcsClusterArn.

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.

Public Property ServiceRole System.String

Gets and sets the property ServiceRole.

The service role associated with the compute environment that allows AWS Batch to make calls to AWS API operations on your behalf.

Public Property State Amazon.Batch.CEState

Gets and sets the property State.

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.

Public Property Status Amazon.Batch.CEStatus

Gets and sets the property Status.

The current status of the compute environment (for example, CREATING or VALID).

Public Property StatusReason System.String

Gets and sets the property StatusReason.

A short, human-readable string to provide additional details about the current status of the compute environment.

Public Property Type Amazon.Batch.CEType

Gets and sets the property Type.

The type of the compute environment.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms