BedrockFoundationModelConfigurationProperty Struct
The configuration of the Bedrock foundation model.
| 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_wisdom as wisdom } from 'aws-cdk-lib';
const bedrockFoundationModelConfigurationProperty: wisdom.CfnKnowledgeBase.BedrockFoundationModelConfigurationProperty = {
modelArn: 'modelArn',
// the properties below are optional
parsingPrompt: {
parsingPromptText: 'parsingPromptText',
},
};
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
// 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();
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"
}
};
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
The model ARN of the Bedrock foundation model.
parsingPromptoptionalIResolvable | CfnKnowledgeBase.parsing_promptoptionaltyping.Union[IResolvable, ParsingPromptProperty]parsingPromptoptionalIResolvableParsingPromptoptionalIResolvableParsingPromptoptionalinterface{} #The parsing prompt of the Bedrock foundation model configuration.