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

Class: Aws::WorkMail::Types::Permission

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

Overview

Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.

Instance Attribute Summary collapse

Instance Attribute Details

#grantee_idString

The identifier of the user, group, or resource to which the permissions are granted.

Returns:

  • (String)

    The identifier of the user, group, or resource to which the permissions are granted.

#grantee_typeString

The type of user, group, or resource referred to in GranteeId.

Possible values:

  • GROUP
  • USER

Returns:

  • (String)

    The type of user, group, or resource referred to in GranteeId.

#permission_valuesArray<String>

The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.

Returns:

  • (Array<String>)

    The permissions granted to the grantee.