# BedrockFoundationModelConfigurationProperty

The configuration of the Bedrock foundation model.

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_wisdom as wisdom } from 'aws-cdk-lib';
const bedrockFoundationModelConfigurationProperty: wisdom.CfnKnowledgeBase.BedrockFoundationModelConfigurationProperty = {
  modelArn: 'modelArn',

  // the properties below are optional
  parsingPrompt: {
    parsingPromptText: 'parsingPromptText',
  },
};
```

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_wisdom as wisdom

bedrock_foundation_model_configuration_property = wisdom.CfnKnowledgeBase.BedrockFoundationModelConfigurationProperty(
    model_arn="modelArn",

    # the properties below are optional
    parsing_prompt=wisdom.CfnKnowledgeBase.ParsingPromptProperty(
        parsing_prompt_text="parsingPromptText"
    )
)
```

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

BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfigurationProperty = BedrockFoundationModelConfigurationProperty.builder()
        .modelArn("modelArn")

        // the properties below are optional
        .parsingPrompt(ParsingPromptProperty.builder()
                .parsingPromptText("parsingPromptText")
                .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.Wisdom;

var bedrockFoundationModelConfigurationProperty = new BedrockFoundationModelConfigurationProperty {
    ModelArn = "modelArn",

    // the properties below are optional
    ParsingPrompt = new ParsingPromptProperty {
        ParsingPromptText = "parsingPromptText"
    }
};
```

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"

bedrockFoundationModelConfigurationProperty := &BedrockFoundationModelConfigurationProperty{
	ModelArn: jsii.String("modelArn"),

	// the properties below are optional
	ParsingPrompt: &ParsingPromptProperty{
		ParsingPromptText: jsii.String("parsingPromptText"),
	},
}
```

## Properties

- `modelArn`: string (required) — The model ARN of the Bedrock foundation model.

- `parsingPrompt`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.ParsingPromptProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_wisdom.CfnKnowledgeBase.ParsingPromptProperty.html) — The parsing prompt of the Bedrock foundation model configuration.
