AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::IAM::Types::PolicyUser

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb

Overview

Contains information about a user 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 IAM User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#user_idString

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

Returns:

  • (String)


8879
8880
8881
8882
8883
8884
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8879

class PolicyUser < Struct.new(
  :user_name,
  :user_id)
  SENSITIVE = []
  include Aws::Structure
end

#user_nameString

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

Returns:

  • (String)


8879
8880
8881
8882
8883
8884
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8879

class PolicyUser < Struct.new(
  :user_name,
  :user_id)
  SENSITIVE = []
  include Aws::Structure
end