Interface CfnBot.BuildtimeSettingsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.BuildtimeSettingsProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.BuildtimeSettingsProperty
extends software.amazon.jsii.JsiiSerializable
Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.
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.*;
BuildtimeSettingsProperty buildtimeSettingsProperty = BuildtimeSettingsProperty.builder()
.descriptiveBotBuilderSpecification(DescriptiveBotBuilderSpecificationProperty.builder()
.enabled(false)
// the properties below are optional
.bedrockModelSpecification(BedrockModelSpecificationProperty.builder()
.modelArn("modelArn")
// the properties below are optional
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.build())
.build())
.sampleUtteranceGenerationSpecification(SampleUtteranceGenerationSpecificationProperty.builder()
.enabled(false)
// the properties below are optional
.bedrockModelSpecification(BedrockModelSpecificationProperty.builder()
.modelArn("modelArn")
// the properties below are optional
.bedrockGuardrailConfiguration(BedrockGuardrailConfigurationProperty.builder()
.bedrockGuardrailIdentifier("bedrockGuardrailIdentifier")
.bedrockGuardrailVersion("bedrockGuardrailVersion")
.build())
.bedrockModelCustomPrompt("bedrockModelCustomPrompt")
.bedrockTraceStatus("bedrockTraceStatus")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBot.BuildtimeSettingsPropertystatic final classAn implementation forCfnBot.BuildtimeSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnBot.DescriptiveBotBuilderSpecificationPropertydefault ObjectReturns union: eitherIResolvableorCfnBot.SampleUtteranceGenerationSpecificationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescriptiveBotBuilderSpecification
Returns union: eitherIResolvableorCfnBot.DescriptiveBotBuilderSpecificationProperty- See Also:
-
getSampleUtteranceGenerationSpecification
Returns union: eitherIResolvableorCfnBot.SampleUtteranceGenerationSpecificationProperty- See Also:
-
builder
-