# KnowledgeBaseConfigurationProperty

Configurations to apply to a knowledge base attached to the agent during query.

For more information, see [Knowledge base retrieval configurations](https://docs.aws.amazon.com/bedrock/latest/userguide/agents-session-state.html#session-state-kb) .

- Source: Generated at build time
- Type last changed: v2.261.0 · 2 Jul 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 knowledgeBaseConfigurationProperty: bedrock.CfnKnowledgeBase.KnowledgeBaseConfigurationProperty = {
  type: 'type',

  // the properties below are optional
  kendraKnowledgeBaseConfiguration: {
    kendraIndexArn: 'kendraIndexArn',
  },
  managedKnowledgeBaseConfiguration: {
    embeddingModelArn: 'embeddingModelArn',
    embeddingModelConfiguration: {
      bedrockEmbeddingModelConfiguration: {
        audio: [{
          segmentationConfiguration: {
            fixedLengthDuration: 123,
          },
        }],
        dimensions: 123,
        embeddingDataType: 'embeddingDataType',
        modelConfiguration: modelConfiguration,
        video: [{
          segmentationConfiguration: {
            fixedLengthDuration: 123,
          },
        }],
      },
    },
    embeddingModelType: 'embeddingModelType',
    serverSideEncryptionConfiguration: {
      kmsKeyArn: 'kmsKeyArn',
    },
    supplementalDataStorageConfiguration: {
      supplementalDataStorageLocations: [{
        supplementalDataStorageLocationType: 'supplementalDataStorageLocationType',

        // the properties below are optional
        s3Location: {
          uri: 'uri',
        },
      }],
    },
  },
  sqlKnowledgeBaseConfiguration: {
    type: 'type',

    // the properties below are optional
    redshiftConfiguration: {
      queryEngineConfiguration: {
        type: 'type',

        // the properties below are optional
        provisionedConfiguration: {
          authConfiguration: {
            type: 'type',

            // the properties below are optional
            databaseUser: 'databaseUser',
            usernamePasswordSecretArn: 'usernamePasswordSecretArn',
          },
          clusterIdentifier: 'clusterIdentifier',
        },
        serverlessConfiguration: {
          authConfiguration: {
            type: 'type',

            // the properties below are optional
            usernamePasswordSecretArn: 'usernamePasswordSecretArn',
          },
          workgroupArn: 'workgroupArn',
        },
      },
      storageConfigurations: [{
        type: 'type',

        // the properties below are optional
        awsDataCatalogConfiguration: {
          tableNames: ['tableNames'],
        },
        redshiftConfiguration: {
          databaseName: 'databaseName',
        },
      }],

      // the properties below are optional
      queryGenerationConfiguration: {
        executionTimeoutSeconds: 123,
        generationContext: {
          curatedQueries: [{
            naturalLanguage: 'naturalLanguage',
            sql: 'sql',
          }],
          tables: [{
            name: 'name',

            // the properties below are optional
            columns: [{
              description: 'description',
              inclusion: 'inclusion',
              name: 'name',
            }],
            description: 'description',
            inclusion: 'inclusion',
          }],
        },
      },
    },
  },
  vectorKnowledgeBaseConfiguration: {
    embeddingModelArn: 'embeddingModelArn',

    // the properties below are optional
    embeddingModelConfiguration: {
      bedrockEmbeddingModelConfiguration: {
        audio: [{
          segmentationConfiguration: {
            fixedLengthDuration: 123,
          },
        }],
        dimensions: 123,
        embeddingDataType: 'embeddingDataType',
        modelConfiguration: modelConfiguration,
        video: [{
          segmentationConfiguration: {
            fixedLengthDuration: 123,
          },
        }],
      },
    },
    supplementalDataStorageConfiguration: {
      supplementalDataStorageLocations: [{
        supplementalDataStorageLocationType: 'supplementalDataStorageLocationType',

        // the properties below are optional
        s3Location: {
          uri: 'uri',
        },
      }],
    },
  },
};
```

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

knowledge_base_configuration_property = bedrock.CfnKnowledgeBase.KnowledgeBaseConfigurationProperty(
    type="type",

    # the properties below are optional
    kendra_knowledge_base_configuration=bedrock.CfnKnowledgeBase.KendraKnowledgeBaseConfigurationProperty(
        kendra_index_arn="kendraIndexArn"
    ),
    managed_knowledge_base_configuration=bedrock.CfnKnowledgeBase.ManagedKnowledgeBaseConfigurationProperty(
        embedding_model_arn="embeddingModelArn",
        embedding_model_configuration=bedrock.CfnKnowledgeBase.EmbeddingModelConfigurationProperty(
            bedrock_embedding_model_configuration=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
                    )
                )]
            )
        ),
        embedding_model_type="embeddingModelType",
        server_side_encryption_configuration=bedrock.CfnKnowledgeBase.ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty(
            kms_key_arn="kmsKeyArn"
        ),
        supplemental_data_storage_configuration=bedrock.CfnKnowledgeBase.SupplementalDataStorageConfigurationProperty(
            supplemental_data_storage_locations=[bedrock.CfnKnowledgeBase.SupplementalDataStorageLocationProperty(
                supplemental_data_storage_location_type="supplementalDataStorageLocationType",

                # the properties below are optional
                s3_location=bedrock.CfnKnowledgeBase.S3LocationProperty(
                    uri="uri"
                )
            )]
        )
    ),
    sql_knowledge_base_configuration=bedrock.CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty(
        type="type",

        # the properties below are optional
        redshift_configuration=bedrock.CfnKnowledgeBase.RedshiftConfigurationProperty(
            query_engine_configuration=bedrock.CfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty(
                type="type",

                # the properties below are optional
                provisioned_configuration=bedrock.CfnKnowledgeBase.RedshiftProvisionedConfigurationProperty(
                    auth_configuration=bedrock.CfnKnowledgeBase.RedshiftProvisionedAuthConfigurationProperty(
                        type="type",

                        # the properties below are optional
                        database_user="databaseUser",
                        username_password_secret_arn="usernamePasswordSecretArn"
                    ),
                    cluster_identifier="clusterIdentifier"
                ),
                serverless_configuration=bedrock.CfnKnowledgeBase.RedshiftServerlessConfigurationProperty(
                    auth_configuration=bedrock.CfnKnowledgeBase.RedshiftServerlessAuthConfigurationProperty(
                        type="type",

                        # the properties below are optional
                        username_password_secret_arn="usernamePasswordSecretArn"
                    ),
                    workgroup_arn="workgroupArn"
                )
            ),
            storage_configurations=[bedrock.CfnKnowledgeBase.RedshiftQueryEngineStorageConfigurationProperty(
                type="type",

                # the properties below are optional
                aws_data_catalog_configuration=bedrock.CfnKnowledgeBase.RedshiftQueryEngineAwsDataCatalogStorageConfigurationProperty(
                    table_names=["tableNames"]
                ),
                redshift_configuration=bedrock.CfnKnowledgeBase.RedshiftQueryEngineRedshiftStorageConfigurationProperty(
                    database_name="databaseName"
                )
            )],

            # the properties below are optional
            query_generation_configuration=bedrock.CfnKnowledgeBase.QueryGenerationConfigurationProperty(
                execution_timeout_seconds=123,
                generation_context=bedrock.CfnKnowledgeBase.QueryGenerationContextProperty(
                    curated_queries=[bedrock.CfnKnowledgeBase.CuratedQueryProperty(
                        natural_language="naturalLanguage",
                        sql="sql"
                    )],
                    tables=[bedrock.CfnKnowledgeBase.QueryGenerationTableProperty(
                        name="name",

                        # the properties below are optional
                        columns=[bedrock.CfnKnowledgeBase.QueryGenerationColumnProperty(
                            description="description",
                            inclusion="inclusion",
                            name="name"
                        )],
                        description="description",
                        inclusion="inclusion"
                    )]
                )
            )
        )
    ),
    vector_knowledge_base_configuration=bedrock.CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty(
        embedding_model_arn="embeddingModelArn",

        # the properties below are optional
        embedding_model_configuration=bedrock.CfnKnowledgeBase.EmbeddingModelConfigurationProperty(
            bedrock_embedding_model_configuration=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
                    )
                )]
            )
        ),
        supplemental_data_storage_configuration=bedrock.CfnKnowledgeBase.SupplementalDataStorageConfigurationProperty(
            supplemental_data_storage_locations=[bedrock.CfnKnowledgeBase.SupplementalDataStorageLocationProperty(
                supplemental_data_storage_location_type="supplementalDataStorageLocationType",

                # the properties below are optional
                s3_location=bedrock.CfnKnowledgeBase.S3LocationProperty(
                    uri="uri"
                )
            )]
        )
    )
)
```

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;

KnowledgeBaseConfigurationProperty knowledgeBaseConfigurationProperty = KnowledgeBaseConfigurationProperty.builder()
        .type("type")

        // the properties below are optional
        .kendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfigurationProperty.builder()
                .kendraIndexArn("kendraIndexArn")
                .build())
        .managedKnowledgeBaseConfiguration(ManagedKnowledgeBaseConfigurationProperty.builder()
                .embeddingModelArn("embeddingModelArn")
                .embeddingModelConfiguration(EmbeddingModelConfigurationProperty.builder()
                        .bedrockEmbeddingModelConfiguration(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())
                        .build())
                .embeddingModelType("embeddingModelType")
                .serverSideEncryptionConfiguration(ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty.builder()
                        .kmsKeyArn("kmsKeyArn")
                        .build())
                .supplementalDataStorageConfiguration(SupplementalDataStorageConfigurationProperty.builder()
                        .supplementalDataStorageLocations(List.of(SupplementalDataStorageLocationProperty.builder()
                                .supplementalDataStorageLocationType("supplementalDataStorageLocationType")

                                // the properties below are optional
                                .s3Location(S3LocationProperty.builder()
                                        .uri("uri")
                                        .build())
                                .build()))
                        .build())
                .build())
        .sqlKnowledgeBaseConfiguration(SqlKnowledgeBaseConfigurationProperty.builder()
                .type("type")

                // the properties below are optional
                .redshiftConfiguration(RedshiftConfigurationProperty.builder()
                        .queryEngineConfiguration(RedshiftQueryEngineConfigurationProperty.builder()
                                .type("type")

                                // the properties below are optional
                                .provisionedConfiguration(RedshiftProvisionedConfigurationProperty.builder()
                                        .authConfiguration(RedshiftProvisionedAuthConfigurationProperty.builder()
                                                .type("type")

                                                // the properties below are optional
                                                .databaseUser("databaseUser")
                                                .usernamePasswordSecretArn("usernamePasswordSecretArn")
                                                .build())
                                        .clusterIdentifier("clusterIdentifier")
                                        .build())
                                .serverlessConfiguration(RedshiftServerlessConfigurationProperty.builder()
                                        .authConfiguration(RedshiftServerlessAuthConfigurationProperty.builder()
                                                .type("type")

                                                // the properties below are optional
                                                .usernamePasswordSecretArn("usernamePasswordSecretArn")
                                                .build())
                                        .workgroupArn("workgroupArn")
                                        .build())
                                .build())
                        .storageConfigurations(List.of(RedshiftQueryEngineStorageConfigurationProperty.builder()
                                .type("type")

                                // the properties below are optional
                                .awsDataCatalogConfiguration(RedshiftQueryEngineAwsDataCatalogStorageConfigurationProperty.builder()
                                        .tableNames(List.of("tableNames"))
                                        .build())
                                .redshiftConfiguration(RedshiftQueryEngineRedshiftStorageConfigurationProperty.builder()
                                        .databaseName("databaseName")
                                        .build())
                                .build()))

                        // the properties below are optional
                        .queryGenerationConfiguration(QueryGenerationConfigurationProperty.builder()
                                .executionTimeoutSeconds(123)
                                .generationContext(QueryGenerationContextProperty.builder()
                                        .curatedQueries(List.of(CuratedQueryProperty.builder()
                                                .naturalLanguage("naturalLanguage")
                                                .sql("sql")
                                                .build()))
                                        .tables(List.of(QueryGenerationTableProperty.builder()
                                                .name("name")

                                                // the properties below are optional
                                                .columns(List.of(QueryGenerationColumnProperty.builder()
                                                        .description("description")
                                                        .inclusion("inclusion")
                                                        .name("name")
                                                        .build()))
                                                .description("description")
                                                .inclusion("inclusion")
                                                .build()))
                                        .build())
                                .build())
                        .build())
                .build())
        .vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfigurationProperty.builder()
                .embeddingModelArn("embeddingModelArn")

                // the properties below are optional
                .embeddingModelConfiguration(EmbeddingModelConfigurationProperty.builder()
                        .bedrockEmbeddingModelConfiguration(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())
                        .build())
                .supplementalDataStorageConfiguration(SupplementalDataStorageConfigurationProperty.builder()
                        .supplementalDataStorageLocations(List.of(SupplementalDataStorageLocationProperty.builder()
                                .supplementalDataStorageLocationType("supplementalDataStorageLocationType")

                                // the properties below are optional
                                .s3Location(S3LocationProperty.builder()
                                        .uri("uri")
                                        .build())
                                .build()))
                        .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 knowledgeBaseConfigurationProperty = new KnowledgeBaseConfigurationProperty {
    Type = "type",

    // the properties below are optional
    KendraKnowledgeBaseConfiguration = new KendraKnowledgeBaseConfigurationProperty {
        KendraIndexArn = "kendraIndexArn"
    },
    ManagedKnowledgeBaseConfiguration = new ManagedKnowledgeBaseConfigurationProperty {
        EmbeddingModelArn = "embeddingModelArn",
        EmbeddingModelConfiguration = new EmbeddingModelConfigurationProperty {
            BedrockEmbeddingModelConfiguration = 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
                    }
                } }
            }
        },
        EmbeddingModelType = "embeddingModelType",
        ServerSideEncryptionConfiguration = new ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty {
            KmsKeyArn = "kmsKeyArn"
        },
        SupplementalDataStorageConfiguration = new SupplementalDataStorageConfigurationProperty {
            SupplementalDataStorageLocations = new [] { new SupplementalDataStorageLocationProperty {
                SupplementalDataStorageLocationType = "supplementalDataStorageLocationType",

                // the properties below are optional
                S3Location = new S3LocationProperty {
                    Uri = "uri"
                }
            } }
        }
    },
    SqlKnowledgeBaseConfiguration = new SqlKnowledgeBaseConfigurationProperty {
        Type = "type",

        // the properties below are optional
        RedshiftConfiguration = new RedshiftConfigurationProperty {
            QueryEngineConfiguration = new RedshiftQueryEngineConfigurationProperty {
                Type = "type",

                // the properties below are optional
                ProvisionedConfiguration = new RedshiftProvisionedConfigurationProperty {
                    AuthConfiguration = new RedshiftProvisionedAuthConfigurationProperty {
                        Type = "type",

                        // the properties below are optional
                        DatabaseUser = "databaseUser",
                        UsernamePasswordSecretArn = "usernamePasswordSecretArn"
                    },
                    ClusterIdentifier = "clusterIdentifier"
                },
                ServerlessConfiguration = new RedshiftServerlessConfigurationProperty {
                    AuthConfiguration = new RedshiftServerlessAuthConfigurationProperty {
                        Type = "type",

                        // the properties below are optional
                        UsernamePasswordSecretArn = "usernamePasswordSecretArn"
                    },
                    WorkgroupArn = "workgroupArn"
                }
            },
            StorageConfigurations = new [] { new RedshiftQueryEngineStorageConfigurationProperty {
                Type = "type",

                // the properties below are optional
                AwsDataCatalogConfiguration = new RedshiftQueryEngineAwsDataCatalogStorageConfigurationProperty {
                    TableNames = new [] { "tableNames" }
                },
                RedshiftConfiguration = new RedshiftQueryEngineRedshiftStorageConfigurationProperty {
                    DatabaseName = "databaseName"
                }
            } },

            // the properties below are optional
            QueryGenerationConfiguration = new QueryGenerationConfigurationProperty {
                ExecutionTimeoutSeconds = 123,
                GenerationContext = new QueryGenerationContextProperty {
                    CuratedQueries = new [] { new CuratedQueryProperty {
                        NaturalLanguage = "naturalLanguage",
                        Sql = "sql"
                    } },
                    Tables = new [] { new QueryGenerationTableProperty {
                        Name = "name",

                        // the properties below are optional
                        Columns = new [] { new QueryGenerationColumnProperty {
                            Description = "description",
                            Inclusion = "inclusion",
                            Name = "name"
                        } },
                        Description = "description",
                        Inclusion = "inclusion"
                    } }
                }
            }
        }
    },
    VectorKnowledgeBaseConfiguration = new VectorKnowledgeBaseConfigurationProperty {
        EmbeddingModelArn = "embeddingModelArn",

        // the properties below are optional
        EmbeddingModelConfiguration = new EmbeddingModelConfigurationProperty {
            BedrockEmbeddingModelConfiguration = 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
                    }
                } }
            }
        },
        SupplementalDataStorageConfiguration = new SupplementalDataStorageConfigurationProperty {
            SupplementalDataStorageLocations = new [] { new SupplementalDataStorageLocationProperty {
                SupplementalDataStorageLocationType = "supplementalDataStorageLocationType",

                // the properties below are optional
                S3Location = new S3LocationProperty {
                    Uri = "uri"
                }
            } }
        }
    }
};
```

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{}

knowledgeBaseConfigurationProperty := &KnowledgeBaseConfigurationProperty{
	Type: jsii.String("type"),

	// the properties below are optional
	KendraKnowledgeBaseConfiguration: &KendraKnowledgeBaseConfigurationProperty{
		KendraIndexArn: jsii.String("kendraIndexArn"),
	},
	ManagedKnowledgeBaseConfiguration: &ManagedKnowledgeBaseConfigurationProperty{
		EmbeddingModelArn: jsii.String("embeddingModelArn"),
		EmbeddingModelConfiguration: &EmbeddingModelConfigurationProperty{
			BedrockEmbeddingModelConfiguration: &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),
						},
					},
				},
			},
		},
		EmbeddingModelType: jsii.String("embeddingModelType"),
		ServerSideEncryptionConfiguration: &ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty{
			KmsKeyArn: jsii.String("kmsKeyArn"),
		},
		SupplementalDataStorageConfiguration: &SupplementalDataStorageConfigurationProperty{
			SupplementalDataStorageLocations: []interface{}{
				&SupplementalDataStorageLocationProperty{
					SupplementalDataStorageLocationType: jsii.String("supplementalDataStorageLocationType"),

					// the properties below are optional
					S3Location: &S3LocationProperty{
						Uri: jsii.String("uri"),
					},
				},
			},
		},
	},
	SqlKnowledgeBaseConfiguration: &SqlKnowledgeBaseConfigurationProperty{
		Type: jsii.String("type"),

		// the properties below are optional
		RedshiftConfiguration: &RedshiftConfigurationProperty{
			QueryEngineConfiguration: &RedshiftQueryEngineConfigurationProperty{
				Type: jsii.String("type"),

				// the properties below are optional
				ProvisionedConfiguration: &RedshiftProvisionedConfigurationProperty{
					AuthConfiguration: &RedshiftProvisionedAuthConfigurationProperty{
						Type: jsii.String("type"),

						// the properties below are optional
						DatabaseUser: jsii.String("databaseUser"),
						UsernamePasswordSecretArn: jsii.String("usernamePasswordSecretArn"),
					},
					ClusterIdentifier: jsii.String("clusterIdentifier"),
				},
				ServerlessConfiguration: &RedshiftServerlessConfigurationProperty{
					AuthConfiguration: &RedshiftServerlessAuthConfigurationProperty{
						Type: jsii.String("type"),

						// the properties below are optional
						UsernamePasswordSecretArn: jsii.String("usernamePasswordSecretArn"),
					},
					WorkgroupArn: jsii.String("workgroupArn"),
				},
			},
			StorageConfigurations: []interface{}{
				&RedshiftQueryEngineStorageConfigurationProperty{
					Type: jsii.String("type"),

					// the properties below are optional
					AwsDataCatalogConfiguration: &RedshiftQueryEngineAwsDataCatalogStorageConfigurationProperty{
						TableNames: []*string{
							jsii.String("tableNames"),
						},
					},
					RedshiftConfiguration: &RedshiftQueryEngineRedshiftStorageConfigurationProperty{
						DatabaseName: jsii.String("databaseName"),
					},
				},
			},

			// the properties below are optional
			QueryGenerationConfiguration: &QueryGenerationConfigurationProperty{
				ExecutionTimeoutSeconds: jsii.Number(123),
				GenerationContext: &QueryGenerationContextProperty{
					CuratedQueries: []interface{}{
						&CuratedQueryProperty{
							NaturalLanguage: jsii.String("naturalLanguage"),
							Sql: jsii.String("sql"),
						},
					},
					Tables: []interface{}{
						&QueryGenerationTableProperty{
							Name: jsii.String("name"),

							// the properties below are optional
							Columns: []interface{}{
								&QueryGenerationColumnProperty{
									Description: jsii.String("description"),
									Inclusion: jsii.String("inclusion"),
									Name: jsii.String("name"),
								},
							},
							Description: jsii.String("description"),
							Inclusion: jsii.String("inclusion"),
						},
					},
				},
			},
		},
	},
	VectorKnowledgeBaseConfiguration: &VectorKnowledgeBaseConfigurationProperty{
		EmbeddingModelArn: jsii.String("embeddingModelArn"),

		// the properties below are optional
		EmbeddingModelConfiguration: &EmbeddingModelConfigurationProperty{
			BedrockEmbeddingModelConfiguration: &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),
						},
					},
				},
			},
		},
		SupplementalDataStorageConfiguration: &SupplementalDataStorageConfigurationProperty{
			SupplementalDataStorageLocations: []interface{}{
				&SupplementalDataStorageLocationProperty{
					SupplementalDataStorageLocationType: jsii.String("supplementalDataStorageLocationType"),

					// the properties below are optional
					S3Location: &S3LocationProperty{
						Uri: jsii.String("uri"),
					},
				},
			},
		},
	},
}
```

## Properties

- `kendraKnowledgeBaseConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.KendraKnowledgeBaseConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.KendraKnowledgeBaseConfigurationProperty.html) — Settings for an Amazon Kendra knowledge base.

- `managedKnowledgeBaseConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.ManagedKnowledgeBaseConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.ManagedKnowledgeBaseConfigurationProperty.html) — Contains details about the model used to create vector embeddings for a managed knowledge base.

- `sqlKnowledgeBaseConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.SqlKnowledgeBaseConfigurationProperty.html) — Specifies configurations for a knowledge base connected to an SQL database.

- `type`: string (required) — The type of data that the data source is converted into for the knowledge base.

- `vectorKnowledgeBaseConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty.html) — Contains details about the model that's used to convert the data source into vector embeddings.
