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 ObjectReturns union: eitherIResolvableorCfnBot.BedrockGuardrailConfigurationPropertydefault Stringdefault StringThe 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
Returns union: eitherIResolvableorCfnBot.BedrockGuardrailConfigurationProperty- See Also:
-
getBedrockModelCustomPrompt
- See Also:
-
getBedrockTraceStatus
- See Also:
-
builder
-