Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::RangedSocketAddressProperty

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

Overview

A socket address with a port range.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, port_range:) ⇒ RangedSocketAddressProperty

Returns a new instance of RangedSocketAddressProperty.

Parameters:



970
971
972
973
974
975
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 970

def initialize(name:, port_range:)
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name")
  @port_range = port_range.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::IntegerRangeProperty.new(**port_range.transform_keys(&:to_sym)) : port_range
  Jsii::Type.check_type(@port_range, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkRhdGFmbG93RW5kcG9pbnRHcm91cFYyLkludGVnZXJSYW5nZVByb3BlcnR5In1dfX0=")), "portRange")
end

Instance Attribute Details

#nameString (readonly)

IPv4 socket address.



981
982
983
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 981

def name
  @name
end

Class Method Details

.jsii_propertiesObject



988
989
990
991
992
993
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 988

def self.jsii_properties
  {
    :name => "name",
    :port_range => "portRange",
  }
end

Instance Method Details

#to_jsiiObject



995
996
997
998
999
1000
1001
1002
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 995

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