oam:PutSinkPolicy

Write

oam:PutSinkPolicy is a Write access-level action in the oam service. Grants permission to create or update the IAM policy for a cross-account monitoring sink

Resource types

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

arn:${Partition}:oam:${Region}:${Account}:sink/${ResourceId}
Sink

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

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

Related actions in oam

View all oam actions →