Menu
AWS Identity and Access Management
User Guide

Actions, Resources, and Condition Keys for Amazon WorkMail

Amazon WorkMail (service prefix: workmail) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.

Actions Defined by Amazon WorkMail

You can specify the following actions in the Action element of an IAM policy statement. By using policies, you define the permissions for anyone performing an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions. For details about the columns in the following table, see The Actions Table.

Actions Description Access Level Resource Types (*required) Condition Keys Dependent Actions
AddMembersToGroup Adds a list of members (users or groups) to a group.

Write

CreateGroup Creates a new group in the directory (but doesn't enable it for mail).

Write

CreateMailDomain Creates a mail domain.

Write

CreateMailUser Creates a user in the directory and the WorkMail storage but does not enable the user for mail.

Write

CreateOrganization Creates an organization, either using an existing directory or creates a new directory on-the-fly. Also creates and enables the complementary mail domain. Optionally creates KMS key

Write

CreateResource Creates a new resource

Write

DeleteMailDomain Description for DeleteMailDomain

Write

DeleteMobileDevice Description for DeleteMobileDevice

Write

DeleteOrganization Description for DeleteOrganization

Write

DescribeDirectories Description for DescribeDirectories

List

DescribeKmsKeys Description for DescribeKmsKeys

List

DescribeMailDomains Description for DescribeMailDomains

List

DescribeMailGroups Description for DescribeMailGroups

List

DescribeMailUsers Description for DescribeMailUsers

List

DescribeOrganizations Description for DescribeOrganizations

List

DisableMailGroups Description for DisableMailGroups

Write

DisableMailUsers Description for DisableMailUsers

Write

EnableMailDomain Description for EnableMailDomain

Write

EnableMailGroups Description for EnableMailGroups

Write

EnableMailUsers Description for EnableMailUsers

Write

GetMailDomainDetails Description for GetMailDomainDetails

Read

GetMailGroupDetails Description for GetMailGroupDetails

Read

GetMailUserDetails Description for GetMailUserDetails

Read

GetMobileDeviceDetails Description for GetMobileDeviceDetails

Read

GetMobileDevicesForUser Description for GetMobileDevicesForUser

Read

GetMobilePolicyDetails Description for GetMobilePolicyDetails

Read

ListMembersInMailGroup Description for ListMembersInMailGroup

Read

RemoveMembersFromGroup Description for RemoveMembersFromGroup

Write

ResetUserPassword Description for ResetUserPassword

Write

SearchMembers Description for SearchMembers

Read

SetAdmin Description for SetAdmin

Write

SetDefaultMailDomain Description for SetDefaultMailDomain

Write

SetMailGroupDetails Description for SetMailGroupDetails

Write

SetMailUserDetails Description for SetMailUserDetails

Write

SetMobilePolicyDetails Description for SetMobilePolicyDetails

Write

WipeMobileDevice Description for WipeMobileDevice

Write

Resources Defined by WorkMail

WorkMail has no service-defined resources that can be used as the Resource element of an IAM policy statement.

Condition Keys for Amazon WorkMail

WorkMail has no service-specific context keys that can be used in the Condition element of policy statements. For the list of the global context keys that are available to all services, see Available Keys for Conditions in the IAM Policy Reference.