class Endpoint
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Neptune.Endpoint |
Java | software.amazon.awscdk.services.neptune.Endpoint |
Python | aws_cdk.aws_neptune.Endpoint |
TypeScript (source) | @aws-cdk/aws-neptune » 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 from '@aws-cdk/aws-neptune';
const endpoint = new neptune.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 (