Interface TcpTimeout

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
TcpTimeout.Jsii$Proxy

@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)", date="2024-10-05T03:43:38.695Z") @Stability(Stable) public interface TcpTimeout extends software.amazon.jsii.JsiiSerializable
Represents timeouts for TCP protocols.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.amazon.awscdk.services.appmesh.*;
 TcpTimeout tcpTimeout = TcpTimeout.builder()
         .idle(Duration.minutes(30))
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for TcpTimeout
    static final class 
    An implementation for TcpTimeout
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Duration
    Represents an idle timeout.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getIdle

      @Stability(Stable) @Nullable default Duration getIdle()
      Represents an idle timeout.

      The amount of time that a connection may be idle.

      Default: - none

    • builder

      @Stability(Stable) static TcpTimeout.Builder builder()
      Returns:
      a TcpTimeout.Builder of TcpTimeout