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.

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

Class: Aws::WorkDocs::Types::Principal

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

Overview

Describes a resource.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the resource.

Returns:

  • (String)

    The ID of the resource.

#rolesArray<Types::PermissionInfo>

The permission information for the resource.

Returns:

#typeString

The type of resource.

Possible values:

  • USER
  • GROUP
  • INVITE
  • ANONYMOUS
  • ORGANIZATION

Returns:

  • (String)

    The type of resource.