interface RuntimeSettingsProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Lex.Mixins.CfnBotPropsMixin.RuntimeSettingsProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awslex/mixins#CfnBotPropsMixin_RuntimeSettingsProperty |
Java | software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotPropsMixin.RuntimeSettingsProperty |
Python | aws_cdk.mixins_preview.aws_lex.mixins.CfnBotPropsMixin.RuntimeSettingsProperty |
TypeScript | @aws-cdk/mixins-preview » aws_lex » mixins » CfnBotPropsMixin » 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 { mixins as lex_mixins } from '@aws-cdk/mixins-preview/aws-lex';
const runtimeSettingsProperty: lex_mixins.CfnBotPropsMixin.RuntimeSettingsProperty = {
nluImprovementSpecification: {
enabled: false,
},
slotResolutionImprovementSpecification: {
bedrockModelSpecification: {
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
modelArn: 'modelArn',
},
enabled: false,
},
};
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