modifyTargetGroup

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

Samples

import aws.sdk.kotlin.services.elasticloadbalancingv2.model.ProtocolEnum

fun main() { 
   //sampleStart 
   // This example changes the configuration of the health checks used to evaluate the health of the
// targets for the specified target group.
val resp = elasticLoadBalancingV2Client.modifyTargetGroup {
    targetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-https-targets/2453ed029918f21f"
    healthCheckProtocol = ProtocolEnum.fromValue("HTTPS")
    healthCheckPort = "443"
} 
   //sampleEnd
}