Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::RangedSocketAddressProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::RangedSocketAddressProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group_v2.rb
Overview
A socket address with a port range.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
IPv4 socket address.
-
#port_range ⇒ AWSCDK::IResolvable, AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::IntegerRangeProperty
readonly
Port range of a socket address.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, port_range:) ⇒ RangedSocketAddressProperty
constructor
A new instance of RangedSocketAddressProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, port_range:) ⇒ RangedSocketAddressProperty
Returns a new instance of RangedSocketAddressProperty.
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
#name ⇒ String (readonly)
IPv4 socket address.
981 982 983 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 981 def name @name end |
#port_range ⇒ AWSCDK::IResolvable, AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::IntegerRangeProperty (readonly)
Port range of a socket address.
986 987 988 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 986 def port_range @port_range end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |