AWS Identity and Access Management
API Reference (API Version 2010-05-08)


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

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

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



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

Type: String

Length Constraints: Minimum length of 16. Maximum length of 128.

Pattern: [\w]+

Required: No


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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [\w+=,.@-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: