Class: AWSCDK::MediaLive::CfnChannel::EncoderSettingsProperty

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

Overview

The settings for the encoding of outputs.

This entity is at the top level in the channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(audio_descriptions: nil, avail_blanking: nil, avail_configuration: nil, blackout_slate: nil, caption_descriptions: nil, color_correction_settings: nil, feature_activations: nil, global_configuration: nil, motion_graphics_configuration: nil, nielsen_configuration: nil, output_groups: nil, thumbnail_configuration: nil, timecode_config: nil, video_descriptions: nil) ⇒ EncoderSettingsProperty

Returns a new instance of EncoderSettingsProperty.

Parameters:



5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
# File 'media_live/cfn_channel.rb', line 5247

def initialize(audio_descriptions: nil, avail_blanking: nil, avail_configuration: nil, blackout_slate: nil, caption_descriptions: nil, color_correction_settings: nil, feature_activations: nil, global_configuration: nil, motion_graphics_configuration: nil, nielsen_configuration: nil, output_groups: nil, thumbnail_configuration: nil, timecode_config: nil, video_descriptions: nil)
  @audio_descriptions = audio_descriptions
  Jsii::Type.check_type(@audio_descriptions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQXVkaW9EZXNjcmlwdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "audioDescriptions") unless @audio_descriptions.nil?
  @avail_blanking = avail_blanking.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::AvailBlankingProperty.new(**avail_blanking.transform_keys(&:to_sym)) : avail_blanking
  Jsii::Type.check_type(@avail_blanking, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5BdmFpbEJsYW5raW5nUHJvcGVydHkifV19fQ==")), "availBlanking") unless @avail_blanking.nil?
  @avail_configuration = avail_configuration.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::AvailConfigurationProperty.new(**avail_configuration.transform_keys(&:to_sym)) : avail_configuration
  Jsii::Type.check_type(@avail_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5BdmFpbENvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "availConfiguration") unless @avail_configuration.nil?
  @blackout_slate = blackout_slate.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::BlackoutSlateProperty.new(**blackout_slate.transform_keys(&:to_sym)) : blackout_slate
  Jsii::Type.check_type(@blackout_slate, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5CbGFja291dFNsYXRlUHJvcGVydHkifV19fQ==")), "blackoutSlate") unless @blackout_slate.nil?
  @caption_descriptions = caption_descriptions
  Jsii::Type.check_type(@caption_descriptions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQ2FwdGlvbkRlc2NyaXB0aW9uUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "captionDescriptions") unless @caption_descriptions.nil?
  @color_correction_settings = color_correction_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::ColorCorrectionSettingsProperty.new(**color_correction_settings.transform_keys(&:to_sym)) : color_correction_settings
  Jsii::Type.check_type(@color_correction_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5Db2xvckNvcnJlY3Rpb25TZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "colorCorrectionSettings") unless @color_correction_settings.nil?
  @feature_activations = feature_activations.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::FeatureActivationsProperty.new(**feature_activations.transform_keys(&:to_sym)) : feature_activations
  Jsii::Type.check_type(@feature_activations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5GZWF0dXJlQWN0aXZhdGlvbnNQcm9wZXJ0eSJ9XX19")), "featureActivations") unless @feature_activations.nil?
  @global_configuration = global_configuration.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::GlobalConfigurationProperty.new(**global_configuration.transform_keys(&:to_sym)) : global_configuration
  Jsii::Type.check_type(@global_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5HbG9iYWxDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "globalConfiguration") unless @global_configuration.nil?
  @motion_graphics_configuration = motion_graphics_configuration.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::MotionGraphicsConfigurationProperty.new(**motion_graphics_configuration.transform_keys(&:to_sym)) : motion_graphics_configuration
  Jsii::Type.check_type(@motion_graphics_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5Nb3Rpb25HcmFwaGljc0NvbmZpZ3VyYXRpb25Qcm9wZXJ0eSJ9XX19")), "motionGraphicsConfiguration") unless @motion_graphics_configuration.nil?
  @nielsen_configuration = nielsen_configuration.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::NielsenConfigurationProperty.new(**nielsen_configuration.transform_keys(&:to_sym)) : nielsen_configuration
  Jsii::Type.check_type(@nielsen_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5OaWVsc2VuQ29uZmlndXJhdGlvblByb3BlcnR5In1dfX0=")), "nielsenConfiguration") unless @nielsen_configuration.nil?
  @output_groups = output_groups
  Jsii::Type.check_type(@output_groups, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuT3V0cHV0R3JvdXBQcm9wZXJ0eSJ9XX19LCJraW5kIjoiYXJyYXkifX1dfX0=")), "outputGroups") unless @output_groups.nil?
  @thumbnail_configuration = thumbnail_configuration.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::ThumbnailConfigurationProperty.new(**thumbnail_configuration.transform_keys(&:to_sym)) : thumbnail_configuration
  Jsii::Type.check_type(@thumbnail_configuration, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5UaHVtYm5haWxDb25maWd1cmF0aW9uUHJvcGVydHkifV19fQ==")), "thumbnailConfiguration") unless @thumbnail_configuration.nil?
  @timecode_config = timecode_config.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::TimecodeConfigProperty.new(**timecode_config.transform_keys(&:to_sym)) : timecode_config
  Jsii::Type.check_type(@timecode_config, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5UaW1lY29kZUNvbmZpZ1Byb3BlcnR5In1dfX0=")), "timecodeConfig") unless @timecode_config.nil?
  @video_descriptions = video_descriptions
  Jsii::Type.check_type(@video_descriptions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuVmlkZW9EZXNjcmlwdGlvblByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "videoDescriptions") unless @video_descriptions.nil?
end

Instance Attribute Details

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

The encoding information for output audio.



5282
5283
5284
# File 'media_live/cfn_channel.rb', line 5282

def audio_descriptions
  @audio_descriptions
end

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

The settings for ad avail blanking.



5287
5288
5289
# File 'media_live/cfn_channel.rb', line 5287

def avail_blanking
  @avail_blanking
end

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

The configuration settings for the ad avail handling.



5292
5293
5294
# File 'media_live/cfn_channel.rb', line 5292

def avail_configuration
  @avail_configuration
end

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

The settings for the blackout slate.



5297
5298
5299
# File 'media_live/cfn_channel.rb', line 5297

def blackout_slate
  @blackout_slate
end

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

The encoding information for output captions.



5302
5303
5304
# File 'media_live/cfn_channel.rb', line 5302

def caption_descriptions
  @caption_descriptions
end

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



5305
5306
5307
# File 'media_live/cfn_channel.rb', line 5305

def color_correction_settings
  @color_correction_settings
end

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

Settings to enable specific features.



5310
5311
5312
# File 'media_live/cfn_channel.rb', line 5310

def feature_activations
  @feature_activations
end

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

The configuration settings that apply to the entire channel.



5315
5316
5317
# File 'media_live/cfn_channel.rb', line 5315

def global_configuration
  @global_configuration
end

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

Settings to enable and configure the motion graphics overlay feature in the channel.



5320
5321
5322
# File 'media_live/cfn_channel.rb', line 5320

def motion_graphics_configuration
  @motion_graphics_configuration
end

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

The settings to configure Nielsen watermarks.



5325
5326
5327
# File 'media_live/cfn_channel.rb', line 5325

def nielsen_configuration
  @nielsen_configuration
end

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

The settings for the output groups in the channel.



5330
5331
5332
# File 'media_live/cfn_channel.rb', line 5330

def output_groups
  @output_groups
end

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



5333
5334
5335
# File 'media_live/cfn_channel.rb', line 5333

def thumbnail_configuration
  @thumbnail_configuration
end

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

Contains settings used to acquire and adjust timecode information from the inputs.



5338
5339
5340
# File 'media_live/cfn_channel.rb', line 5338

def timecode_config
  @timecode_config
end

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

The encoding information for output videos.



5343
5344
5345
# File 'media_live/cfn_channel.rb', line 5343

def video_descriptions
  @video_descriptions
end

Class Method Details

.jsii_propertiesObject



5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
# File 'media_live/cfn_channel.rb', line 5345

def self.jsii_properties
  {
    :audio_descriptions => "audioDescriptions",
    :avail_blanking => "availBlanking",
    :avail_configuration => "availConfiguration",
    :blackout_slate => "blackoutSlate",
    :caption_descriptions => "captionDescriptions",
    :color_correction_settings => "colorCorrectionSettings",
    :feature_activations => "featureActivations",
    :global_configuration => "globalConfiguration",
    :motion_graphics_configuration => "motionGraphicsConfiguration",
    :nielsen_configuration => "nielsenConfiguration",
    :output_groups => "outputGroups",
    :thumbnail_configuration => "thumbnailConfiguration",
    :timecode_config => "timecodeConfig",
    :video_descriptions => "videoDescriptions",
  }
end

Instance Method Details

#to_jsiiObject



5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
# File 'media_live/cfn_channel.rb', line 5364

def to_jsii
  result = {}
  result.merge!({
    "audioDescriptions" => @audio_descriptions,
    "availBlanking" => @avail_blanking,
    "availConfiguration" => @avail_configuration,
    "blackoutSlate" => @blackout_slate,
    "captionDescriptions" => @caption_descriptions,
    "colorCorrectionSettings" => @color_correction_settings,
    "featureActivations" => @feature_activations,
    "globalConfiguration" => @global_configuration,
    "motionGraphicsConfiguration" => @motion_graphics_configuration,
    "nielsenConfiguration" => @nielsen_configuration,
    "outputGroups" => @output_groups,
    "thumbnailConfiguration" => @thumbnail_configuration,
    "timecodeConfig" => @timecode_config,
    "videoDescriptions" => @video_descriptions,
  })
  result.compact
end