# RedshiftParametersProperty

The parameters for Amazon Redshift.

The `ClusterId` field can be blank if `Host` and `Port` are both set. The `Host` and `Port` fields can be blank if the `ClusterId` field is set.

- Source: Generated code
- Type last changed: v2.143.0 · 24 May 2024

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const redshiftParametersProperty: quicksight.CfnDataSource.RedshiftParametersProperty = {
  database: 'database',

  // the properties below are optional
  clusterId: 'clusterId',
  host: 'host',
  iamParameters: {
    roleArn: 'roleArn',

    // the properties below are optional
    autoCreateDatabaseUser: false,
    databaseGroups: ['databaseGroups'],
    databaseUser: 'databaseUser',
  },
  identityCenterConfiguration: {
    enableIdentityPropagation: false,
  },
  port: 123,
};
```

## Properties

- `clusterId`: string — Cluster ID.

  This field can be blank if the `Host` and `Port` are provided.

- `database`: string (required) — Database.

- `host`: string — Host.

  This field can be blank if `ClusterId` is provided.

- `iamParameters`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.RedshiftIAMParametersProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSource.RedshiftIAMParametersProperty.html) — An optional parameter that uses IAM authentication to grant Quick Sight access to your cluster.

  This parameter can be used instead of [DataSourceCredentials](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_DataSourceCredentials.html) .

- `identityCenterConfiguration`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnDataSource.IdentityCenterConfigurationProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_quicksight.CfnDataSource.IdentityCenterConfigurationProperty.html) — An optional parameter that configures IAM Identity Center authentication to grant Quick Sight access to your cluster.

  This parameter can only be specified if your Quick Sight account is configured with IAM Identity Center.

- `port`: number = 0 — Port.

  This field can be blank if the `ClusterId` is provided.
