tcp_keepalive - AWS SDKs and Tools


Specifies whether the SDK or development tool uses the TCP Keep-Alive socket option when creating connections.


Default value: true

Valid values:

  • true – The default. The SDK or tool uses TCP keepalive packets.

  • false – The SDK or tool doesn't use TCP keepalive packets.

Ways to set this value

Location Supported Example
config file Yes
tcp_keepalive = false
credentials file -
Environment variable -
AWS CLI parameter -

Compatibility with AWS SDKS and tools