workspaces-web:AssociateDataProtectionSettings

Write

workspaces-web:AssociateDataProtectionSettings is a Write access-level action in the workspaces-web service. Grants permission to associate data protection settings with web portals

Resource types

ARNs that workspaces-web:AssociateDataProtectionSettings can be scoped to in an IAM policy.

arn:${Partition}:workspaces-web:${Region}:${Account}:dataProtectionSettings/${DataProtectionSettingsId}
dataProtectionSettings
arn:${Partition}:workspaces-web:${Region}:${Account}:portal/${PortalId}
portal

Condition keys

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

aws:ResourceTag/${TagKey} String

Filters access by the tags associated with the resource

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWorkspaceswebAssociateDataProtectionSettings",
      "Effect": "Allow",
      "Action": "workspaces-web:AssociateDataProtectionSettings",
      "Resource": "*"
    }
  ]
}

Related actions in workspaces-web

View all workspaces-web actions →