Class: AWSCDK::MediaLive::CfnChannel::EpochLockingSettingsProperty

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(custom_epoch: nil, jam_sync_time: nil) ⇒ EpochLockingSettingsProperty

Returns a new instance of EpochLockingSettingsProperty.

Parameters:

  • custom_epoch (String, nil) (defaults to: nil)
  • jam_sync_time (String, nil) (defaults to: nil)


5392
5393
5394
5395
5396
5397
# File 'media_live/cfn_channel.rb', line 5392

def initialize(custom_epoch: nil, jam_sync_time: nil)
  @custom_epoch = custom_epoch
  Jsii::Type.check_type(@custom_epoch, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "customEpoch") unless @custom_epoch.nil?
  @jam_sync_time = jam_sync_time
  Jsii::Type.check_type(@jam_sync_time, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "jamSyncTime") unless @jam_sync_time.nil?
end

Instance Attribute Details

#custom_epochString? (readonly)



5401
5402
5403
# File 'media_live/cfn_channel.rb', line 5401

def custom_epoch
  @custom_epoch
end

#jam_sync_timeString? (readonly)



5404
5405
5406
# File 'media_live/cfn_channel.rb', line 5404

def jam_sync_time
  @jam_sync_time
end

Class Method Details

.jsii_propertiesObject



5406
5407
5408
5409
5410
5411
# File 'media_live/cfn_channel.rb', line 5406

def self.jsii_properties
  {
    :custom_epoch => "customEpoch",
    :jam_sync_time => "jamSyncTime",
  }
end

Instance Method Details

#to_jsiiObject



5413
5414
5415
5416
5417
5418
5419
5420
# File 'media_live/cfn_channel.rb', line 5413

def to_jsii
  result = {}
  result.merge!({
    "customEpoch" => @custom_epoch,
    "jamSyncTime" => @jam_sync_time,
  })
  result.compact
end