Class: AWSCDK::IVS::CfnStage::ParticipantRecordingHlsConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ivs/cfn_stage.rb

Overview

Object specifying a configuration of participant HLS recordings for individual participant recording.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_segment_duration_seconds: nil) ⇒ ParticipantRecordingHlsConfigurationProperty

Returns a new instance of ParticipantRecordingHlsConfigurationProperty.

Parameters:

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

    Defines the target duration for recorded segments generated when recording a stage participant.



671
672
673
674
# File 'ivs/cfn_stage.rb', line 671

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

Instance Attribute Details

#target_segment_duration_secondsNumeric? (readonly)

Note:

Default: - 6

Defines the target duration for recorded segments generated when recording a stage participant.

Segments may have durations longer than the specified value when needed to ensure each segment begins with a keyframe. Default: 6.



683
684
685
# File 'ivs/cfn_stage.rb', line 683

def target_segment_duration_seconds
  @target_segment_duration_seconds
end

Class Method Details

.jsii_propertiesObject



685
686
687
688
689
# File 'ivs/cfn_stage.rb', line 685

def self.jsii_properties
  {
    :target_segment_duration_seconds => "targetSegmentDurationSeconds",
  }
end

Instance Method Details

#to_jsiiObject



691
692
693
694
695
696
697
# File 'ivs/cfn_stage.rb', line 691

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