Class: AWSCDK::MediaLive::CfnChannel::Eac3AtmosSettingsProperty

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(bitrate: nil, coding_mode: nil, dialnorm: nil, drc_line: nil, drc_rf: nil, height_trim: nil, surround_trim: nil) ⇒ Eac3AtmosSettingsProperty

Returns a new instance of Eac3AtmosSettingsProperty.

Parameters:

  • bitrate (Numeric, nil) (defaults to: nil)
  • coding_mode (String, nil) (defaults to: nil)
  • dialnorm (Numeric, nil) (defaults to: nil)
  • drc_line (String, nil) (defaults to: nil)
  • drc_rf (String, nil) (defaults to: nil)
  • height_trim (Numeric, nil) (defaults to: nil)
  • surround_trim (Numeric, nil) (defaults to: nil)


4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
# File 'media_live/cfn_channel.rb', line 4702

def initialize(bitrate: nil, coding_mode: nil, dialnorm: nil, drc_line: nil, drc_rf: nil, height_trim: nil, surround_trim: nil)
  @bitrate = bitrate
  Jsii::Type.check_type(@bitrate, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "bitrate") unless @bitrate.nil?
  @coding_mode = coding_mode
  Jsii::Type.check_type(@coding_mode, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "codingMode") unless @coding_mode.nil?
  @dialnorm = dialnorm
  Jsii::Type.check_type(@dialnorm, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "dialnorm") unless @dialnorm.nil?
  @drc_line = drc_line
  Jsii::Type.check_type(@drc_line, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "drcLine") unless @drc_line.nil?
  @drc_rf = drc_rf
  Jsii::Type.check_type(@drc_rf, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "drcRf") unless @drc_rf.nil?
  @height_trim = height_trim
  Jsii::Type.check_type(@height_trim, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "heightTrim") unless @height_trim.nil?
  @surround_trim = surround_trim
  Jsii::Type.check_type(@surround_trim, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "surroundTrim") unless @surround_trim.nil?
end

Instance Attribute Details

#bitrateNumeric? (readonly)



4721
4722
4723
# File 'media_live/cfn_channel.rb', line 4721

def bitrate
  @bitrate
end

#coding_modeString? (readonly)



4724
4725
4726
# File 'media_live/cfn_channel.rb', line 4724

def coding_mode
  @coding_mode
end

#dialnormNumeric? (readonly)



4727
4728
4729
# File 'media_live/cfn_channel.rb', line 4727

def dialnorm
  @dialnorm
end

#drc_lineString? (readonly)



4730
4731
4732
# File 'media_live/cfn_channel.rb', line 4730

def drc_line
  @drc_line
end

#drc_rfString? (readonly)



4733
4734
4735
# File 'media_live/cfn_channel.rb', line 4733

def drc_rf
  @drc_rf
end

#height_trimNumeric? (readonly)



4736
4737
4738
# File 'media_live/cfn_channel.rb', line 4736

def height_trim
  @height_trim
end

#surround_trimNumeric? (readonly)



4739
4740
4741
# File 'media_live/cfn_channel.rb', line 4739

def surround_trim
  @surround_trim
end

Class Method Details

.jsii_propertiesObject



4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
# File 'media_live/cfn_channel.rb', line 4741

def self.jsii_properties
  {
    :bitrate => "bitrate",
    :coding_mode => "codingMode",
    :dialnorm => "dialnorm",
    :drc_line => "drcLine",
    :drc_rf => "drcRf",
    :height_trim => "heightTrim",
    :surround_trim => "surroundTrim",
  }
end

Instance Method Details

#to_jsiiObject



4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
# File 'media_live/cfn_channel.rb', line 4753

def to_jsii
  result = {}
  result.merge!({
    "bitrate" => @bitrate,
    "codingMode" => @coding_mode,
    "dialnorm" => @dialnorm,
    "drcLine" => @drc_line,
    "drcRf" => @drc_rf,
    "heightTrim" => @height_trim,
    "surroundTrim" => @surround_trim,
  })
  result.compact
end