title: How to create an "alias target" A DNS record in Route53 for an elasticache replication group
body: <p>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).</p>
  
  <p>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.</p>
  
  <p>I could go for a CNAME, but if the A record alias option is possible I would rather do that.</p>