public_dns_name

EC2.Instance.public_dns_name
  • (string) --

    (IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.