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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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.

Returns:

  • (String)


2793
2794
2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2793

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

#idString

The identifier of the entity (user or role).

Returns:

  • (String)


2793
2794
2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2793

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

#nameString

The name of the entity (user or role).

Returns:

  • (String)


2793
2794
2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2793

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.

Returns:

  • (String)


2793
2794
2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2793

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

#typeString

The type of entity (user or role).

Returns:

  • (String)


2793
2794
2795
2796
2797
2798
2799
2800
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 2793

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