Actions, resources, and condition keys for AWS WorkSpaces Managed Instances
AWS WorkSpaces Managed Instances (service prefix: workspaces-instances) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS WorkSpaces Managed Instances
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AssociateVolume |
Write |
|||
|
CreateVolume |
Write |
|||
|
CreateWorkspaceInstance |
Write |
|||
Tagging, Write |
||||
|
DeleteVolume |
Write |
|||
|
DeleteWorkspaceInstance |
Write |
|||
|
DisassociateVolume |
Write |
|||
|
GetWorkspaceInstance |
Read |
|||
|
ListInstanceTypes |
List |
|||
|
ListRegions |
List |
|||
|
ListTagsForResource |
List |
|||
|
ListWorkspaceInstances |
List |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
Actions defined by AWS WorkSpaces Managed Instances
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform 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.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to associate a workspace managed volume to a workspace managed instance in your account |
Write |
|||
Grants permission to create a workspace managed volume in your account |
Write |
|||
Grants permission to create a workspace managed instance in your account |
Write |
|||
Grants permission to delete a workspace managed volume in your account |
Write |
|||
Grants permission to delete a workspace managed instance in your account |
Write |
|||
Grants permission to disassociate a workspace managed volume from a workspace managed instance in your account |
Write |
|||
Grants permission to get details for a specific workspace managed instance in your account |
Read |
|||
Grants permission to list all supported instance types |
List |
|||
Grants permission to list all supported AWS regions |
List |
|||
Grants permission to list user tags for resources in your account |
List |
|||
Grants permission to list workspace managed instances in your account |
List |
|||
Grants permission to add user tags to resources in your account |
Tagging, Write |
|||
Grants permission to remove user tags from resources in your account |
Tagging, Write |
Resource types defined by AWS WorkSpaces Managed Instances
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:ec2:${Region}:${Account}:volume/${VolumeId} |
||
arn:${Partition}:workspaces-instances:${Region}:${Account}:workspaceinstance/${WorkspaceInstanceId} |
Condition keys for AWS WorkSpaces Managed Instances
AWS WorkSpaces Managed Instances defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access based on the tags that are passed in the request |
String |
|
Filters access based on the tags associated with the resource |
String |
|
Filters access based on the tag keys that are passed in the request |
ArrayOfString |