aws-cdk-lib.aws_rds.Endpoint

class Endpoint

LanguageType name
.NETAmazon.CDK.AWS.RDS.Endpoint
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsrds#Endpoint
Javasoftware.amazon.awscdk.services.rds.Endpoint
Pythonaws_cdk.aws_rds.Endpoint
TypeScript (source)aws-cdk-lib » aws_rds » Endpoint

Connection endpoint of a database 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 { aws_rds as rds } from 'aws-cdk-lib';
const endpoint = new rds.Endpoint('address', 123);

Initializer

new Endpoint(address: string, port: number)

Parameters

  • address string
  • port number

Properties

NameTypeDescription
hostnamestringThe hostname of the endpoint.
portnumberThe port of the endpoint.
socketAddressstringThe 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.