Class Endpoint
Connection endpoint of a database cluster or instance.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class Endpoint : DeputyBase
Syntax (vb)
Public Class Endpoint Inherits DeputyBase
Remarks
Consists of a combination of hostname and port.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var endpoint = new Endpoint("address", 123);
Synopsis
Constructors
Endpoint(string, double) | Connection endpoint of a database cluster or instance. |
Properties
Hostname | The hostname of the endpoint. |
Port | The port of the endpoint. |
SocketAddress | The combination of "HOSTNAME:PORT" for this endpoint. |
Constructors
Endpoint(string, double)
Connection endpoint of a database cluster or instance.
public Endpoint(string address, double port)
Parameters
Remarks
Consists of a combination of hostname and port.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var endpoint = new Endpoint("address", 123);
Properties
Hostname
The hostname of the endpoint.
public virtual string Hostname { get; }
Property Value
Remarks
Consists of a combination of hostname and port.
ExampleMetadata: fixture=_generated
Port
The port of the endpoint.
public virtual double Port { get; }
Property Value
Remarks
Consists of a combination of hostname and port.
ExampleMetadata: fixture=_generated
SocketAddress
The combination of "HOSTNAME:PORT" for this endpoint.
public virtual string SocketAddress { get; }
Property Value
Remarks
Consists of a combination of hostname and port.
ExampleMetadata: fixture=_generated