Skip to content
v2.273.0

RedshiftQueryEngineConfigurationProperty Struct ​

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 in the Amazon Bedrock User Guide.

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 ​

provisionedConfigurationIResolvable | CfnKnowledgeBase.RedshiftProvisionedConfigurationPropertyprovisioned_configurationtyping.Union[IResolvable, RedshiftProvisionedConfigurationProperty]provisionedConfigurationIResolvableProvisionedConfigurationIResolvableProvisionedConfigurationinterface{}#
Specifies configurations for a provisioned Amazon Redshift query engine.
serverlessConfigurationIResolvable | CfnKnowledgeBase.RedshiftServerlessConfigurationPropertyserverless_configurationtyping.Union[IResolvable, RedshiftServerlessConfigurationProperty]serverlessConfigurationIResolvableServerlessConfigurationIResolvableServerlessConfigurationinterface{}#
Specifies configurations for a serverless Amazon Redshift query engine.
typestringtypestrtypeStringTypestringType*stringrequired#
The type of query engine.