# RedshiftSettingsProperty

Provides information that defines an Amazon Redshift endpoint.

- Source: Generated at build time
- Type last changed: v2.174.0 · 4 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_dms as dms } from 'aws-cdk-lib';
const redshiftSettingsProperty: dms.CfnDataProvider.RedshiftSettingsProperty = {
  databaseName: 'databaseName',
  port: 123,
  serverName: 'serverName',
};
```

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_dms as dms

redshift_settings_property = dms.CfnDataProvider.RedshiftSettingsProperty(
    database_name="databaseName",
    port=123,
    server_name="serverName"
)
```

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.dms.*;

RedshiftSettingsProperty redshiftSettingsProperty = RedshiftSettingsProperty.builder()
        .databaseName("databaseName")
        .port(123)
        .serverName("serverName")
        .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.DMS;

var redshiftSettingsProperty = new RedshiftSettingsProperty {
    DatabaseName = "databaseName",
    Port = 123,
    ServerName = "serverName"
};
```

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"

redshiftSettingsProperty := &RedshiftSettingsProperty{
	DatabaseName: jsii.String("databaseName"),
	Port: jsii.Number(123),
	ServerName: jsii.String("serverName"),
}
```

## Properties

- `databaseName`: string (required) — The name of the Amazon Redshift data warehouse (service) that you are working with.

- `port`: number (required) — The port number for Amazon Redshift.

  The default value is 5439.

- `serverName`: string (required) — The name of the Amazon Redshift cluster you are using.
