class Endpoint
This page is available in another version. Click here for the v2 documentation.
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Redshift.Endpoint |
![]() | software.amazon.awscdk.services.redshift.Endpoint |
![]() | aws_cdk.aws_redshift.Endpoint |
![]() | @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.