asTcp

Casts this ListenerTimeout as a Tcp and retrieves its aws.sdk.kotlin.services.appmesh.model.TcpTimeout value. Throws an exception if the ListenerTimeout is not a Tcp.