mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
Serve CreateDBClusterEndpoint, DescribeDBClusterEndpoints, ModifyDBClusterEndpoint and DeleteDBClusterEndpoint. A custom endpoint is stored per Region with the rules from the API reference and the Aurora user guide: type READER or ANY, a static or an exclusion member list but not both, members that are instances of the cluster, no writer in a READER endpoint, an RDS identifier stored lower case and unique in the Region, and at most five per cluster. Its ARN (cluster-endpoint:<id>) works with the tagging actions. DescribeDBClusterEndpoints lists each cluster's built-in WRITER and READER endpoints with its custom ones, and supports the cluster and endpoint identifiers, the four documented filters and paging. Deleting a cluster deletes its custom endpoints, and a deleted instance drops out of the member lists. Custom endpoints are modelled, not routed: one reports the cluster's own endpoint host, so connections through it go where the cluster endpoint sends them. Closes #5072