Paws::IAM::Policy
This class represents one of two things:
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 });
Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::Policy object:
$result = $service_obj->Method(...); $result->Att1->Arn
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 Using IAM guide.
The number of entities (users, groups, and roles) that the policy is attached to.
The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the policy was created.
The identifier for the version of the policy that is set as the default version.
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.
Specifies whether the policy can be attached to an IAM user, group, or role.
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.
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.
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.
The friendly name (not ARN) identifying the policy.
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.
This class forms part of Paws, describing an object used in Paws::IAM
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
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.