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 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
.parsingModality("parsingModality")
.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
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModelArn
The ARN of the foundation model to use for parsing.- See Also:
-
getParsingModality
Specifies whether to enable parsing of multimodal data, including both text and/or images.- See Also:
-
getParsingPrompt
Instructions for interpreting the contents of a document.Returns union: either
IResolvableorCfnDataSource.ParsingPromptProperty- See Also:
-
builder
@Stability(Stable) static CfnDataSource.BedrockFoundationModelConfigurationProperty.Builder builder()
-