You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IAM::Types::PolicyRole

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Contains information about a role that a managed policy is attached to.

This data type is used as a response element in the ListEntitiesForPolicy action.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

Instance Attribute Summary collapse

Instance Attribute Details

#role_idString

The stable and unique string identifying the role. For more information about IDs, see IAM Identifiers in the IAM User Guide.

Returns:

  • (String)

    The stable and unique string identifying the role.

#role_nameString

The name (friendly name, not ARN) identifying the role.

Returns:

  • (String)

    The name (friendly name, not ARN) identifying the role.