# ContextEnrichmentConfigurationProperty

Context enrichment configuration is used to provide additional context to the RAG application.

- Source: Generated code
- Type last changed: v2.186.0 · 27 Mar 2025

## 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 contextEnrichmentConfigurationProperty: bedrock.CfnDataSource.ContextEnrichmentConfigurationProperty = {
  type: 'type',

  // the properties below are optional
  bedrockFoundationModelConfiguration: {
    enrichmentStrategyConfiguration: {
      method: 'method',
    },
    modelArn: 'modelArn',
  },
};
```

## Properties

- `bedrockFoundationModelConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.BedrockFoundationModelContextEnrichmentConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnDataSource.BedrockFoundationModelContextEnrichmentConfigurationProperty.html) — The configuration of the Amazon Bedrock foundation model used for context enrichment.

- `type`: string (required) — The method used for context enrichment.

  It must be Amazon Bedrock foundation models.
