Class: AWSCDK::MediaLive::CfnChannel::NielsenNaesIiNwProperty

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

Overview

Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW).

The parent of this entity is NielsenWatermarksSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(check_digit_string: nil, sid: nil, timezone: nil) ⇒ NielsenNaesIiNwProperty

Returns a new instance of NielsenNaesIiNwProperty.

Parameters:

  • check_digit_string (String, nil) (defaults to: nil)

    Enter the check digit string for the watermark.

  • sid (Numeric, nil) (defaults to: nil)

    Enter the Nielsen Source ID (SID) to include in the watermark.

  • timezone (String, nil) (defaults to: nil)


11673
11674
11675
11676
11677
11678
11679
11680
# File 'media_live/cfn_channel.rb', line 11673

def initialize(check_digit_string: nil, sid: nil, timezone: nil)
  @check_digit_string = check_digit_string
  Jsii::Type.check_type(@check_digit_string, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "checkDigitString") unless @check_digit_string.nil?
  @sid = sid
  Jsii::Type.check_type(@sid, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sid") unless @sid.nil?
  @timezone = timezone
  Jsii::Type.check_type(@timezone, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timezone") unless @timezone.nil?
end

Instance Attribute Details

#check_digit_stringString? (readonly)

Enter the check digit string for the watermark.



11686
11687
11688
# File 'media_live/cfn_channel.rb', line 11686

def check_digit_string
  @check_digit_string
end

#sidNumeric? (readonly)

Enter the Nielsen Source ID (SID) to include in the watermark.



11691
11692
11693
# File 'media_live/cfn_channel.rb', line 11691

def sid
  @sid
end

#timezoneString? (readonly)



11694
11695
11696
# File 'media_live/cfn_channel.rb', line 11694

def timezone
  @timezone
end

Class Method Details

.jsii_propertiesObject



11696
11697
11698
11699
11700
11701
11702
# File 'media_live/cfn_channel.rb', line 11696

def self.jsii_properties
  {
    :check_digit_string => "checkDigitString",
    :sid => "sid",
    :timezone => "timezone",
  }
end

Instance Method Details

#to_jsiiObject



11704
11705
11706
11707
11708
11709
11710
11711
11712
# File 'media_live/cfn_channel.rb', line 11704

def to_jsii
  result = {}
  result.merge!({
    "checkDigitString" => @check_digit_string,
    "sid" => @sid,
    "timezone" => @timezone,
  })
  result.compact
end