powered by
Describes one or more of your clusters.
ecs_describe_clusters(clusters, include)
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.
Additional information about your clusters to be separated by launch type, including:
runningEC2TasksCount
runningFargateTasksCount
pendingEC2TasksCount
pendingFargateTasksCount
activeEC2ServiceCount
activeFargateServiceCount
drainingEC2ServiceCount
drainingFargateServiceCount
svc$describe_clusters( clusters = list( "string" ), include = list( "STATISTICS"|"TAGS" ) )
# 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