AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Contains information about a version of a managed policy.
For more information about managed policies, refer to Managed Policies and Inline Policies in the IAM User Guide.
public class PolicyVersion
The PolicyVersion type exposes the following members
Gets and sets the property CreateDate.
The date and time, in ISO 8601 date-time format, when the policy version was created.
Gets and sets the property Document.
The policy document.
The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.
The policy document returned in this structure is URL-encoded compliant with RFC
3986. You can use a URL decoding method to convert the policy back to plain JSON
text. For example, if you use Java, you can use the
Gets and sets the property IsDefaultVersion.
Specifies whether the policy version is set as the policy's default version.
Gets and sets the property VersionId.
The identifier for the policy version.
Policy version identifiers always begin with
.NET Core App:
Supported in: 3.1
Supported in: 2.0, 1.3
Supported in: 4.5, 4.0, 3.5