Class: AWSCDK::MediaConnect::CfnFlow::InputConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaConnect::CfnFlow::InputConfigurationProperty
- Defined in:
- media_connect/cfn_flow.rb
Overview
The transport parameters that are associated with an incoming media stream.
Instance Attribute Summary collapse
-
#input_port ⇒ Numeric
readonly
The port that the flow listens on for an incoming media stream.
-
#interface ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnFlow::InterfaceProperty
readonly
The VPC interface where the media stream comes in from.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_port:, interface:) ⇒ InputConfigurationProperty
constructor
A new instance of InputConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_port:, interface:) ⇒ InputConfigurationProperty
Returns a new instance of InputConfigurationProperty.
1304 1305 1306 1307 1308 1309 |
# File 'media_connect/cfn_flow.rb', line 1304 def initialize(input_port:, interface:) @input_port = input_port Jsii::Type.check_type(@input_port, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "inputPort") @interface = interface.is_a?(Hash) ? ::AWSCDK::MediaConnect::CfnFlow::InterfaceProperty.new(**interface.transform_keys(&:to_sym)) : interface Jsii::Type.check_type(@interface, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWNvbm5lY3QuQ2ZuRmxvdy5JbnRlcmZhY2VQcm9wZXJ0eSJ9XX19")), "interface") end |
Instance Attribute Details
#input_port ⇒ Numeric (readonly)
The port that the flow listens on for an incoming media stream.
1315 1316 1317 |
# File 'media_connect/cfn_flow.rb', line 1315 def input_port @input_port end |
#interface ⇒ AWSCDK::IResolvable, AWSCDK::MediaConnect::CfnFlow::InterfaceProperty (readonly)
The VPC interface where the media stream comes in from.
1320 1321 1322 |
# File 'media_connect/cfn_flow.rb', line 1320 def interface @interface end |
Class Method Details
.jsii_properties ⇒ Object
1322 1323 1324 1325 1326 1327 |
# File 'media_connect/cfn_flow.rb', line 1322 def self.jsii_properties { :input_port => "inputPort", :interface => "interface", } end |
Instance Method Details
#to_jsii ⇒ Object
1329 1330 1331 1332 1333 1334 1335 1336 |
# File 'media_connect/cfn_flow.rb', line 1329 def to_jsii result = {} result.merge!({ "inputPort" => @input_port, "interface" => @interface, }) result.compact end |