deleteListener

Deletes the specified listener.

Alternatively, your listener is deleted when you delete the load balancer to which it is attached.

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified listener.
elasticLoadBalancingV2Client.deleteListener {
    listenerArn = "arn:aws:elasticloadbalancing:ua-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
} 
   //sampleEnd
}