Class: AWSCDK::AppMesh::Http2ConnectionPool
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::Http2ConnectionPool
- Defined in:
- app_mesh/http2_connection_pool.rb
Overview
Connection pool properties for HTTP2 listeners.
Instance Attribute Summary collapse
-
#max_requests ⇒ Numeric
readonly
The maximum requests in the pool.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_requests:) ⇒ Http2ConnectionPool
constructor
A new instance of Http2ConnectionPool.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_requests:) ⇒ Http2ConnectionPool
Returns a new instance of Http2ConnectionPool.
8 9 10 11 |
# File 'app_mesh/http2_connection_pool.rb', line 8 def initialize(max_requests:) @max_requests = max_requests Jsii::Type.check_type(@max_requests, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxRequests") end |
Instance Attribute Details
#max_requests ⇒ Numeric (readonly)
Note:
Default: - none
The maximum requests in the pool.
17 18 19 |
# File 'app_mesh/http2_connection_pool.rb', line 17 def max_requests @max_requests end |
Class Method Details
.jsii_properties ⇒ Object
19 20 21 22 23 |
# File 'app_mesh/http2_connection_pool.rb', line 19 def self.jsii_properties { :max_requests => "maxRequests", } end |
Instance Method Details
#to_jsii ⇒ Object
25 26 27 28 29 30 31 |
# File 'app_mesh/http2_connection_pool.rb', line 25 def to_jsii result = {} result.merge!({ "maxRequests" => @max_requests, }) result.compact end |