Class: Aws::IAM::Types::EntityInfo

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

Overview

Contains details about the specified entity (user or role).

This data type is an element of the EntityDetails object.

Instance Attribute Summary collapse

Instance Attribute Details

#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*.

[1]: docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/aws-sdk-iam/types.rb', line 2596

class EntityInfo < Struct.new(
  :arn,
  :name,
  :type,
  :id,
  :path)
  include Aws::Structure
end

#idString

The identifier of the entity (user or role).

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/aws-sdk-iam/types.rb', line 2596

class EntityInfo < Struct.new(
  :arn,
  :name,
  :type,
  :id,
  :path)
  include Aws::Structure
end

#nameString

The name of the entity (user or role).

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/aws-sdk-iam/types.rb', line 2596

class EntityInfo < Struct.new(
  :arn,
  :name,
  :type,
  :id,
  :path)
  include Aws::Structure
end

#pathString

The path to the entity (user or role). For more information about paths, see [IAM Identifiers] in the *Using IAM* guide.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/aws-sdk-iam/types.rb', line 2596

class EntityInfo < Struct.new(
  :arn,
  :name,
  :type,
  :id,
  :path)
  include Aws::Structure
end

#typeString

The type of entity (user or role).

Returns:

  • (String)


2596
2597
2598
2599
2600
2601
2602
2603
# File 'lib/aws-sdk-iam/types.rb', line 2596

class EntityInfo < Struct.new(
  :arn,
  :name,
  :type,
  :id,
  :path)
  include Aws::Structure
end