Actions, resources, and condition keys for Amazon CloudWatch Observability Access Manager
Amazon CloudWatch Observability Access Manager (service prefix: oam) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon CloudWatch Observability Access Manager
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
CreateLink |
Write |
|||
Tagging, Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
|
CreateSink |
Write |
|||
Tagging, Write |
||||
|
DeleteLink |
Write |
|||
|
DeleteSink |
Write |
|||
|
GetLink |
Read |
|||
|
GetSink |
Read |
|||
|
GetSinkPolicy |
Read |
|||
|
ListAttachedLinks |
Read |
|||
|
ListLinks |
Read |
|||
|
ListSinks |
Read |
|||
|
ListTagsForResource |
Read |
|||
|
PutSinkPolicy |
Write |
|||
|
TagResource |
Tagging, Write |
|||
|
UntagResource |
Tagging, Write |
|||
|
UpdateLink |
Write |
|||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
||||
Write |
Actions defined by Amazon CloudWatch Observability Access Manager
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a link between a monitoring account and a source account for cross-account monitoring |
Write |
|||
Grants permission to create a sink in an account so that it can be used as a monitoring account for cross-account monitoring |
Write |
|||
Grants permission to delete a link between a monitoring account and a source account for cross-account monitoring |
Write |
|||
Grants permission to delete a cross-account monitoring sink in a monitoring account |
Write |
|||
Grants permission to retrieve complete information about one cross-account monitoring link |
Read |
|||
Grants permission to retrieve complete information about one cross-account monitoring sink |
Read |
|||
Grants permission to retrieve information for the IAM policy for a cross-account monitoring sink |
Read |
|||
Grants permission to retrieve a list of links that are linked for a cross-account monitoring sink |
Read |
|||
Grants permission to retrieve the ARNs of cross-account monitoring links in this account |
Read |
|||
Grants permission to retrieve the ARNs of cross-account monitoring sinks in this account |
Read |
|||
Grants permission to list the tags for a resource |
Read |
|||
Grants permission to create or update the IAM policy for a cross-account monitoring sink |
Write |
|||
Grants permission to tag a resource |
Tagging, Write |
|||
Grants permission to untag a resource |
Tagging, Write |
|||
Grants permission to update an existing link between a monitoring account and a source account |
Write |
Resource types defined by Amazon CloudWatch Observability Access Manager
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:oam:${Region}:${Account}:link/${ResourceId} |
||
arn:${Partition}:oam:${Region}:${Account}:sink/${ResourceId} |
Condition keys for Amazon CloudWatch Observability Access Manager
Amazon CloudWatch Observability Access Manager defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |
|
Filters access by the presence of resource types in the request |
ArrayOfString |