![]() |
![]()
| ![]() |
![]()
NAMEPaws::IAM::Role USAGEThis 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 DESCRIPTIONContains information about an IAM role. This structure is returned as a response element in several API operations that interact with roles. ATTRIBUTESREQUIRED Arn => StrThe 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 => StrThe policy that grants an entity permission to assume the role. REQUIRED CreateDate => StrThe date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the role was created. Description => StrA description of the role that you provide. MaxSessionDuration => IntThe 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 => StrThe 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::AttachedPermissionsBoundaryThe 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 => StrThe 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::RoleLastUsedContains 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 => StrThe 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 ALSOThis class forms part of Paws, describing an object used in Paws::IAM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|