Detecting Logical Replication Error on Postgres v10 on AWS RDS CloudWatch metrics
Through trial and error I found out that you can use OldestReplicationSlotLag.

If there are replication errors,  it accumlates the slotlag bytes