Class: AWSCDK::GroundStation::CfnDataflowEndpointGroup::RangedSocketAddressProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ground_station/cfn_dataflow_endpoint_group.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: nil, port_range: nil) ⇒ RangedSocketAddressProperty

Returns a new instance of RangedSocketAddressProperty.

Parameters:



909
910
911
912
913
914
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 909

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

Instance Attribute Details

#nameString? (readonly)

IPv4 socket address.



920
921
922
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 920

def name
  @name
end

Class Method Details

.jsii_propertiesObject



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

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

Instance Method Details

#to_jsiiObject



934
935
936
937
938
939
940
941
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 934

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