interface SampleUtteranceGenerationSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lex.CfnBot.SampleUtteranceGenerationSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslex#CfnBot_SampleUtteranceGenerationSpecificationProperty |
Java | software.amazon.awscdk.services.lex.CfnBot.SampleUtteranceGenerationSpecificationProperty |
Python | aws_cdk.aws_lex.CfnBot.SampleUtteranceGenerationSpecificationProperty |
TypeScript | aws-cdk-lib » aws_lex » CfnBot » SampleUtteranceGenerationSpecificationProperty |
Contains specifications for the sample utterance generation 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 sampleUtteranceGenerationSpecificationProperty: lex.CfnBot.SampleUtteranceGenerationSpecificationProperty = {
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 to enable sample utterance generation or not. |
| bedrock | IResolvable | Bedrock |
enabled
Type:
boolean | IResolvable
Specifies whether to enable sample utterance generation or not.
bedrockModelSpecification?
Type:
IResolvable | Bedrock
(optional)

.NET
Go
Java
Python
TypeScript