Class: AWSCDK::MediaLive::CfnChannel::H264FilterSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::H264FilterSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Settings to configure video filters that apply to the H264 codec.
The parent of this entity is H264Settings.
Instance Attribute Summary collapse
- #bandwidth_reduction_filter_settings ⇒ AWSCDK::IResolvable, ... readonly
-
#temporal_filter_settings ⇒ AWSCDK::IResolvable, ...
readonly
Settings for applying the temporal filter to the video.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bandwidth_reduction_filter_settings: nil, temporal_filter_settings: nil) ⇒ H264FilterSettingsProperty
constructor
A new instance of H264FilterSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bandwidth_reduction_filter_settings: nil, temporal_filter_settings: nil) ⇒ H264FilterSettingsProperty
Returns a new instance of H264FilterSettingsProperty.
6177 6178 6179 6180 6181 6182 |
# File 'media_live/cfn_channel.rb', line 6177 def initialize(bandwidth_reduction_filter_settings: nil, temporal_filter_settings: nil) @bandwidth_reduction_filter_settings = bandwidth_reduction_filter_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::BandwidthReductionFilterSettingsProperty.new(**bandwidth_reduction_filter_settings.transform_keys(&:to_sym)) : bandwidth_reduction_filter_settings Jsii::Type.check_type(@bandwidth_reduction_filter_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5CYW5kd2lkdGhSZWR1Y3Rpb25GaWx0ZXJTZXR0aW5nc1Byb3BlcnR5In1dfX0=")), "bandwidthReductionFilterSettings") unless @bandwidth_reduction_filter_settings.nil? @temporal_filter_settings = temporal_filter_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::TemporalFilterSettingsProperty.new(**temporal_filter_settings.transform_keys(&:to_sym)) : temporal_filter_settings Jsii::Type.check_type(@temporal_filter_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5UZW1wb3JhbEZpbHRlclNldHRpbmdzUHJvcGVydHkifV19fQ==")), "temporalFilterSettings") unless @temporal_filter_settings.nil? end |
Instance Attribute Details
#bandwidth_reduction_filter_settings ⇒ AWSCDK::IResolvable, ... (readonly)
6186 6187 6188 |
# File 'media_live/cfn_channel.rb', line 6186 def bandwidth_reduction_filter_settings @bandwidth_reduction_filter_settings end |
#temporal_filter_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Settings for applying the temporal filter to the video.
6191 6192 6193 |
# File 'media_live/cfn_channel.rb', line 6191 def temporal_filter_settings @temporal_filter_settings end |
Class Method Details
.jsii_properties ⇒ Object
6193 6194 6195 6196 6197 6198 |
# File 'media_live/cfn_channel.rb', line 6193 def self.jsii_properties { :bandwidth_reduction_filter_settings => "bandwidthReductionFilterSettings", :temporal_filter_settings => "temporalFilterSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
6200 6201 6202 6203 6204 6205 6206 6207 |
# File 'media_live/cfn_channel.rb', line 6200 def to_jsii result = {} result.merge!({ "bandwidthReductionFilterSettings" => @bandwidth_reduction_filter_settings, "temporalFilterSettings" => @temporal_filter_settings, }) result.compact end |