I'm creating an ElastiCache replication group for Redis with Cloudformation, which does not allow to specify the group name or clusters name (they are randomly generated gibberish).
So my idea is to create a DNS record to alias it, but I don't know how to get the hosted zone id for the alias target.
I could go for a CNAME, but if the A record alias option is possible I would rather do that.