paws.compute (version 0.1.0)

ecs_describe_clusters: Describes one or more of your clusters

Description

Describes one or more of your clusters.

Usage

ecs_describe_clusters(clusters, include)

Arguments

clusters

A list of up to 100 cluster names or full cluster Amazon Resource Name (ARN) entries. If you do not specify a cluster, the default cluster is assumed.

include

Additional information about your clusters to be separated by launch type, including:

  • runningEC2TasksCount

  • runningFargateTasksCount

  • pendingEC2TasksCount

  • pendingFargateTasksCount

  • activeEC2ServiceCount

  • activeFargateServiceCount

  • drainingEC2ServiceCount

  • drainingFargateServiceCount

Request syntax

svc$describe_clusters(
  clusters = list(
    "string"
  ),
  include = list(
    "STATISTICS"|"TAGS"
  )
)

Examples

Run this code
# NOT RUN {
# This example provides a description of the specified cluster in your
# default region.
# }
# NOT RUN {
svc$describe_clusters(
  clusters = list(
    "default"
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab