Class: AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::ConnectionDetailsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::ConnectionDetailsProperty
- Defined in:
- ground_station/cfn_dataflow_endpoint_group_v2.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, AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::SocketAddressProperty
readonly
A socket address.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(socket_address:, mtu: nil) ⇒ ConnectionDetailsProperty
constructor
A new instance of ConnectionDetailsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(socket_address:, mtu: nil) ⇒ ConnectionDetailsProperty
Returns a new instance of ConnectionDetailsProperty.
573 574 575 576 577 578 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 573 def initialize(socket_address:, mtu: nil) @socket_address = socket_address.is_a?(Hash) ? ::AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::SocketAddressProperty.new(**socket_address.transform_keys(&:to_sym)) : socket_address Jsii::Type.check_type(@socket_address, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19ncm91bmRzdGF0aW9uLkNmbkRhdGFmbG93RW5kcG9pbnRHcm91cFYyLlNvY2tldEFkZHJlc3NQcm9wZXJ0eSJ9XX19")), "socketAddress") @mtu = mtu Jsii::Type.check_type(@mtu, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "mtu") unless @mtu.nil? end |
Instance Attribute Details
#mtu ⇒ Numeric? (readonly)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
589 590 591 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 589 def mtu @mtu end |
#socket_address ⇒ AWSCDK::IResolvable, AWSCDK::GroundStation::CfnDataflowEndpointGroupV2::SocketAddressProperty (readonly)
A socket address.
584 585 586 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 584 def socket_address @socket_address end |
Class Method Details
.jsii_properties ⇒ Object
591 592 593 594 595 596 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 591 def self.jsii_properties { :socket_address => "socketAddress", :mtu => "mtu", } end |
Instance Method Details
#to_jsii ⇒ Object
598 599 600 601 602 603 604 605 |
# File 'ground_station/cfn_dataflow_endpoint_group_v2.rb', line 598 def to_jsii result = {} result.merge!({ "socketAddress" => @socket_address, "mtu" => @mtu, }) result.compact end |