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
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants oam:CreateSink.
Filters access by the presence of tag key-value pairs in the request
Filters access by the presence of tag keys in the request
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": "*"
}
]
}