code: func newAWSInstance(ec2Service EC2, instance *ec2.Instance) *awsInstance {
  	az := ""
  	if instance.Placement != nil {
  		az = aws.StringValue(instance.Placement.AvailabilityZone)
  	}
  	self := &awsInstance{
  		ec2:              ec2Service,
  		awsID:            aws.StringValue(instance.InstanceId),
  		nodeName:         mapInstanceToNodeName(instance),
  		availabilityZone: az,
  		instanceType:     aws.StringValue(instance.InstanceType),
  		vpcID:            aws.StringValue(instance.VpcId),
  		subnetID:         aws.StringValue(instance.SubnetId),
  	}
  
  	return self
  }
docs: // newAWSInstance creates a new awsInstance object