Experimental
@aws-cdk/aws-redshift-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
Endpoint Class
Connection endpoint of a redshift cluster.
Consists of a combination of hostname and port.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as redshift_alpha from '@aws-cdk/aws-redshift-alpha';
const endpoint = new redshift_alpha.Endpoint('address', 123);
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_redshift_alpha as redshift_alpha
endpoint = redshift_alpha.Endpoint("address", 123)
csharp
// Install: dotnet add package Amazon.CDK.AWS.Redshift.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Redshift.Alpha;
var endpoint = new Endpoint("address", 123);
go
// Install: go get github.com/aws/aws-cdk-go/awscdkredshiftalpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import redshift_alpha "github.com/aws/aws-cdk-go/awscdkredshiftalpha"
endpoint := redshift_alpha.NewEndpoint(jsii.String("address"), jsii.Number(123))
Initializer
ts
new Endpoint(address: string, port: number)
python
Endpoint(address: str, port: int | float)
java
new Endpoint(String address, Number port)
csharp
new Endpoint(string address, double port)
go
NewEndpoint(Address *string, Port *float64)
Properties
The hostname of the endpoint.
The port of the endpoint.
socketAddressstringsocket_addressstrsocketAddressStringSocketAddressstringSocketAddress*stringrequired#The combination of "HOSTNAME:PORT" for this endpoint.