wellarchitected:GetLens

Read

wellarchitected:GetLens is a Read access-level action in the wellarchitected service. Grants permission to get an existing lens

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in wellarchitected

View all wellarchitected actions →