oam:CreateSink

Write

oam:CreateSink is a Write access-level action in the oam service. Grants permission to create a sink in an account so that it can be used as a monitoring account for cross-account monitoring

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

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

aws:RequestTag/${TagKey} String

Filters access by the presence of tag key-value pairs in the request

aws:TagKeys ArrayOfString

Filters access by the presence of tag keys in the request

Example IAM policy

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

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

Related actions in oam

View all oam actions →