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 3.5
 
Contains information about a managed policy.

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.

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.ManagedPolicy

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

Syntax

C#
public class ManagedPolicy : Object

The ManagedPolicy type exposes the following members

Constructors

NameDescription
Public Method ManagedPolicy()

Properties

NameTypeDescription
Public Property Arn System.String Gets and sets the property Arn.
Public Property AttachmentCount System.Int32 Gets and sets the property AttachmentCount.

The number of entities (users, groups, and roles) that the policy is attached to.

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

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

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

The identifier for the version of the policy that is set as the default version.

Public Property 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.

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

Specifies whether the policy can be attached to an IAM user, group, or role.

Public Property 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.

Public Property 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.

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

The friendly name (not ARN) identifying the policy.

Public Property 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.

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