interface DescriptiveBotBuilderSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.DescriptiveBotBuilderSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_DescriptiveBotBuilderSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.DescriptiveBotBuilderSpecificationProperty |
Python | aws_cdk.aws_lex.CfnBot.DescriptiveBotBuilderSpecificationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » DescriptiveBotBuilderSpecificationProperty |
Contains specifications for the descriptive bot building feature.
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 descriptiveBotBuilderSpecificationProperty: lex.CfnBot.DescriptiveBotBuilderSpecificationProperty = {
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 |
|---|---|---|
| enabled | boolean | IResolvable | Specifies whether the descriptive bot building feature is activated or not. |
| bedrock | IResolvable | Bedrock | An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building. |
enabled
Type:
boolean | IResolvable
Specifies whether the descriptive bot building feature is activated or not.
bedrockModelSpecification?
Type:
IResolvable | Bedrock
(optional)
An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.

.NET
Go
Java
Python
TypeScript