Class: AWSCDK::MediaLive::CfnChannel::H265FilterSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::H265FilterSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Settings to configure video filters that apply to the H265 codec.
The parent of this entity is H265Settings.
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) ⇒ H265FilterSettingsProperty
constructor
A new instance of H265FilterSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bandwidth_reduction_filter_settings: nil, temporal_filter_settings: nil) ⇒ H265FilterSettingsProperty
Returns a new instance of H265FilterSettingsProperty.
6807 6808 6809 6810 6811 6812 |
# File 'media_live/cfn_channel.rb', line 6807 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)
6816 6817 6818 |
# File 'media_live/cfn_channel.rb', line 6816 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.
6821 6822 6823 |
# File 'media_live/cfn_channel.rb', line 6821 def temporal_filter_settings @temporal_filter_settings end |
Class Method Details
.jsii_properties ⇒ Object
6823 6824 6825 6826 6827 6828 |
# File 'media_live/cfn_channel.rb', line 6823 def self.jsii_properties { :bandwidth_reduction_filter_settings => "bandwidthReductionFilterSettings", :temporal_filter_settings => "temporalFilterSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
6830 6831 6832 6833 6834 6835 6836 6837 |
# File 'media_live/cfn_channel.rb', line 6830 def to_jsii result = {} result.merge!({ "bandwidthReductionFilterSettings" => @bandwidth_reduction_filter_settings, "temporalFilterSettings" => @temporal_filter_settings, }) result.compact end |