# RedshiftQueryEngineConfigurationProperty

Contains configurations for an Amazon Redshift query engine.

Specify the type of query engine in `type` and include the corresponding field. 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 redshiftQueryEngineConfigurationProperty: bedrock.CfnKnowledgeBase.RedshiftQueryEngineConfigurationProperty = {
  type: 'type',

  // the properties below are optional
  provisionedConfiguration: {
    authConfiguration: {
      type: 'type',

      // the properties below are optional
      databaseUser: 'databaseUser',
      usernamePasswordSecretArn: 'usernamePasswordSecretArn',
    },
    clusterIdentifier: 'clusterIdentifier',
  },
  serverlessConfiguration: {
    authConfiguration: {
      type: 'type',

      // the properties below are optional
      usernamePasswordSecretArn: 'usernamePasswordSecretArn',
    },
    workgroupArn: 'workgroupArn',
  },
};
```

## Properties

- `provisionedConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.RedshiftProvisionedConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.RedshiftProvisionedConfigurationProperty.html) — Specifies configurations for a provisioned Amazon Redshift query engine.

- `serverlessConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.RedshiftServerlessConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.RedshiftServerlessConfigurationProperty.html) — Specifies configurations for a serverless Amazon Redshift query engine.

- `type`: string (required) — The type of query engine.
