Class: AWSCDK::GroundStation::CfnDataflowEndpointGroup::RangedSocketAddressProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroup::RangedSocketAddressProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group.rb
Overview
A socket address with a port range.
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
IPv4 socket address.
-
#port_range ⇒ AWSCDK::IResolvable, ...
readonly
Port range of a socket address.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, port_range: nil) ⇒ RangedSocketAddressProperty
constructor
A new instance of RangedSocketAddressProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, port_range: nil) ⇒ RangedSocketAddressProperty
Returns a new instance of RangedSocketAddressProperty.
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
#name ⇒ String? (readonly)
IPv4 socket address.
920 921 922 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 920 def name @name end |
#port_range ⇒ AWSCDK::IResolvable, ... (readonly)
Port range of a socket address.
925 926 927 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 925 def port_range @port_range end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |