Endpoint

class aws_cdk.aws_rds.Endpoint(address, port)

Bases: object

Connection endpoint of a database cluster or instance.

Consists of a combination of hostname and port.

ExampleMetadata:

fixture=_generated

Example:

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

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

  • port (Union[int, float]) –

Attributes

hostname

The hostname of the endpoint.

port

The port of the endpoint.

socket_address

PORT” for this endpoint.

Type:

The combination of “HOSTNAME