Class: AWSCDK::MediaConnect::CfnFlowOutput::DestinationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlowOutput::DestinationConfigurationProperty
- Defined in:
- media_connect/cfn_flow_output.rb
Overview
The transport parameters that you want to associate with an outbound media stream.
Instance Attribute Summary collapse
-
#destination_ip ⇒ String
readonly
The IP address where you want MediaConnect to send contents of the media stream.
-
#destination_port ⇒ Numeric
readonly
The port that you want MediaConnect to use when it distributes the media stream to the output.
-
#interface ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnFlowOutput::InterfaceProperty
readonly
The VPC interface that you want to use for the media stream associated with the output.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(destination_ip:, destination_port:, interface:) ⇒ DestinationConfigurationProperty
constructor
A new instance of DestinationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(destination_ip:, destination_port:, interface:) ⇒ DestinationConfigurationProperty
Returns a new instance of DestinationConfigurationProperty.
788 789 790 791 792 793 794 795 |
# File 'media_connect/cfn_flow_output.rb', line 788 def initialize(destination_ip:, destination_port:, interface:) @destination_ip = destination_ip Jsii::Type.check_type(@destination_ip, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "destinationIp") @destination_port = destination_port Jsii::Type.check_type(@destination_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "destinationPort") @interface = interface.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlowOutput::InterfaceProperty.new(**interface.transform_keys(&:to_sym)) : interface Jsii::Type.check_type(@interface, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvd091dHB1dC5JbnRlcmZhY2VQcm9wZXJ0eSJ9XX19")), "interface") end |
Instance Attribute Details
#destination_ip ⇒ String (readonly)
The IP address where you want MediaConnect to send contents of the media stream.
801 802 803 |
# File 'media_connect/cfn_flow_output.rb', line 801 def destination_ip @destination_ip end |
#destination_port ⇒ Numeric (readonly)
The port that you want MediaConnect to use when it distributes the media stream to the output.
806 807 808 |
# File 'media_connect/cfn_flow_output.rb', line 806 def destination_port @destination_port end |
#interface ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnFlowOutput::InterfaceProperty (readonly)
The VPC interface that you want to use for the media stream associated with the output.
811 812 813 |
# File 'media_connect/cfn_flow_output.rb', line 811 def interface @interface end |
Class Method Details
.jsii_properties ⇒ Object
813 814 815 816 817 818 819 |
# File 'media_connect/cfn_flow_output.rb', line 813 def self.jsii_properties { :destination_ip => "destinationIp", :destination_port => "destinationPort", :interface => "interface", } end |
Instance Method Details
#to_jsii ⇒ Object
821 822 823 824 825 826 827 828 829 |
# File 'media_connect/cfn_flow_output.rb', line 821 def to_jsii result = {} result.merge!({ "destinationIp" => @destination_ip, "destinationPort" => @destination_port, "interface" => @interface, }) result.compact end |