Class: AWSCDK::AppMesh::CfnRoute::TCPTimeoutProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppMesh::CfnRoute::TCPTimeoutProperty
- Defined in:
- app_mesh/cfn_route.rb
Overview
An object that represents types of timeouts.
Instance Attribute Summary collapse
-
#idle ⇒ AWSCDK::IResolvable, ...
readonly
An object that represents an idle timeout.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(idle: nil) ⇒ TCPTimeoutProperty
constructor
A new instance of TCPTimeoutProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(idle: nil) ⇒ TCPTimeoutProperty
Returns a new instance of TCPTimeoutProperty.
1912 1913 1914 1915 |
# File 'app_mesh/cfn_route.rb', line 1912 def initialize(idle: nil) @idle = idle.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnRoute::DurationProperty.new(**idle.transform_keys(&:to_sym)) : idle Jsii::Type.check_type(@idle, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblJvdXRlLkR1cmF0aW9uUHJvcGVydHkifV19fQ==")), "idle") unless @idle.nil? end |
Instance Attribute Details
#idle ⇒ AWSCDK::IResolvable, ... (readonly)
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.
1923 1924 1925 |
# File 'app_mesh/cfn_route.rb', line 1923 def idle @idle end |
Class Method Details
.jsii_properties ⇒ Object
1925 1926 1927 1928 1929 |
# File 'app_mesh/cfn_route.rb', line 1925 def self.jsii_properties { :idle => "idle", } end |
Instance Method Details
#to_jsii ⇒ Object
1931 1932 1933 1934 1935 1936 1937 |
# File 'app_mesh/cfn_route.rb', line 1931 def to_jsii result = {} result.merge!({ "idle" => @idle, }) result.compact end |