Class: AWSCDK::Bedrock::CfnKnowledgeBase::VideoSegmentationConfigurationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Bedrock::CfnKnowledgeBase::VideoSegmentationConfigurationProperty
- 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
-
#fixed_length_duration ⇒ Numeric
readonly
The duration in seconds for each video segment.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fixed_length_duration:) ⇒ VideoSegmentationConfigurationProperty
constructor
A new instance of VideoSegmentationConfigurationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(fixed_length_duration:) ⇒ VideoSegmentationConfigurationProperty
Returns a new instance of VideoSegmentationConfigurationProperty.
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_duration ⇒ Numeric (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_properties ⇒ Object
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_jsii ⇒ Object
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 |