Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::RangedConnectionDetailsProperty

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

Overview

Ingress address of AgentEndpoint with a port range and an optional mtu.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RangedConnectionDetailsProperty.

Parameters:



927
928
929
930
931
932
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 927

def initialize(socket_address:, mtu: nil)
  @socket_address = socket_address.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::RangedSocketAddressProperty.new(**socket_address.transform_keys(&:to_sym)) : socket_address
  Jsii::Type.check_type(@socket_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkRhdGFmbG93RW5kcG9pbnRHcm91cFYyLlJhbmdlZFNvY2tldEFkZHJlc3NQcm9wZXJ0eSJ9XX19")), "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.



943
944
945
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 943

def mtu
  @mtu
end

Class Method Details

.jsii_propertiesObject



945
946
947
948
949
950
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 945

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

Instance Method Details

#to_jsiiObject



952
953
954
955
956
957
958
959
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 952

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