Interface CfnDataSource.BedrockFoundationModelConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.BedrockFoundationModelConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.BedrockFoundationModelConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Settings for a foundation model or inference profile used to parse documents for a data source.
Example:
// 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.*;
BedrockFoundationModelConfigurationProperty bedrockFoundationModelConfigurationProperty = BedrockFoundationModelConfigurationProperty.builder()
.modelArn("modelArn")
// the properties below are optional
.parsingPrompt(ParsingPromptProperty.builder()
.parsingPromptText("parsingPromptText")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataSource.BedrockFoundationModelConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The ARN of the foundation model or inference profile .default ObjectInstructions for interpreting the contents of a document.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModelArn
The ARN of the foundation model or inference profile .- See Also:
-
getParsingPrompt
Instructions for interpreting the contents of a document.- See Also:
-
builder
@Stability(Stable) static CfnDataSource.BedrockFoundationModelConfigurationProperty.Builder builder()
-