AudioConfigurationProperty Struct
Configuration settings for processing audio content in multimodal knowledge bases.
| Source | |
|---|---|
| Type last changed |
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 audioConfigurationProperty: bedrock.CfnKnowledgeBase.AudioConfigurationProperty = {
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
audio_configuration_property = bedrock.CfnKnowledgeBase.AudioConfigurationProperty(
segmentation_configuration=bedrock.CfnKnowledgeBase.AudioSegmentationConfigurationProperty(
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.*;
AudioConfigurationProperty audioConfigurationProperty = AudioConfigurationProperty.builder()
.segmentationConfiguration(AudioSegmentationConfigurationProperty.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 audioConfigurationProperty = new AudioConfigurationProperty {
SegmentationConfiguration = new AudioSegmentationConfigurationProperty {
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"
audioConfigurationProperty := &AudioConfigurationProperty{
SegmentationConfiguration: &AudioSegmentationConfigurationProperty{
FixedLengthDuration: jsii.Number(123),
},
}
Properties
segmentationConfigurationIResolvable | CfnKnowledgeBase.segmentation_configurationtyping.Union[IResolvable, AudioSegmentationConfigurationProperty]segmentationConfigurationIResolvableSegmentationConfigurationIResolvableSegmentationConfigurationinterface{} required #Configuration for segmenting audio content during processing.