Given that the arithmetic sequence $\left\{ a _ { n } \right\}$ has common difference $\frac { 2 \pi } { 3 }$, and the set $S = \left\{ \cos a _ { n } \mid n \in \mathbb{N} ^ { * } \right\}$. If $S = \{ a , b \}$, then $a b =$\\
A. $- 1$\\
B. $- \frac { 1 } { 2 }$\\
C. 0\\
D. $\frac { 1 } { 2 }$