TimeoutConfiguration
An object that represents the timeout configurations for Service Connect.
Note
If idleTimeout
is set to a time that is less than perRequestTimeout
,
the connection will close when the idleTimeout
is reached and not the
perRequestTimeout
.
Contents
- idleTimeoutSeconds
-
The amount of time in seconds a connection will stay active while idle. A value of
0
can be set to disableidleTimeout
.The
idleTimeout
default forHTTP
/HTTP2
/GRPC
is 5 minutes.The
idleTimeout
default forTCP
is 1 hour.Type: Integer
Valid Range: Minimum value of 0. Maximum value of 2147483647.
Required: No
- perRequestTimeoutSeconds
-
The amount of time waiting for the upstream to respond with a complete response per request. A value of
0
can be set to disableperRequestTimeout
.perRequestTimeout
can only be set if Service ConnectappProtocol
isn'tTCP
. OnlyidleTimeout
is allowed forTCP
appProtocol
.Type: Integer
Valid Range: Minimum value of 0. Maximum value of 2147483647.
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: