Class: Aws::AppMesh::Types::GrpcTimeout

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb

Overview

Note:

When making an API call, you may pass GrpcTimeout data as a hash:

{
  idle: {
    unit: "s", # accepts s, ms
    value: 1,
  },
  per_request: {
    unit: "s", # accepts s, ms
    value: 1,
  },
}

An object that represents types of timeouts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idleTypes::Duration

An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.

Returns:



3619
3620
3621
3622
3623
3624
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3619

class GrpcTimeout < Struct.new(
  :idle,
  :per_request)
  SENSITIVE = []
  include Aws::Structure
end

#per_requestTypes::Duration

An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.

Returns:



3619
3620
3621
3622
3623
3624
# File 'gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/types.rb', line 3619

class GrpcTimeout < Struct.new(
  :idle,
  :per_request)
  SENSITIVE = []
  include Aws::Structure
end