Class: AWSCDK::GroundStation::CfnDataflowEndpointGroup::DataflowEndpointProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroup::DataflowEndpointProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group.rb
Overview
Contains information such as socket address and name that defines an endpoint.
Instance Attribute Summary collapse
-
#address ⇒ AWSCDK::IResolvable, ...
readonly
The address and port of an endpoint.
-
#mtu ⇒ Numeric?
readonly
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
-
#name ⇒ String?
readonly
The endpoint name.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(address: nil, mtu: nil, name: nil) ⇒ DataflowEndpointProperty
constructor
A new instance of DataflowEndpointProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(address: nil, mtu: nil, name: nil) ⇒ DataflowEndpointProperty
Returns a new instance of DataflowEndpointProperty.
714 715 716 717 718 719 720 721 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 714 def initialize(address: nil, mtu: nil, name: nil) @address = address.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnDataflowEndpointGroup::SocketAddressProperty.new(**address.transform_keys(&:to_sym)) : address Jsii::Type.check_type(@address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkRhdGFmbG93RW5kcG9pbnRHcm91cC5Tb2NrZXRBZGRyZXNzUHJvcGVydHkifV19fQ==")), "address") unless @address.nil? @mtu = mtu Jsii::Type.check_type(@mtu, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "mtu") unless @mtu.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? end |
Instance Attribute Details
#address ⇒ AWSCDK::IResolvable, ... (readonly)
The address and port of an endpoint.
727 728 729 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 727 def address @address end |
#mtu ⇒ Numeric? (readonly)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
Valid values are between 1400 and 1500. A default value of 1500 is used if not set.
734 735 736 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 734 def mtu @mtu end |
#name ⇒ String? (readonly)
The endpoint name.
When listing available contacts for a satellite, Ground Station searches for a dataflow endpoint whose name matches the value specified by the dataflow endpoint config of the selected mission profile. If no matching dataflow endpoints are found then Ground Station will not display any available contacts for the satellite.
741 742 743 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 741 def name @name end |
Class Method Details
.jsii_properties ⇒ Object
743 744 745 746 747 748 749 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 743 def self.jsii_properties { :address => "address", :mtu => "mtu", :name => "name", } end |
Instance Method Details
#to_jsii ⇒ Object
751 752 753 754 755 756 757 758 759 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 751 def to_jsii result = {} result.merge!({ "address" => @address, "mtu" => @mtu, "name" => @name, }) result.compact end |