NAME
Paws::IAM::Role
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::Role 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::Role object:
$result = $service_obj->Method(...);
$result->Att1->Arn
DESCRIPTION
Contains information about an IAM role. This structure is returned as a response element in several API operations that interact with roles.
ATTRIBUTES
REQUIRED Arn => Str
The Amazon Resource Name (ARN) specifying the role. For more information about ARNs and how to use them in policies, see IAM identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html) in the IAM User Guide guide.
AssumeRolePolicyDocument => Str
The policy that grants an entity permission to assume the role.
REQUIRED CreateDate => Str
The date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the role was created.
Description => Str
A description of the role that you provide.
MaxSessionDuration => Int
The maximum session duration (in seconds) for the specified role. Anyone who uses the AWS CLI, or API to assume the role can specify the duration using the optional DurationSeconds
API parameter or duration-seconds
CLI parameter.
REQUIRED 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.
REQUIRED 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.
REQUIRED RoleName => Str
The friendly name that identifies the role.
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