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 - runningstate. For EC2-VPC, this name is only available if you’ve enabled DNS hostnames for your VPC.