Class: AWSCDK::MediaLive::CfnChannel::InputLossFailoverSettingsProperty

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

Overview

MediaLive will perform a failover if content is not detected in this input for the specified period.

The parent of this entity is FailoverConditionSettings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input_loss_threshold_msec: nil) ⇒ InputLossFailoverSettingsProperty

Returns a new instance of InputLossFailoverSettingsProperty.

Parameters:

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

    The amount of time (in milliseconds) that no input is detected.



8820
8821
8822
8823
# File 'media_live/cfn_channel.rb', line 8820

def initialize(input_loss_threshold_msec: nil)
  @input_loss_threshold_msec = input_loss_threshold_msec
  Jsii::Type.check_type(@input_loss_threshold_msec, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "inputLossThresholdMsec") unless @input_loss_threshold_msec.nil?
end

Instance Attribute Details

#input_loss_threshold_msecNumeric? (readonly)

The amount of time (in milliseconds) that no input is detected.

After that time, an input failover will occur.



8831
8832
8833
# File 'media_live/cfn_channel.rb', line 8831

def input_loss_threshold_msec
  @input_loss_threshold_msec
end

Class Method Details

.jsii_propertiesObject



8833
8834
8835
8836
8837
# File 'media_live/cfn_channel.rb', line 8833

def self.jsii_properties
  {
    :input_loss_threshold_msec => "inputLossThresholdMsec",
  }
end

Instance Method Details

#to_jsiiObject



8839
8840
8841
8842
8843
8844
8845
# File 'media_live/cfn_channel.rb', line 8839

def to_jsii
  result = {}
  result.merge!({
    "inputLossThresholdMsec" => @input_loss_threshold_msec,
  })
  result.compact
end