:doc:`ServiceResource <index>` / Sub-Resource / PolicyVersion

*************
PolicyVersion
*************



.. py:method:: IAM.ServiceResource.PolicyVersion(arn,version_id)

  Creates a PolicyVersion resource.::

    policy_version = iam.PolicyVersion('arn','version_id')

  :type arn: string
  :param arn: The PolicyVersion's arn identifier. This **must** be set.
  :type version_id: string
  :param version_id: The PolicyVersion's version_id identifier. This **must** be set.
  
  :rtype: :py:class:`IAM.PolicyVersion`
  :returns: A PolicyVersion resource
  