Class: AWSCDK::MediaLive::CfnChannel::InputLossFailoverSettingsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaLive::CfnChannel::InputLossFailoverSettingsProperty
- 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
-
#input_loss_threshold_msec ⇒ Numeric?
readonly
The amount of time (in milliseconds) that no input is detected.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input_loss_threshold_msec: nil) ⇒ InputLossFailoverSettingsProperty
constructor
A new instance of InputLossFailoverSettingsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(input_loss_threshold_msec: nil) ⇒ InputLossFailoverSettingsProperty
Returns a new instance of InputLossFailoverSettingsProperty.
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_msec ⇒ Numeric? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |