AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
 
Contains information about a version of a managed policy.

This data type is used as a response element in the CreatePolicyVersion, GetPolicyVersion, ListPolicyVersions, and GetAccountAuthorizationDetails actions.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.PolicyVersion

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class PolicyVersion : Object

The PolicyVersion type exposes the following members

Constructors

NameDescription
Public Method PolicyVersion()

Properties

NameTypeDescription
Public Property CreateDate System.DateTime Gets and sets the property CreateDate.

The date and time, in ISO 8601 date-time format, when the policy version was created.

Public Property Document System.String 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.

Public Property IsDefaultVersion System.Boolean Gets and sets the property IsDefaultVersion.

Specifies whether the policy version is set as the policy's default version.

Public Property VersionId System.String Gets and sets the property VersionId.

The identifier for the policy version.

Policy version identifiers always begin with v (always lowercase). When a policy is created, the first policy version is v1.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1