IAM policy elements: Version
The
Versionpolicy element specifies the language syntax rules that are to be used to process a policy.A policy version, on the other hand, is created when you make changes to a customer managed policy in IAM.
IAM supports the following Version element values:
2012-10-17. This is the current version of the policy language, and you should always include aVersionelement and set it to2012-10-17.2008-10-17. 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.
If you do not include a
Versionelement, the value defaults to2008-10-17, but newer features, such as policy variables, will not work with your policy.
Last updated
Was this helpful?