Class: Aws::ECS::Types::TimeoutConfiguration

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

An object that represents the timeout configurations for Service Connect.

<note markdown=“1”> 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`.

</note>

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idle_timeout_secondsInteger

The amount of time in seconds a connection will stay active while idle. A value of ‘0` can be set to disable `idleTimeout`.

The ‘idleTimeout` default for `HTTP`/`HTTP2`/`GRPC` is 5 minutes.

The ‘idleTimeout` default for `TCP` is 1 hour.

Returns:

  • (Integer)


12750
12751
12752
12753
12754
12755
# File 'lib/aws-sdk-ecs/types.rb', line 12750

class TimeoutConfiguration < Struct.new(
  :idle_timeout_seconds,
  :per_request_timeout_seconds)
  SENSITIVE = []
  include Aws::Structure
end

#per_request_timeout_secondsInteger

The amount of time waiting for the upstream to respond with a complete response per request. A value of ‘0` can be set to disable `perRequestTimeout`. `perRequestTimeout` can only be set if Service Connect `appProtocol` isn’t ‘TCP`. Only `idleTimeout` is allowed for `TCP` `appProtocol`.

Returns:

  • (Integer)


12750
12751
12752
12753
12754
12755
# File 'lib/aws-sdk-ecs/types.rb', line 12750

class TimeoutConfiguration < Struct.new(
  :idle_timeout_seconds,
  :per_request_timeout_seconds)
  SENSITIVE = []
  include Aws::Structure
end