Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::SocketAddressProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::SocketAddressProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group_v2.rb
Overview
Information about the socket address.
Instance Attribute Summary collapse
-
#name ⇒ String
readonly
Name of a socket address.
-
#port ⇒ Numeric
readonly
Port of a socket address.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, port:) ⇒ SocketAddressProperty
constructor
A new instance of SocketAddressProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, port:) ⇒ SocketAddressProperty
Returns a new instance of SocketAddressProperty.
1013 1014 1015 1016 1017 1018 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 1013 def initialize(name:, port:) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @port = port Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port") end |
Instance Attribute Details
#name ⇒ String (readonly)
Name of a socket address.
1024 1025 1026 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 1024 def name @name end |
#port ⇒ Numeric (readonly)
Port of a socket address.
1029 1030 1031 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 1029 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
1031 1032 1033 1034 1035 1036 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 1031 def self.jsii_properties { :name => "name", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
1038 1039 1040 1041 1042 1043 1044 1045 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 1038 def to_jsii result = {} result.merge!({ "name" => @name, "port" => @port, }) result.compact end |