Skip to content
v2.278.0

VideoConfigurationProperty Struct ​

Configuration settings for processing video content in multimodal knowledge bases.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const videoConfigurationProperty: bedrock.CfnKnowledgeBase.VideoConfigurationProperty = {
  segmentationConfiguration: {
    fixedLengthDuration: 123,
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

video_configuration_property = bedrock.CfnKnowledgeBase.VideoConfigurationProperty(
    segmentation_configuration=bedrock.CfnKnowledgeBase.VideoSegmentationConfigurationProperty(
        fixed_length_duration=123
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

VideoConfigurationProperty videoConfigurationProperty = VideoConfigurationProperty.builder()
        .segmentationConfiguration(VideoSegmentationConfigurationProperty.builder()
                .fixedLengthDuration(123)
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var videoConfigurationProperty = new VideoConfigurationProperty {
    SegmentationConfiguration = new VideoSegmentationConfigurationProperty {
        FixedLengthDuration = 123
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

videoConfigurationProperty := &VideoConfigurationProperty{
	SegmentationConfiguration: &VideoSegmentationConfigurationProperty{
		FixedLengthDuration: jsii.Number(123),
	},
}

Properties ​

segmentationConfigurationIResolvable | CfnKnowledgeBase.VideoSegmentationConfigurationPropertysegmentation_configurationtyping.Union[IResolvable, VideoSegmentationConfigurationProperty]segmentationConfigurationIResolvableSegmentationConfigurationIResolvableSegmentationConfigurationinterface{} required #
Configuration for segmenting video content during processing.