Class: AWSCDK::MediaLive::CfnChannel::RemixSettingsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
media_live/cfn_channel.rb

Overview

The settings for remixing audio in the output.

The parent of this entity is AudioDescription.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channel_mappings: nil, channels_in: nil, channels_out: nil) ⇒ RemixSettingsProperty

Returns a new instance of RemixSettingsProperty.

Parameters:



12575
12576
12577
12578
12579
12580
12581
12582
# File 'media_live/cfn_channel.rb', line 12575

def initialize(channel_mappings: nil, channels_in: nil, channels_out: nil)
  @channel_mappings = channel_mappings
  Jsii::Type.check_type(@channel_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQXVkaW9DaGFubmVsTWFwcGluZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "channelMappings") unless @channel_mappings.nil?
  @channels_in = channels_in
  Jsii::Type.check_type(@channels_in, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "channelsIn") unless @channels_in.nil?
  @channels_out = channels_out
  Jsii::Type.check_type(@channels_out, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "channelsOut") unless @channels_out.nil?
end

Instance Attribute Details

#channel_mappingsAWSCDK::IResolvable, ... (readonly)

A mapping of input channels to output channels, with appropriate gain adjustments.



12588
12589
12590
# File 'media_live/cfn_channel.rb', line 12588

def channel_mappings
  @channel_mappings
end

#channels_inNumeric? (readonly)

The number of input channels to be used.



12593
12594
12595
# File 'media_live/cfn_channel.rb', line 12593

def channels_in
  @channels_in
end

#channels_outNumeric? (readonly)

The number of output channels to be produced.

Valid values: 1, 2, 4, 6, 8.



12600
12601
12602
# File 'media_live/cfn_channel.rb', line 12600

def channels_out
  @channels_out
end

Class Method Details

.jsii_propertiesObject



12602
12603
12604
12605
12606
12607
12608
# File 'media_live/cfn_channel.rb', line 12602

def self.jsii_properties
  {
    :channel_mappings => "channelMappings",
    :channels_in => "channelsIn",
    :channels_out => "channelsOut",
  }
end

Instance Method Details

#to_jsiiObject



12610
12611
12612
12613
12614
12615
12616
12617
12618
# File 'media_live/cfn_channel.rb', line 12610

def to_jsii
  result = {}
  result.merge!({
    "channelMappings" => @channel_mappings,
    "channelsIn" => @channels_in,
    "channelsOut" => @channels_out,
  })
  result.compact
end