NAME

Paws::IAM::ManagedPolicyDetail

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::IAM::ManagedPolicyDetail object:

  $service_obj->Method(Att1 => { Arn => $value, ..., UpdateDate => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::ManagedPolicyDetail object:

  $result = $service_obj->Method(...);
  $result->Att1->Arn

DESCRIPTION

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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the Using IAM guide.

ATTRIBUTES

Arn => Str

AttachmentCount => Int

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

CreateDate => Str

  The date and time, in ISO 8601 date-time format
(http://www.iso.org/iso/iso8601), when the policy was created.

DefaultVersionId => Str

  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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-versions.html) in the Using IAM guide.

Description => Str

  A friendly description of the policy.

IsAttachable => Bool

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

Path => Str

  The path to the policy.

For more information about paths, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the Using IAM guide.

PermissionsBoundaryUsageCount => Int

  The number of entities (users and roles) for which the policy is used
as the permissions boundary.

For more information about permissions boundaries, see Permissions Boundaries for IAM Identities (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html) in the IAM User Guide.

PolicyId => Str

  The stable and unique string identifying the policy.

For more information about IDs, see IAM Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the Using IAM guide.

PolicyName => Str

  The friendly name (not ARN) identifying the policy.

PolicyVersionList => ArrayRef[Paws::IAM::PolicyVersion]

  A list containing information about the versions of the policy.

UpdateDate => Str

  The date and time, in ISO 8601 date-time format
(http://www.iso.org/iso/iso8601), 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.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::IAM

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues