class Endpoint
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Neptune.Alpha.Endpoint |
![]() | github.com/aws/aws-cdk-go/awscdkneptunealpha/v2#Endpoint |
![]() | software.amazon.awscdk.services.neptune.alpha.Endpoint |
![]() | aws_cdk.aws_neptune_alpha.Endpoint |
![]() | @aws-cdk/aws-neptune-alpha ยป Endpoint |
Connection endpoint of a neptune cluster or instance.
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 neptune_alpha from '@aws-cdk/aws-neptune-alpha';
const endpoint = new neptune_alpha.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.