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

Class: Aws::IAM::Types::PolicyGrantingServiceAccess

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

Overview

Contains details about the permissions policies that are attached to the specified identity (user, group, or role).

This data type is an element of the ListPoliciesGrantingServiceAccessEntry object.

Instance Attribute Summary collapse

Instance Attribute Details

#entity_nameString

The name of the entity (user or role) to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed Policies and Inline Policies in the IAM User Guide.

Returns:

  • (String)

    The name of the entity (user or role) to which the inline policy is attached.

#entity_typeString

The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

This field is null for managed policies. For more information about these policy types, see Managed Policies and Inline Policies in the IAM User Guide.

Returns:

  • (String)

    The type of entity (user or role) that used the policy to access the service to which the inline policy is attached.

#policy_arnString

The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS resources.

For more information about ARNs, go to Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

Returns:

  • (String)

    The Amazon Resource Name (ARN).

#policy_nameString

The policy name.

Returns:

  • (String)

    The policy name.

#policy_typeString

The policy type. For more information about these policy types, see Managed Policies and Inline Policies in the IAM User Guide.

Returns:

  • (String)

    The policy type.