oam:GetLink

Read

oam:GetLink is a Read access-level action in the oam service. Grants permission to retrieve complete information about one cross-account monitoring link

Resource types

ARNs that oam:GetLink can be scoped to in an IAM policy.

arn:${Partition}:oam:${Region}:${Account}:link/${ResourceId}
Link

Condition keys

Keys you can use in the Condition block of a policy that grants oam:GetLink.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowOamGetLink",
      "Effect": "Allow",
      "Action": "oam:GetLink",
      "Resource": "*"
    }
  ]
}

Related actions in oam

View all oam actions →