describeContainerInstances
inline suspend fun EcsClient.describeContainerInstances(crossinline block: DescribeContainerInstancesRequest.Builder.() -> Unit): DescribeContainerInstancesResponse
Describes one or more container instances. Returns metadata about each container instance requested.
Samples
fun main() {
//sampleStart
// This example provides a description of the specified container instance in your default region,
// using the container instance UUID as an identifier.
val resp = ecsClient.describeContainerInstances {
cluster = "default"
containerInstances = listOf<String>(
"f2756532-8f13-4d53-87c9-aed50dc94cd7"
)
}
//sampleEnd
}