ManagedPolicyDetail class

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 operation.

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

Constructors

ManagedPolicyDetail({String? arn, int? attachmentCount, DateTime? createDate, String? defaultVersionId, String? description, bool? isAttachable, String? path, int? permissionsBoundaryUsageCount, String? policyId, String? policyName, List<PolicyVersion>? policyVersionList, DateTime? updateDate})
ManagedPolicyDetail.fromXml(XmlElement elem)
factory

Properties

arn String?
final
attachmentCount int?
The number of principal entities (users, groups, and roles) that the policy is attached to.
final
createDate DateTime?
The date and time, in ISO 8601 date-time format, when the policy was created.
final
defaultVersionId String?
The identifier for the version of the policy that is set as the default (operative) version.
final
description String?
A friendly description of the policy.
final
hashCode int
The hash code for this object.
no setterinherited
isAttachable bool?
Specifies whether the policy can be attached to an IAM user, group, or role.
final
path String?
The path to the policy.
final
permissionsBoundaryUsageCount int?
The number of entities (users and roles) for which the policy is used as the permissions boundary.
final
policyId String?
The stable and unique string identifying the policy.
final
policyName String?
The friendly name (not ARN) identifying the policy.
final
policyVersionList List<PolicyVersion>?
A list containing information about the versions of the policy.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateDate DateTime?
The date and time, in ISO 8601 date-time format, when the policy was last updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited