NAME
Paws::IAM::RoleDetail
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::RoleDetail object:
$service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::RoleDetail object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Contains information about an IAM role, including all of the role's policies.
This data type is used as a response element in the GetAccountAuthorizationDetails operation.
ATTRIBUTES
Arn => Str
AssumeRolePolicyDocument => Str
The trust policy that grants permission to assume the role.
AttachedManagedPolicies => ArrayRef[Paws::IAM::AttachedPolicy]
A list of managed policies attached to the role. These policies are the role's access (permissions) policies.
CreateDate => Str
The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the role was created.
InstanceProfileList => ArrayRef[Paws::IAM::InstanceProfile]
A list of instance profiles that contain this role.
Path => Str
The path to the role. For more information about paths, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the IAM User Guide.
PermissionsBoundary => Paws::IAM::AttachedPermissionsBoundary
The ARN of the policy used to set the permissions boundary for the role.
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.
RoleId => Str
The stable and unique string identifying the role. For more information about IDs, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the IAM User Guide.
RoleLastUsed => Paws::IAM::RoleLastUsed
Contains information about the last time that an IAM role was used. This includes the date and time and the Region in which the role was last used. Activity is only reported for the trailing 400 days. This period can be shorter if your Region began supporting these features within the last year. The role might have been used more than 400 days ago. For more information, see Regions where data is tracked (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period) in the IAM User Guide.
RoleName => Str
The friendly name that identifies the role.
RolePolicyList => ArrayRef[Paws::IAM::PolicyDetail]
A list of inline policies embedded in the role. These policies are the role's access (permissions) policies.
Tags => ArrayRef[Paws::IAM::Tag]
A list of tags that are attached to the role. 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.
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