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

No condition keys are documented for this action.

Dependent actions

To use oam:CreateSink you may also need to grant:

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 →