# QueryGenerationConfigurationProperty

Contains configurations for query generation.

For more information, see [Build a knowledge base by connecting to a structured data source](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html) in the Amazon Bedrock User Guide..

- Source: Generated code
- Type last changed: v2.177.0 · 25 Jan 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const queryGenerationConfigurationProperty: bedrock.CfnKnowledgeBase.QueryGenerationConfigurationProperty = {
  executionTimeoutSeconds: 123,
  generationContext: {
    curatedQueries: [{
      naturalLanguage: 'naturalLanguage',
      sql: 'sql',
    }],
    tables: [{
      name: 'name',

      // the properties below are optional
      columns: [{
        description: 'description',
        inclusion: 'inclusion',
        name: 'name',
      }],
      description: 'description',
      inclusion: 'inclusion',
    }],
  },
};
```

## Properties

- `executionTimeoutSeconds`: number — The time after which query generation will time out.

- `generationContext`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.QueryGenerationContextProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.QueryGenerationContextProperty.html) — Specifies configurations for context to use during query generation.
