describeInstancesHealth

Retrieves detailed information about the health of instances in your AWS Elastic Beanstalk. This operation requires enhanced health reporting.

Samples

import aws.sdk.kotlin.services.elasticbeanstalk.model.InstancesHealthAttribute

fun main() { 
   //sampleStart 
   // The following operation retrieves health information for instances in an environment named my env
val resp = elasticBeanstalkClient.describeInstancesHealth {
    environmentName = "my-env"
    attributeNames = listOf<InstancesHealthAttribute>(
        InstancesHealthAttribute.fromValue("All")
    )
} 
   //sampleEnd
}