Class: AWSCDK::MediaLive::CfnChannel::NielsenWatermarksSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::NielsenWatermarksSettingsProperty
- Defined in:
- media_live/cfn_channel.rb
Overview
Settings to configure Nielsen Watermarks in the audio encode.
The parent of this entity is AudioWatermarkSettings.
Instance Attribute Summary collapse
-
#nielsen_cbet_settings ⇒ AWSCDK::IResolvable, ...
readonly
Complete these fields only if you want to insert watermarks of type Nielsen CBET.
-
#nielsen_distribution_type ⇒ String?
readonly
Choose the distribution types that you want to assign to the watermarks: - PROGRAM_CONTENT - FINAL_DISTRIBUTOR.
-
#nielsen_naes_ii_nw_settings ⇒ AWSCDK::IResolvable, ...
readonly
Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW).
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(nielsen_cbet_settings: nil, nielsen_distribution_type: nil, nielsen_naes_ii_nw_settings: nil) ⇒ NielsenWatermarksSettingsProperty
constructor
A new instance of NielsenWatermarksSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(nielsen_cbet_settings: nil, nielsen_distribution_type: nil, nielsen_naes_ii_nw_settings: nil) ⇒ NielsenWatermarksSettingsProperty
Returns a new instance of NielsenWatermarksSettingsProperty.
11726 11727 11728 11729 11730 11731 11732 11733 |
# File 'media_live/cfn_channel.rb', line 11726 def initialize(nielsen_cbet_settings: nil, nielsen_distribution_type: nil, nielsen_naes_ii_nw_settings: nil) @nielsen_cbet_settings = nielsen_cbet_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::NielsenCBETProperty.new(**nielsen_cbet_settings.transform_keys(&:to_sym)) : nielsen_cbet_settings Jsii::Type.check_type(@nielsen_cbet_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5OaWVsc2VuQ0JFVFByb3BlcnR5In1dfX0=")), "nielsenCbetSettings") unless @nielsen_cbet_settings.nil? @nielsen_distribution_type = nielsen_distribution_type Jsii::Type.check_type(@nielsen_distribution_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nielsenDistributionType") unless @nielsen_distribution_type.nil? @nielsen_naes_ii_nw_settings = nielsen_naes_ii_nw_settings.is_a?(Hash) ? ::AWSCDK::MediaLive::CfnChannel::NielsenNaesIiNwProperty.new(**nielsen_naes_ii_nw_settings.transform_keys(&:to_sym)) : nielsen_naes_ii_nw_settings Jsii::Type.check_type(@nielsen_naes_ii_nw_settings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19tZWRpYWxpdmUuQ2ZuQ2hhbm5lbC5OaWVsc2VuTmFlc0lpTndQcm9wZXJ0eSJ9XX19")), "nielsenNaesIiNwSettings") unless @nielsen_naes_ii_nw_settings.nil? end |
Instance Attribute Details
#nielsen_cbet_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Complete these fields only if you want to insert watermarks of type Nielsen CBET.
11739 11740 11741 |
# File 'media_live/cfn_channel.rb', line 11739 def nielsen_cbet_settings @nielsen_cbet_settings end |
#nielsen_distribution_type ⇒ String? (readonly)
Choose the distribution types that you want to assign to the watermarks: - PROGRAM_CONTENT - FINAL_DISTRIBUTOR.
11744 11745 11746 |
# File 'media_live/cfn_channel.rb', line 11744 def nielsen_distribution_type @nielsen_distribution_type end |
#nielsen_naes_ii_nw_settings ⇒ AWSCDK::IResolvable, ... (readonly)
Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW).
11749 11750 11751 |
# File 'media_live/cfn_channel.rb', line 11749 def nielsen_naes_ii_nw_settings @nielsen_naes_ii_nw_settings end |
Class Method Details
.jsii_properties ⇒ Object
11751 11752 11753 11754 11755 11756 11757 |
# File 'media_live/cfn_channel.rb', line 11751 def self.jsii_properties { :nielsen_cbet_settings => "nielsenCbetSettings", :nielsen_distribution_type => "nielsenDistributionType", :nielsen_naes_ii_nw_settings => "nielsenNaesIiNwSettings", } end |
Instance Method Details
#to_jsii ⇒ Object
11759 11760 11761 11762 11763 11764 11765 11766 11767 |
# File 'media_live/cfn_channel.rb', line 11759 def to_jsii result = {} result.merge!({ "nielsenCbetSettings" => @nielsen_cbet_settings, "nielsenDistributionType" => @nielsen_distribution_type, "nielsenNaesIiNwSettings" => @nielsen_naes_ii_nw_settings, }) result.compact end |