I'm trying to optimize methyl iodide, and I wanted to use Aug-cc-pVTZ-PP as the basis set. what is the keyword for this basis set? (I'm very new to theoretical calculation and I'm trying to learn on my own)
Using the aug-cc-pVTZ basis set with much diffuse exponents to optimize the structure of methyl iodide is meaningless. The def2- or SDD basis set without any diffuse exponents on hydrogen atoms is recommended. The keywords for this basis sets will be determined by the software you selected. Please read their manual carefully.
I suppose that the author of the question means to use different BSs for C, H, and that the aug-CC-pVTZ-PP set is intended to be adopted for iodine only. If this is the case, the choice of the aug-cc-pVTZ BS may not be useless, especially if the results from the calculations on CH3I are meant to be compared with others where a larger charge separation is possibly involved.
Apart from these considerations, the basis set can be obtained from the Basis Set Exchange web site (https://www.basissetexchange.org). In the specific case of Gaussian, a very popular commercial suite, the BS and related ECPs can be imported with the gen and pseudo=read keywords. In this case, the aug-cc-pVTZ is to be added at the end of the input file as follows:
Although for iodine atom, it is not need to use aug-CC-pVTZ basis set in the geometry optimization. The structure of local energy minimum in the potential energy surface can be finded by normal basis sets without diffuse function, such as def2-TZVP. This will save much computing time.
If you want to calculate the single point energy or electronic structure after geometry optimization, you can use high precise basis sets with diffuse function.