TcpTimeout

class aws_cdk.aws_appmesh.TcpTimeout(*, idle=None)

Bases: object

Represents timeouts for TCP protocols.

Parameters

idle (Optional[Duration]) – Represents an idle timeout. The amount of time that a connection may be idle. Default: - none

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_appmesh as appmesh
import aws_cdk.core as cdk

tcp_timeout = appmesh.TcpTimeout(
    idle=cdk.Duration.minutes(30)
)

Attributes

idle

Represents an idle timeout.

The amount of time that a connection may be idle.

Default
  • none

Return type

Optional[Duration]