describeEnvironmentHealth

Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.

Samples

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

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