# RedshiftProvisionedConfigurationProperty

Contains configurations for a provisioned Amazon Redshift query engine.

- Source: Generated at build time
- Type last changed: v2.177.0 · 25 Jan 2025

## Example

TypeScript:

```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 redshiftProvisionedConfigurationProperty: bedrock.CfnKnowledgeBase.RedshiftProvisionedConfigurationProperty = {
  authConfiguration: {
    type: 'type',

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock

redshift_provisioned_configuration_property = bedrock.CfnKnowledgeBase.RedshiftProvisionedConfigurationProperty(
    auth_configuration=bedrock.CfnKnowledgeBase.RedshiftProvisionedAuthConfigurationProperty(
        type="type",

        # the properties below are optional
        database_user="databaseUser",
        username_password_secret_arn="usernamePasswordSecretArn"
    ),
    cluster_identifier="clusterIdentifier"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;

RedshiftProvisionedConfigurationProperty redshiftProvisionedConfigurationProperty = RedshiftProvisionedConfigurationProperty.builder()
        .authConfiguration(RedshiftProvisionedAuthConfigurationProperty.builder()
                .type("type")

                // the properties below are optional
                .databaseUser("databaseUser")
                .usernamePasswordSecretArn("usernamePasswordSecretArn")
                .build())
        .clusterIdentifier("clusterIdentifier")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;

var redshiftProvisionedConfigurationProperty = new RedshiftProvisionedConfigurationProperty {
    AuthConfiguration = new RedshiftProvisionedAuthConfigurationProperty {
        Type = "type",

        // the properties below are optional
        DatabaseUser = "databaseUser",
        UsernamePasswordSecretArn = "usernamePasswordSecretArn"
    },
    ClusterIdentifier = "clusterIdentifier"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

redshiftProvisionedConfigurationProperty := &RedshiftProvisionedConfigurationProperty{
	AuthConfiguration: &RedshiftProvisionedAuthConfigurationProperty{
		Type: jsii.String("type"),

		// the properties below are optional
		DatabaseUser: jsii.String("databaseUser"),
		UsernamePasswordSecretArn: jsii.String("usernamePasswordSecretArn"),
	},
	ClusterIdentifier: jsii.String("clusterIdentifier"),
}
```

## Properties

- `authConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.RedshiftProvisionedAuthConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.RedshiftProvisionedAuthConfigurationProperty.html) (required) — Specifies configurations for authentication to Amazon Redshift.

- `clusterIdentifier`: string (required) — The ID of the Amazon Redshift cluster.
