Class: AWSCDK::AppMesh::CfnVirtualNode::TCPTimeoutProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
app_mesh/cfn_virtual_node.rb

Overview

An object that represents types of timeouts.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(idle: nil) ⇒ TCPTimeoutProperty

Returns a new instance of TCPTimeoutProperty.

Parameters:



2125
2126
2127
2128
# File 'app_mesh/cfn_virtual_node.rb', line 2125

def initialize(idle: nil)
  @idle = idle.is_a?(Hash) ? ::AWSCDK::AppMesh::CfnVirtualNode::DurationProperty.new(**idle.transform_keys(&:to_sym)) : idle
  Jsii::Type.check_type(@idle, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19hcHBtZXNoLkNmblZpcnR1YWxOb2RlLkR1cmF0aW9uUHJvcGVydHkifV19fQ==")), "idle") unless @idle.nil?
end

Instance Attribute Details

#idleAWSCDK::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.



2136
2137
2138
# File 'app_mesh/cfn_virtual_node.rb', line 2136

def idle
  @idle
end

Class Method Details

.jsii_propertiesObject



2138
2139
2140
2141
2142
# File 'app_mesh/cfn_virtual_node.rb', line 2138

def self.jsii_properties
  {
    :idle => "idle",
  }
end

Instance Method Details

#to_jsiiObject



2144
2145
2146
2147
2148
2149
2150
# File 'app_mesh/cfn_virtual_node.rb', line 2144

def to_jsii
  result = {}
  result.merge!({
    "idle" => @idle,
  })
  result.compact
end