# BedrockEmbeddingModelConfigurationProperty

The vector configuration details for the Bedrock embeddings model.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 2026

## Example

TypeScript:

```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';

declare const modelConfiguration: any;
const bedrockEmbeddingModelConfigurationProperty: bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty = {
  audio: [{
    segmentationConfiguration: {
      fixedLengthDuration: 123,
    },
  }],
  dimensions: 123,
  embeddingDataType: 'embeddingDataType',
  modelConfiguration: modelConfiguration,
  video: [{
    segmentationConfiguration: {
      fixedLengthDuration: 123,
    },
  }],
};
```

Python:

```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

# model_configuration: Any

bedrock_embedding_model_configuration_property = bedrock.CfnKnowledgeBase.BedrockEmbeddingModelConfigurationProperty(
    audio=[bedrock.CfnKnowledgeBase.AudioConfigurationProperty(
        segmentation_configuration=bedrock.CfnKnowledgeBase.AudioSegmentationConfigurationProperty(
            fixed_length_duration=123
        )
    )],
    dimensions=123,
    embedding_data_type="embeddingDataType",
    model_configuration=model_configuration,
    video=[bedrock.CfnKnowledgeBase.VideoConfigurationProperty(
        segmentation_configuration=bedrock.CfnKnowledgeBase.VideoSegmentationConfigurationProperty(
            fixed_length_duration=123
        )
    )]
)
```

Java:

```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.*;

Object modelConfiguration;

BedrockEmbeddingModelConfigurationProperty bedrockEmbeddingModelConfigurationProperty = BedrockEmbeddingModelConfigurationProperty.builder()
        .audio(List.of(AudioConfigurationProperty.builder()
                .segmentationConfiguration(AudioSegmentationConfigurationProperty.builder()
                        .fixedLengthDuration(123)
                        .build())
                .build()))
        .dimensions(123)
        .embeddingDataType("embeddingDataType")
        .modelConfiguration(modelConfiguration)
        .video(List.of(VideoConfigurationProperty.builder()
                .segmentationConfiguration(VideoSegmentationConfigurationProperty.builder()
                        .fixedLengthDuration(123)
                        .build())
                .build()))
        .build();
```

C# / .NET:

```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 modelConfiguration;

var bedrockEmbeddingModelConfigurationProperty = new BedrockEmbeddingModelConfigurationProperty {
    Audio = new [] { new AudioConfigurationProperty {
        SegmentationConfiguration = new AudioSegmentationConfigurationProperty {
            FixedLengthDuration = 123
        }
    } },
    Dimensions = 123,
    EmbeddingDataType = "embeddingDataType",
    ModelConfiguration = modelConfiguration,
    Video = new [] { new VideoConfigurationProperty {
        SegmentationConfiguration = new VideoSegmentationConfigurationProperty {
            FixedLengthDuration = 123
        }
    } }
};
```

Golang:

```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"

var modelConfiguration interface{}

bedrockEmbeddingModelConfigurationProperty := &BedrockEmbeddingModelConfigurationProperty{
	Audio: []interface{}{
		&AudioConfigurationProperty{
			SegmentationConfiguration: &AudioSegmentationConfigurationProperty{
				FixedLengthDuration: jsii.Number(123),
			},
		},
	},
	Dimensions: jsii.Number(123),
	EmbeddingDataType: jsii.String("embeddingDataType"),
	ModelConfiguration: modelConfiguration,
	Video: []interface{}{
		&VideoConfigurationProperty{
			SegmentationConfiguration: &VideoSegmentationConfigurationProperty{
				FixedLengthDuration: jsii.Number(123),
			},
		},
	},
}
```

## Properties

- `audio`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.AudioConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.AudioConfigurationProperty.html)[] — Configuration settings for processing audio content in multimodal knowledge bases.

- `dimensions`: number — The dimensions details for the vector configuration used on the Bedrock embeddings model.

- `embeddingDataType`: string — The data type for the vectors when using a model to convert text into vector embeddings.

  The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See [Supported embeddings models](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html) for information on the available models and their vector data types.

- `modelConfiguration`: any — Model-specific configuration for the embedding model.

- `video`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.VideoConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.VideoConfigurationProperty.html)[] — Configuration settings for processing video content in multimodal knowledge bases.
