UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

21 lines (20 loc) 471 B
/** * Connection endpoint of a database cluster or instance * * Consists of a combination of hostname and port. */ export declare class Endpoint { /** * The hostname of the endpoint */ readonly hostname: string; /** * The port of the endpoint */ readonly port: number; /** * The combination of "HOSTNAME:PORT" for this endpoint */ readonly socketAddress: string; constructor(address: string, port: number); }