Class: AWSCDK::GroundStation::CfnDataflowEndpointGroup::SocketAddressProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroup::SocketAddressProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group.rb
Overview
The address of the endpoint, such as 192.168.1.1 .
Instance Attribute Summary collapse
-
#name ⇒ String?
readonly
The name of the endpoint, such as
Endpoint 1. -
#port ⇒ Numeric?
readonly
The port of the endpoint, such as
55888.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, port: nil) ⇒ SocketAddressProperty
constructor
A new instance of SocketAddressProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name: nil, port: nil) ⇒ SocketAddressProperty
Returns a new instance of SocketAddressProperty.
1007 1008 1009 1010 1011 1012 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 1007 def initialize(name: nil, port: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @port = port Jsii::Type.check_type(@port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "port") unless @port.nil? end |
Instance Attribute Details
#name ⇒ String? (readonly)
The name of the endpoint, such as Endpoint 1 .
1018 1019 1020 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 1018 def name @name end |
#port ⇒ Numeric? (readonly)
The port of the endpoint, such as 55888 .
1023 1024 1025 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 1023 def port @port end |
Class Method Details
.jsii_properties ⇒ Object
1025 1026 1027 1028 1029 1030 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 1025 def self.jsii_properties { :name => "name", :port => "port", } end |
Instance Method Details
#to_jsii ⇒ Object
1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 1032 def to_jsii result = {} result.merge!({ "name" => @name, "port" => @port, }) result.compact end |