ServiceResource / Sub-Resource / PolicyVersion

PolicyVersion#

IAM.ServiceResource.PolicyVersion(arn, version_id)#

Creates a PolicyVersion resource.:

policy_version = iam.PolicyVersion('arn','version_id')
Parameters:
  • arn (string) – The PolicyVersion’s arn identifier. This must be set.

  • version_id (string) – The PolicyVersion’s version_id identifier. This must be set.

Return type:

IAM.PolicyVersion

Returns:

A PolicyVersion resource