class Endpoint
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Redshift.Endpoint |
Java | software.amazon.awscdk.services.redshift.Endpoint |
Python | aws_cdk.aws_redshift.Endpoint |
TypeScript (source) | @aws-cdk/aws-redshift » Endpoint |
Connection endpoint of a redshift cluster.
Consists of a combination of hostname and port.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as redshift from '@aws-cdk/aws-redshift';
const endpoint = new redshift.Endpoint('address', 123);
Initializer
new Endpoint(address: string, port: number)
Parameters
- address
string - port
number
Properties
| Name | Type | Description |
|---|---|---|
| hostname | string | The hostname of the endpoint. |
| port | number | The port of the endpoint. |
| socket | string | The combination of "HOSTNAME:PORT" for this endpoint. |
hostname
Type:
string
The hostname of the endpoint.
port
Type:
number
The port of the endpoint.
socketAddress
Type:
string
The combination of "HOSTNAME:PORT" for this endpoint.

.NET
Java
Python
TypeScript (