Skip to content
v2.278.0

RedshiftSettingsProperty Struct ​

Provides information that defines an Amazon Redshift endpoint.

Example ​

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
# 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
// 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();
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"
};
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 ​

databaseNamestringdatabase_namestrdatabaseNameStringDatabaseNamestringDatabaseName*string required #
The name of the Amazon Redshift data warehouse (service) that you are working with.
portnumberportint | floatportNumberPortdoublePort*float64 required #
The port number for Amazon Redshift.

The default value is 5439.

serverNamestringserver_namestrserverNameStringServerNamestringServerName*string required #
The name of the Amazon Redshift cluster you are using.