Class: AWSCDK::Bedrock::CfnKnowledgeBase::VideoSegmentationConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
bedrock/cfn_knowledge_base.rb

Overview

Configuration for segmenting video content during multimodal knowledge base ingestion.

Determines how video files are divided into chunks for processing.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fixed_length_duration:) ⇒ VideoSegmentationConfigurationProperty

Returns a new instance of VideoSegmentationConfigurationProperty.

Parameters:

  • fixed_length_duration (Numeric)

    The duration in seconds for each video segment.



2860
2861
2862
2863
# File 'bedrock/cfn_knowledge_base.rb', line 2860

def initialize(fixed_length_duration:)
  @fixed_length_duration = fixed_length_duration
  Jsii::Type.check_type(@fixed_length_duration, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "fixedLengthDuration")
end

Instance Attribute Details

#fixed_length_durationNumeric (readonly)

The duration in seconds for each video segment.

Video files will be divided into chunks of this length for processing.



2871
2872
2873
# File 'bedrock/cfn_knowledge_base.rb', line 2871

def fixed_length_duration
  @fixed_length_duration
end

Class Method Details

.jsii_propertiesObject



2873
2874
2875
2876
2877
# File 'bedrock/cfn_knowledge_base.rb', line 2873

def self.jsii_properties
  {
    :fixed_length_duration => "fixedLengthDuration",
  }
end

Instance Method Details

#to_jsiiObject



2879
2880
2881
2882
2883
2884
2885
# File 'bedrock/cfn_knowledge_base.rb', line 2879

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