AWS SDK Version 3 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.

Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.

This data type is used as a response element in the GetAccountAuthorizationDetails action.

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

Inheritance Hierarchy

System.Object
  Amazon.IdentityManagement.Model.ManagedPolicyDetail

Namespace: Amazon.IdentityManagement.Model
Assembly: AWSSDK.IdentityManagement.dll
Version: 3.x.y.z

Syntax

C#
public class ManagedPolicyDetail

The ManagedPolicyDetail type exposes the following members

Constructors

NameDescription
Public Method ManagedPolicyDetail()

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 principal 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 (operative) version.

For more information about policy versions, see Versioning for Managed Policies in the Using IAM guide.

Public Property Description System.String

Gets and sets the property Description.

A friendly description of the policy.

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 PolicyVersionList System.Collections.Generic.List<Amazon.IdentityManagement.Model.PolicyVersion>

Gets and sets the property PolicyVersionList.

A list containing information about the versions of 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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone