By definition, for a linear model we have that $$\text{AIC}=n\log\left(\frac{\text{RSS}}{n}\right)+2p$$ where $n$ is the number of observations, $p$- the number of parameters and RSS - the residual sum of squares
My question is: If we have the Residual Deviance for a given GLM can we find the AIC?