Class: AWSCDK::MediaLive::CfnChannel::MediaPackageV2GroupSettingsProperty

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

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(additional_destinations: nil, caption_language_mappings: nil, id3_behavior: nil, klv_behavior: nil, nielsen_id3_behavior: nil, scte35_type: nil, segment_length: nil, segment_length_units: nil, timed_metadata_id3_frame: nil, timed_metadata_id3_period: nil, timed_metadata_passthrough: nil) ⇒ MediaPackageV2GroupSettingsProperty

Returns a new instance of MediaPackageV2GroupSettingsProperty.

Parameters:



10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
# File 'media_live/cfn_channel.rb', line 10422

def initialize(additional_destinations: nil, caption_language_mappings: nil, id3_behavior: nil, klv_behavior: nil, nielsen_id3_behavior: nil, scte35_type: nil, segment_length: nil, segment_length_units: nil, timed_metadata_id3_frame: nil, timed_metadata_id3_period: nil, timed_metadata_passthrough: nil)
  @additional_destinations = additional_destinations
  Jsii::Type.check_type(@additional_destinations, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuTWVkaWFQYWNrYWdlQWRkaXRpb25hbERlc3RpbmF0aW9uc1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "additionalDestinations") unless @additional_destinations.nil?
  @caption_language_mappings = caption_language_mappings
  Jsii::Type.check_type(@caption_language_mappings, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbWVkaWFsaXZlLkNmbkNoYW5uZWwuQ2FwdGlvbkxhbmd1YWdlTWFwcGluZ1Byb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "captionLanguageMappings") unless @caption_language_mappings.nil?
  @id3_behavior = id3_behavior
  Jsii::Type.check_type(@id3_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "id3Behavior") unless @id3_behavior.nil?
  @klv_behavior = klv_behavior
  Jsii::Type.check_type(@klv_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "klvBehavior") unless @klv_behavior.nil?
  @nielsen_id3_behavior = nielsen_id3_behavior
  Jsii::Type.check_type(@nielsen_id3_behavior, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "nielsenId3Behavior") unless @nielsen_id3_behavior.nil?
  @scte35_type = scte35_type
  Jsii::Type.check_type(@scte35_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "scte35Type") unless @scte35_type.nil?
  @segment_length = segment_length
  Jsii::Type.check_type(@segment_length, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "segmentLength") unless @segment_length.nil?
  @segment_length_units = segment_length_units
  Jsii::Type.check_type(@segment_length_units, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "segmentLengthUnits") unless @segment_length_units.nil?
  @timed_metadata_id3_frame = 
  Jsii::Type.check_type(@timed_metadata_id3_frame, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timedMetadataId3Frame") unless @timed_metadata_id3_frame.nil?
  @timed_metadata_id3_period = 
  Jsii::Type.check_type(@timed_metadata_id3_period, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "timedMetadataId3Period") unless @timed_metadata_id3_period.nil?
  @timed_metadata_passthrough = 
  Jsii::Type.check_type(@timed_metadata_passthrough, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "timedMetadataPassthrough") unless @timed_metadata_passthrough.nil?
end

Instance Attribute Details

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



10452
10453
10454
# File 'media_live/cfn_channel.rb', line 10452

def caption_language_mappings
  @caption_language_mappings
end

#id3_behaviorString? (readonly)



10455
10456
10457
# File 'media_live/cfn_channel.rb', line 10455

def id3_behavior
  @id3_behavior
end

#klv_behaviorString? (readonly)



10458
10459
10460
# File 'media_live/cfn_channel.rb', line 10458

def klv_behavior
  @klv_behavior
end

#nielsen_id3_behaviorString? (readonly)



10461
10462
10463
# File 'media_live/cfn_channel.rb', line 10461

def nielsen_id3_behavior
  @nielsen_id3_behavior
end

#scte35_typeString? (readonly)



10464
10465
10466
# File 'media_live/cfn_channel.rb', line 10464

def scte35_type
  @scte35_type
end

#segment_lengthNumeric? (readonly)



10467
10468
10469
# File 'media_live/cfn_channel.rb', line 10467

def segment_length
  @segment_length
end

#segment_length_unitsString? (readonly)



10470
10471
10472
# File 'media_live/cfn_channel.rb', line 10470

def segment_length_units
  @segment_length_units
end

#timed_metadata_id3_frameString? (readonly)



10473
10474
10475
# File 'media_live/cfn_channel.rb', line 10473

def 
  @timed_metadata_id3_frame
end

#timed_metadata_id3_periodNumeric? (readonly)



10476
10477
10478
# File 'media_live/cfn_channel.rb', line 10476

def 
  @timed_metadata_id3_period
end

#timed_metadata_passthroughString? (readonly)



10479
10480
10481
# File 'media_live/cfn_channel.rb', line 10479

def 
  @timed_metadata_passthrough
end

Class Method Details

.jsii_propertiesObject



10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
# File 'media_live/cfn_channel.rb', line 10481

def self.jsii_properties
  {
    :additional_destinations => "additionalDestinations",
    :caption_language_mappings => "captionLanguageMappings",
    :id3_behavior => "id3Behavior",
    :klv_behavior => "klvBehavior",
    :nielsen_id3_behavior => "nielsenId3Behavior",
    :scte35_type => "scte35Type",
    :segment_length => "segmentLength",
    :segment_length_units => "segmentLengthUnits",
    :timed_metadata_id3_frame => "timedMetadataId3Frame",
    :timed_metadata_id3_period => "timedMetadataId3Period",
    :timed_metadata_passthrough => "timedMetadataPassthrough",
  }
end

Instance Method Details

#to_jsiiObject



10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
# File 'media_live/cfn_channel.rb', line 10497

def to_jsii
  result = {}
  result.merge!({
    "additionalDestinations" => @additional_destinations,
    "captionLanguageMappings" => @caption_language_mappings,
    "id3Behavior" => @id3_behavior,
    "klvBehavior" => @klv_behavior,
    "nielsenId3Behavior" => @nielsen_id3_behavior,
    "scte35Type" => @scte35_type,
    "segmentLength" => @segment_length,
    "segmentLengthUnits" => @segment_length_units,
    "timedMetadataId3Frame" => @timed_metadata_id3_frame,
    "timedMetadataId3Period" => @timed_metadata_id3_period,
    "timedMetadataPassthrough" => @timed_metadata_passthrough,
  })
  result.compact
end