GetClusterResult

data class GetClusterResult(val arn: String? = null, val capacityProviders: List<String>? = null, val clusterSettings: List<ClusterSettings>? = null, val configuration: ClusterConfiguration? = null, val defaultCapacityProviderStrategy: List<ClusterCapacityProviderStrategyItem>? = null, val tags: List<Tag>? = null)

Constructors

Link copied to clipboard
constructor(arn: String? = null, capacityProviders: List<String>? = null, clusterSettings: List<ClusterSettings>? = null, configuration: ClusterConfiguration? = null, defaultCapacityProviderStrategy: List<ClusterCapacityProviderStrategyItem>? = null, tags: List<Tag>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val arn: String? = null

The Amazon Resource Name (ARN) of the Amazon ECS cluster, such as arn:aws:ecs:us-east-2:123456789012:cluster/MyECSCluster .

Link copied to clipboard

The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions. If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation. To use a FARGATElong capacity provider, specify either the `FARGATE` or `FARGATE_SPOT` capacity providers. The FARGATElong capacity providers are available to all accounts and only need to be associated with a cluster to be used. The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created.

Link copied to clipboard

The settings to use when creating a cluster. This parameter is used to turn on CloudWatch Container Insights for a cluster.

Link copied to clipboard

The execute command and managed storage 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
val tags: List<Tag>? = null

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. The following basic restrictions apply to tags: