interface RuntimeSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.RuntimeSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_RuntimeSettingsProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.RuntimeSettingsProperty |
Python | aws_cdk.aws_lex.CfnBot.RuntimeSettingsProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » RuntimeSettingsProperty |
Contains specifications about the Amazon Lex runtime 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 { aws_lex as lex } from 'aws-cdk-lib';
const runtimeSettingsProperty: lex.CfnBot.RuntimeSettingsProperty = {
nluImprovementSpecification: {
enabled: false,
},
slotResolutionImprovementSpecification: {
enabled: false,
// the properties below are optional
bedrockModelSpecification: {
modelArn: 'modelArn',
// the properties below are optional
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| nlu | IResolvable | Nlu | |
| slot | IResolvable | Slot |
nluImprovementSpecification?
Type:
IResolvable | Nlu
(optional)
slotResolutionImprovementSpecification?
Type:
IResolvable | Slot
(optional)

.NET
Go
Java
Python
TypeScript