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.
This data type is used as a response element in the CreatePolicy, GetPolicy, and ListPolicies actions.
For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.
Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ManagedPolicy : Object
The ManagedPolicy type exposes the following members
Name | Description | |
---|---|---|
ManagedPolicy() |
Name | Type | Description | |
---|---|---|---|
Arn | System.String | Gets and sets the property Arn. | |
AttachmentCount | System.Int32 |
Gets and sets the property AttachmentCount.
The number of entities (users, groups, and roles) that the policy is attached to. |
|
CreateDate | System.DateTime |
Gets and sets the property CreateDate.
The date and time, in ISO 8601 date-time format, when the policy was created. |
|
DefaultVersionId | System.String |
Gets and sets the property DefaultVersionId.
The identifier for the version of the policy that is set as the default version. |
|
Description | System.String |
Gets and sets the property Description.
A friendly description of the policy. This element is included in the response to the GetPolicy operation. It is not included in the response to the ListPolicies operation. |
|
IsAttachable | System.Boolean |
Gets and sets the property IsAttachable.
Specifies whether the policy can be attached to an IAM user, group, or role. |
|
Path | System.String |
Gets and sets the property Path.
The path to the policy. For more information about paths, see IAM Identifiers in the Using IAM guide. |
|
PolicyId | System.String |
Gets and sets the property PolicyId.
The stable and unique string identifying the policy. For more information about IDs, see IAM Identifiers in the Using IAM guide. |
|
PolicyName | System.String |
Gets and sets the property PolicyName.
The friendly name (not ARN) identifying the policy. |
|
UpdateDate | System.DateTime |
Gets and sets the property UpdateDate.
The date and time, in ISO 8601 date-time format, when the policy was last updated. When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created. |
.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