Interface CfnBot.BedrockModelSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.BedrockModelSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.BedrockModelSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.
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.lex.*;
BedrockModelSpecificationProperty bedrockModelSpecificationProperty = BedrockModelSpecificationProperty.builder()
.modelArn("modelArn")
// the properties below are optional
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.BedrockModelSpecificationPropertystatic final classAn implementation forCfnBot.BedrockModelSpecificationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe guardrail configuration in the Bedrock model specification details.default StringThe custom prompt used in the Bedrock model specification details.default StringThe Bedrock trace status in the Bedrock model specification details.The ARN of the foundation model used in descriptive bot building.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getModelArn
The ARN of the foundation model used in descriptive bot building.- See Also:
-
getBedrockGuardrailConfiguration
The guardrail configuration in the Bedrock model specification details.- See Also:
-
getBedrockModelCustomPrompt
The custom prompt used in the Bedrock model specification details.- See Also:
-
getBedrockTraceStatus
The Bedrock trace status in the Bedrock model specification details.- See Also:
-
builder
-