Class: AWSCDK::GroundStation::CfnDataflowEndpointGroup::ConnectionDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroup::ConnectionDetailsProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group.rb
Overview
Egress address of AgentEndpoint with an optional mtu.
Instance Attribute Summary collapse
-
#mtu ⇒ Numeric?
readonly
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
-
#socket_address ⇒ AWSCDK::IResolvable, ...
readonly
A socket address.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(mtu: nil, socket_address: nil) ⇒ ConnectionDetailsProperty
constructor
A new instance of ConnectionDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(mtu: nil, socket_address: nil) ⇒ ConnectionDetailsProperty
Returns a new instance of ConnectionDetailsProperty.
670 671 672 673 674 675 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 670 def initialize(mtu: nil, socket_address: nil) @mtu = mtu Jsii::Type.check_type(@mtu, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "mtu") unless @mtu.nil? @socket_address = socket_address.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnDataflowEndpointGroup::SocketAddressProperty.new(**socket_address.transform_keys(&:to_sym)) : socket_address Jsii::Type.check_type(@socket_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkRhdGFmbG93RW5kcG9pbnRHcm91cC5Tb2NrZXRBZGRyZXNzUHJvcGVydHkifV19fQ==")), "socketAddress") unless @socket_address.nil? end |
Instance Attribute Details
#mtu ⇒ Numeric? (readonly)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
681 682 683 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 681 def mtu @mtu end |
#socket_address ⇒ AWSCDK::IResolvable, ... (readonly)
A socket address.
686 687 688 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 686 def socket_address @socket_address end |
Class Method Details
.jsii_properties ⇒ Object
688 689 690 691 692 693 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 688 def self.jsii_properties { :mtu => "mtu", :socket_address => "socketAddress", } end |
Instance Method Details
#to_jsii ⇒ Object
695 696 697 698 699 700 701 702 |
# File 'ground_station/cfn_dataflow_endpoint_group.rb', line 695 def to_jsii result = {} result.merge!({ "mtu" => @mtu, "socketAddress" => @socket_address, }) result.compact end |