listContainerInstances

Returns a list of container instances in a specified cluster. You can filter the results of a ListContainerInstances operation with cluster query language statements inside the filter parameter. For more information, see Cluster Query Language in the Amazon Elastic Container Service Developer Guide.

Samples


fun main() { 
   //sampleStart 
   // This example lists all of your available container instances in the specified cluster in your
// default region.
val resp = ecsClient.listContainerInstances {
    cluster = "default"
} 
   //sampleEnd
}