# SampleUtteranceGenerationSpecificationProperty

Contains specifications for the sample utterance generation feature.

- Source: Generated code
- Type last changed: v2.203.0 · 1 Jul 2025

## Example

```ts
// 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

- `bedrockModelSpecification`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBot.BedrockModelSpecificationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_lex.CfnBot.BedrockModelSpecificationProperty.html)

- `enabled`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Specifies whether to enable sample utterance generation or not.
