The Version policy element is used within a policy and defines the version of
the policy language.
If you do not include a Version element, the value defaults to 2008-10-17,
but newer features, such as policy variables, will not work with your policy.
For example, variables such as ${aws:username} aren’t recognized as variables
and are instead treated as literal strings in the policy.
This is the current version of the policy language, and you should always
include a Version element and set it to 2012-10-17. Otherwise, you cannot
use features such as policy variables that were introduced with this version.
This was an earlier version of the policy language. You might see this
version on older existing policies. Do not use this version for any new
policies or when you update any existing policies.