publicIp property
Public IP address assigned to the instance, if applicable. NOTE: If you are using an aws.ec2.Eip with your instance, you should refer to the EIP's address directly and not use publicIp as this field will change after the EIP is attached.
Implementation
final pulumi.Input<String?>? publicIp;