workspaces-instances:AssociateVolume

Write

workspaces-instances:AssociateVolume is a Write access-level action in the workspaces-instances service. Grants permission to associate a workspace managed volume to a workspace managed instance in your account

Resource types

ARNs that workspaces-instances:AssociateVolume can be scoped to in an IAM policy.

arn:${Partition}:workspaces-instances:${Region}:${Account}:workspaceinstance/${WorkspaceInstanceId}
WorkspaceInstanceId

Condition keys

Keys you can use in the Condition block of a policy that grants workspaces-instances:AssociateVolume.

aws:ResourceTag/${TagKey} String

Filters access based on the tags associated with the resource

Dependent actions

To use workspaces-instances:AssociateVolume you may also need to grant:

Example IAM policy

A minimal policy that allows workspaces-instances:AssociateVolume. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWorkspacesinstancesAssociateVolume",
      "Effect": "Allow",
      "Action": "workspaces-instances:AssociateVolume",
      "Resource": "*"
    }
  ]
}

Related actions in workspaces-instances

View all workspaces-instances actions →