wellarchitected:AssociateLenses

Write

wellarchitected:AssociateLenses is a Write access-level action in the wellarchitected service. Grants permission to associate a lens to the specified workload

Resource types

ARNs that wellarchitected:AssociateLenses can be scoped to in an IAM policy.

arn:${Partition}:wellarchitected:${Region}:${Account}:workload/${ResourceId}
workload

Condition keys

Keys you can use in the Condition block of a policy that grants wellarchitected:AssociateLenses.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows wellarchitected:AssociateLenses. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWellarchitectedAssociateLenses",
      "Effect": "Allow",
      "Action": "wellarchitected:AssociateLenses",
      "Resource": "*"
    }
  ]
}

Related actions in wellarchitected

View all wellarchitected actions →