Class: AWSCDK::AppMesh::CfnVirtualNode::VirtualNodeTCPConnectionPoolProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnVirtualNode::VirtualNodeTCPConnectionPoolProperty
- Defined in:
- app_mesh/cfn_virtual_node.rb
Overview
An object that represents a type of connection pool.
Instance Attribute Summary collapse
-
#max_connections ⇒ Numeric
readonly
Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_connections:) ⇒ VirtualNodeTCPConnectionPoolProperty
constructor
A new instance of VirtualNodeTCPConnectionPoolProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_connections:) ⇒ VirtualNodeTCPConnectionPoolProperty
Returns a new instance of VirtualNodeTCPConnectionPoolProperty.
2614 2615 2616 2617 |
# File 'app_mesh/cfn_virtual_node.rb', line 2614 def initialize(max_connections:) @max_connections = max_connections Jsii::Type.check_type(@max_connections, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxConnections") end |
Instance Attribute Details
#max_connections ⇒ Numeric (readonly)
Maximum number of outbound TCP connections Envoy can establish concurrently with all hosts in upstream cluster.
2623 2624 2625 |
# File 'app_mesh/cfn_virtual_node.rb', line 2623 def max_connections @max_connections end |
Class Method Details
.jsii_properties ⇒ Object
2625 2626 2627 2628 2629 |
# File 'app_mesh/cfn_virtual_node.rb', line 2625 def self.jsii_properties { :max_connections => "maxConnections", } end |
Instance Method Details
#to_jsii ⇒ Object
2631 2632 2633 2634 2635 2636 2637 |
# File 'app_mesh/cfn_virtual_node.rb', line 2631 def to_jsii result = {} result.merge!({ "maxConnections" => @max_connections, }) result.compact end |