Endpoint

class aws_cdk.aws_neptune.Endpoint(address, port)

Bases: object

(experimental) Connection endpoint of a neptune cluster or instance.

Consists of a combination of hostname and port.

Stability

experimental

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_neptune as neptune

endpoint = neptune.Endpoint("address", 123)
Parameters
  • address (str) –

  • port (Union[int, float]) –

Stability

experimental

Attributes

hostname

(experimental) The hostname of the endpoint.

Stability

experimental

Return type

str

port

(experimental) The port of the endpoint.

Stability

experimental

Return type

Union[int, float]

socket_address

PORT” for this endpoint.

Stability

experimental

Type

(experimental) The combination of “HOSTNAME

Return type

str