Class Endpoint
Connection endpoint of a database cluster or instance.
Inheritance
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.AWS.RDS.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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Endpoint(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Endpoint(String, Double) |
Properties
Hostname | The hostname of the endpoint. |
Port | The port of the endpoint. |
SocketAddress | The combination of "HOSTNAME:PORT" for this endpoint. |
Constructors
Endpoint(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected Endpoint(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
Endpoint(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected Endpoint(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Endpoint(String, Double)
public Endpoint(string address, double port)
Parameters
- address System.String
- port System.Double
Properties
Hostname
The hostname of the endpoint.
public virtual string Hostname { get; }
Property Value
System.String
Port
The port of the endpoint.
public virtual double Port { get; }
Property Value
System.Double
SocketAddress
The combination of "HOSTNAME:PORT" for this endpoint.
public virtual string SocketAddress { get; }
Property Value
System.String