…ion-kept) at v2.263.0
RDS PR 2e (series finale): proxy.ts (DatabaseProxy, ProxyTarget,
SessionPinningFilter), proxy-endpoint.ts (DbProxyEndpoint), and
serverless-cluster.ts — ported IN FULL per user directive with 14 ADDED
@deprecated markers (upstream has zero; the file predates the convention)
because AWS retired Aurora Serverless v1 (engine_mode serverless is no
longer creatable) — unit-validation only, documented on the class.
addProxy() wiring re-enabled on instance/cluster (earlier TODO deferrals).
Upstream's single CfnDBProxyTargetGroup splits into
aws_db_proxy_default_target_group + aws_db_proxy_target (depends_on edge);
full connection_pool_config surface regression-tested. Live-caught defect:
provider validates aws_db_proxy.name (and endpoint name) lowercase-only at
plan — generated defaults now lowercased (regression test added).
clientPasswordAuthType stays omitted when unset — live drift oracle proves
the server-side default does NOT drift. 723 rds tests.
Live integ rds.proxy: RDS Proxy fronting MySQL db.t3.micro, target
registered through the split, drift-clean, PASS 665.77s.
Storage slice PR 6/6 (RDS series finale) — DatabaseProxy + ServerlessCluster v1 (v2.263.0)
Stacked on #148. Completes the aws-rds port:
proxy.ts(885 lines),proxy-endpoint.ts(271),serverless-cluster.ts(1,276), plus theaddProxy()wiring that earlier PRs TODO-deferred (DatabaseClusterBase.addProxy/DatabaseInstanceBase.addProxynow real). 721 rds-suite tests green.DatabaseProxy
CfnDBProxyTargetGroupsplits intoaws_db_proxy_default_target_group+aws_db_proxy_target(with an explicitdepends_onedge). Everyconnection_pool_configsub-field (borrowTimeout,initQuery,maxConnectionsPercent,maxIdleConnectionsPercent,sessionPinningFilters) plusdebug_logging/idle_client_timeout/require_tls/iam_auth: REQUIREDis asserted end-to-end across the split (coverage added after the adversarial verify flagged the gap).DbProxyEndpointwith target roles.ServerlessCluster v1 — kept, deprecation-marked, honestly documented
Per explicit direction: ported in full (1,276 lines incl.
ServerlessClusterFromSnapshot, v1scaling_configurationwithautoPause/ACU min-max,enableDataApi→enable_http_endpoint), not dropped. Two layers of deprecation truth:@deprecatedtags in this file (it predates the convention) — this port adds 14@deprecatedmarkers (every public class/interface) because AWS has retired Aurora Serverless v1 (engine_mode: "serverless"is no longer creatable). The class docs state this explicitly.Live integ (
make rds.proxy) — receipts in threadReal RDS Proxy fronting a live MySQL
db.t3.micro(major-onlyVER_8_0, sidestepping the retired-minor trap from #148): proxy available with MYSQL engine family + TLS required, instance registered as a target through the resource split, zero-drift plan, clean destroy.