Module Values_0.DBProxyTargetSource

Contains the details for an RDS Proxy target. It represents an RDS DB instance or Aurora DB cluster that the proxy can connect to. One or more targets are associated with an RDS Proxy target group. This data type is used as a response element in the DescribeDBProxyTargets action.

Sourcetype nonrec t = {
  1. targetArn : String_.t option;
    (*

    The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.

    *)
  2. endpoint : String_.t option;
    (*

    The writer endpoint for the RDS DB instance or Aurora DB cluster.

    *)
  3. trackedClusterId : String_.t option;
    (*

    The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.

    *)
  4. rdsResourceId : String_.t option;
    (*

    The identifier representing the target. It can be the instance identifier for an RDS DB instance, or the cluster identifier for an Aurora DB cluster.

    *)
  5. port : Integer.t option;
    (*

    The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.

    *)
  6. type_ : TargetType.t option;
    (*

    Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.

    *)
  7. role : TargetRole.t option;
    (*

    A value that indicates whether the target of the proxy can be used for read/write or read-only operations.

    *)
  8. targetHealth : TargetHealth.t option;
    (*

    Information about the connection health of the RDS Proxy target.

    *)
}
Sourceval make : ?targetArn:??? -> ?endpoint:??? -> ?trackedClusterId:??? -> ?rdsResourceId:??? -> ?port:??? -> ?type_:??? -> ?role:??? -> ?targetHealth:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Integer.t | `String of String_.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t