Class: AWSCDK::MediaTailor::CfnChannel::TimeShiftConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::MediaTailor::CfnChannel::TimeShiftConfigurationProperty
- Defined in:
- media_tailor/cfn_channel.rb
Overview
The configuration for time-shifted viewing.
Instance Attribute Summary collapse
-
#max_time_delay_seconds ⇒ Numeric
readonly
The maximum time delay for time-shifted viewing.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(max_time_delay_seconds:) ⇒ TimeShiftConfigurationProperty
constructor
A new instance of TimeShiftConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(max_time_delay_seconds:) ⇒ TimeShiftConfigurationProperty
Returns a new instance of TimeShiftConfigurationProperty.
913 914 915 916 |
# File 'media_tailor/cfn_channel.rb', line 913 def initialize(max_time_delay_seconds:) @max_time_delay_seconds = max_time_delay_seconds Jsii::Type.check_type(@max_time_delay_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "maxTimeDelaySeconds") end |
Instance Attribute Details
#max_time_delay_seconds ⇒ Numeric (readonly)
The maximum time delay for time-shifted viewing.
The minimum allowed maximum time delay is 0 seconds, and the maximum allowed maximum time delay is 21600 seconds (6 hours).
924 925 926 |
# File 'media_tailor/cfn_channel.rb', line 924 def max_time_delay_seconds @max_time_delay_seconds end |
Class Method Details
.jsii_properties ⇒ Object
926 927 928 929 930 |
# File 'media_tailor/cfn_channel.rb', line 926 def self.jsii_properties { :max_time_delay_seconds => "maxTimeDelaySeconds", } end |
Instance Method Details
#to_jsii ⇒ Object
932 933 934 935 936 937 938 |
# File 'media_tailor/cfn_channel.rb', line 932 def to_jsii result = {} result.merge!({ "maxTimeDelaySeconds" => @max_time_delay_seconds, }) result.compact end |