modifyTargetGroupAttributes

Modifies the specified attributes of the specified target group.

Samples

import aws.sdk.kotlin.services.elasticloadbalancingv2.model.TargetGroupAttribute
fun main() { 
   //sampleStart 
   // This example sets the deregistration delay timeout to the specified value for the specified target
// group.
val resp = elasticLoadBalancingV2Client.modifyTargetGroupAttributes {
    targetGroupArn = "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
    attributes = listOf<TargetGroupAttribute>(
        TargetGroupAttribute {
            key = "deregistration_delay.timeout_seconds"
            value = "600"
        }            
    )
} 
   //sampleEnd
}