Class: AWSCDK::MediaLive::CfnChannel::AudioChannelMappingProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::AudioChannelMappingProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
The settings for remixing audio.
The parent of this entity is RemixSettings.
Instance Attribute Summary collapse
-
#input_channel_levels ⇒ AWSCDK::IResolvable, ...
readonly
The indices and gain values for each input channel that should be remixed into this output channel.
-
#output_channel ⇒ Numeric?
readonly
The index of the output channel that is being produced.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_channel_levels: nil, output_channel: nil) ⇒ AudioChannelMappingProperty
constructor
A new instance of AudioChannelMappingProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_channel_levels: nil, output_channel: nil) ⇒ AudioChannelMappingProperty
Returns a new instance of AudioChannelMappingProperty.
1401 1402 1403 1404 1405 1406 |
# File 'media_live/cfn_channel.rb', line 1401 def initialize(input_channel_levels: nil, output_channel: nil) @input_channel_levels = input_channel_levels Jsii::Type.check_type(@input_channel_levels, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuSW5wdXRDaGFubmVsTGV2ZWxQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "inputChannelLevels") unless @input_channel_levels.nil? @output_channel = output_channel Jsii::Type.check_type(@output_channel, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "outputChannel") unless @output_channel.nil? end |
Instance Attribute Details
#input_channel_levels ⇒ AWSCDK::IResolvable, ... (readonly)
The indices and gain values for each input channel that should be remixed into this output channel.
1412 1413 1414 |
# File 'media_live/cfn_channel.rb', line 1412 def input_channel_levels @input_channel_levels end |
#output_channel ⇒ Numeric? (readonly)
The index of the output channel that is being produced.
1417 1418 1419 |
# File 'media_live/cfn_channel.rb', line 1417 def output_channel @output_channel end |
Class Method Details
.jsii_properties ⇒ Object
1419 1420 1421 1422 1423 1424 |
# File 'media_live/cfn_channel.rb', line 1419 def self.jsii_properties { :input_channel_levels => "inputChannelLevels", :output_channel => "outputChannel", } end |
Instance Method Details
#to_jsii ⇒ Object
1426 1427 1428 1429 1430 1431 1432 1433 |
# File 'media_live/cfn_channel.rb', line 1426 def to_jsii result = {} result.merge!({ "inputChannelLevels" => @input_channel_levels, "outputChannel" => @output_channel, }) result.compact end |