Instance / Attribute / public_dns_name
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. This name is only available if you’ve enabled DNS hostnames for your VPC.