# BuildtimeSettingsProperty

Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.

- 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 buildtimeSettingsProperty: lex.CfnBot.BuildtimeSettingsProperty = {
  descriptiveBotBuilderSpecification: {
    enabled: false,

    // the properties below are optional
    bedrockModelSpecification: {
      modelArn: 'modelArn',

      // the properties below are optional
      bedrockGuardrailConfiguration: {
        bedrockGuardrailIdentifier: 'bedrockGuardrailIdentifier',
        bedrockGuardrailVersion: 'bedrockGuardrailVersion',
      },
      bedrockModelCustomPrompt: 'bedrockModelCustomPrompt',
      bedrockTraceStatus: 'bedrockTraceStatus',
    },
  },
  sampleUtteranceGenerationSpecification: {
    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

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

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