NAME
Paws::IAM::Policy
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::Policy 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::Policy object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Contains information about a managed policy.
This data type is used as a response element in the CreatePolicy, GetPolicy, and ListPolicies operations.
For more information about managed policies, refer to Managed policies and inline policies (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the IAM User Guide.
ATTRIBUTES
Arn => Str
AttachmentCount => Int
The number of 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 version.
Description => Str
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 => 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 IAM User Guide.
PermissionsBoundaryUsageCount => Int
The number of entities (users and roles) for which the policy is used to set 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 IAM User Guide.
PolicyName => Str
The friendly name (not ARN) identifying the policy.
Tags => ArrayRef[Paws::IAM::Tag]
A list of tags that are attached to the instance profile. For more information about tagging, see Tagging IAM resources (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the IAM User Guide.
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