interface SampleUtteranceGenerationSpecificationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lex.CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslex#CfnBotPropsMixin_SampleUtteranceGenerationSpecificationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty |
Python | aws_cdk.cfn_property_mixins.aws_lex.CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lex » CfnBotPropsMixin » 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/cfn-property-mixins';
const sampleUtteranceGenerationSpecificationProperty: lex.CfnBotPropsMixin.SampleUtteranceGenerationSpecificationProperty = {
bedrockModelSpecification: {
bedrockGuardrailConfiguration: {
bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
bedrockGuardrailVersion: 'bedrockGuardrailVersion',
},
bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
bedrockTraceStatus: 'bedrockTraceStatus',
modelArn: 'modelArn',
},
enabled: false,
};
Properties
| Name | Type | Description |
|---|---|---|
| bedrock | IResolvable | Bedrock | |
| enabled? | boolean | IResolvable | Specifies whether to enable sample utterance generation or not. |
bedrockModelSpecification?
Type:
IResolvable | Bedrock
(optional)
enabled?
Type:
boolean | IResolvable
(optional)
Specifies whether to enable sample utterance generation or not.

.NET
Go
Java
Python
TypeScript