Builder

class Builder

Properties

Link copied to clipboard

The number of services that are running on the cluster in an ACTIVE state. You can view these services with ListServices.

Link copied to clipboard

The resources attached to a cluster. When using a capacity provider with a cluster, the capacity provider and associated resources are returned as cluster attachments.

Link copied to clipboard

The status of the capacity providers associated with the cluster. The following are the states that are returned.

Link copied to clipboard

The capacity providers associated with the cluster.

Link copied to clipboard

The Amazon Resource Name (ARN) that identifies the cluster. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.

Link copied to clipboard

A user-generated string that you use to identify your cluster.

Link copied to clipboard

The execute command configuration for the cluster.

Link copied to clipboard

The default capacity provider strategy for the cluster. When services or tasks are run in the cluster with no launch type or capacity provider strategy specified, the default capacity provider strategy is used.

Link copied to clipboard

The number of tasks in the cluster that are in the PENDING state.

Link copied to clipboard

The number of container instances registered into the cluster. This includes container instances in both ACTIVE and DRAINING status.

Link copied to clipboard

The number of tasks in the cluster that are in the RUNNING state.

Link copied to clipboard

Use this parameter to set a default Service Connect namespace. After you set a default Service Connect namespace, any new services with Service Connect turned on that are created in the cluster are added as client services in the namespace. This setting only applies to new services that set the enabled parameter to true in the ServiceConnectConfiguration. You can set the namespace of each service individually in the ServiceConnectConfiguration to override this default parameter.

Link copied to clipboard

The settings for the cluster. This parameter indicates whether CloudWatch Container Insights is on or off for a cluster.

Link copied to clipboard

Additional information about your clusters that are separated by launch type. They include the following:

Link copied to clipboard

The status of the cluster. The following are the possible states that are returned.

Link copied to clipboard
var tags: List<Tag>?

The metadata that you apply to the cluster to help you categorize and organize them. Each tag consists of a key and an optional value. You define both.