Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::ConnectionDetailsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ground_station/cfn_dataflow_endpoint_group_v2.rb

Overview

Egress address of AgentEndpoint with an optional mtu.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(socket_address:, mtu: nil) ⇒ ConnectionDetailsProperty

Returns a new instance of ConnectionDetailsProperty.

Parameters:



573
574
575
576
577
578
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 573

def initialize(socket_address:, mtu: nil)
  @socket_address = socket_address.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::SocketAddressProperty.new(**socket_address.transform_keys(&:to_sym)) : socket_address
  Jsii::Type.check_type(@socket_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkRhdGFmbG93RW5kcG9pbnRHcm91cFYyLlNvY2tldEFkZHJlc3NQcm9wZXJ0eSJ9XX19")), "socketAddress")
  @mtu = mtu
  Jsii::Type.check_type(@mtu, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "mtu") unless @mtu.nil?
end

Instance Attribute Details

#mtuNumeric? (readonly)

Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.



589
590
591
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 589

def mtu
  @mtu
end

Class Method Details

.jsii_propertiesObject



591
592
593
594
595
596
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 591

def self.jsii_properties
  {
    :socket_address => "socketAddress",
    :mtu => "mtu",
  }
end

Instance Method Details

#to_jsiiObject



598
599
600
601
602
603
604
605
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 598

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