Class: AWSCDK::MediaLive::CfnChannel::AudioFeedInputProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audio_selector_name: nil, feed_input: nil) ⇒ AudioFeedInputProperty

Returns a new instance of AudioFeedInputProperty.

Parameters:

  • audio_selector_name (String, nil) (defaults to: nil)
  • feed_input (String, nil) (defaults to: nil)


1727
1728
1729
1730
1731
1732
# File 'media_live/cfn_channel.rb', line 1727

def initialize(audio_selector_name: nil, feed_input: nil)
  @audio_selector_name = audio_selector_name
  Jsii::Type.check_type(@audio_selector_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "audioSelectorName") unless @audio_selector_name.nil?
  @feed_input = feed_input
  Jsii::Type.check_type(@feed_input, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "feedInput") unless @feed_input.nil?
end

Instance Attribute Details

#audio_selector_nameString? (readonly)



1736
1737
1738
# File 'media_live/cfn_channel.rb', line 1736

def audio_selector_name
  @audio_selector_name
end

#feed_inputString? (readonly)



1739
1740
1741
# File 'media_live/cfn_channel.rb', line 1739

def feed_input
  @feed_input
end

Class Method Details

.jsii_propertiesObject



1741
1742
1743
1744
1745
1746
# File 'media_live/cfn_channel.rb', line 1741

def self.jsii_properties
  {
    :audio_selector_name => "audioSelectorName",
    :feed_input => "feedInput",
  }
end

Instance Method Details

#to_jsiiObject



1748
1749
1750
1751
1752
1753
1754
1755
# File 'media_live/cfn_channel.rb', line 1748

def to_jsii
  result = {}
  result.merge!({
    "audioSelectorName" => @audio_selector_name,
    "feedInput" => @feed_input,
  })
  result.compact
end