Simple Log Service allows an Alibaba Cloud account to grant a RAM user permissions on specific resources. This topic describes the resource types that can be authorized to a RAM user.
The following table describes the resource types that can be authorized to RAM users and their resource expressions.
|
Resource type |
Resource expressions in a permission policy |
|
Project and Logstore |
|
|
Project, Logstore, and Shipper (deprecated) |
|
|
|
|
|
Project and Config |
|
|
|
|
|
Project and MachineGroup |
|
|
|
|
|
Project and ConsumerGroup |
|
|
|
|
|
Project and SavedSearch |
|
|
|
|
|
Project and Dashboard |
|
|
|
|
|
Project and Alarm |
|
|
|
|
|
General pattern |
|
|
|
Simple Log Service resources are hierarchical. A project is the root resource. Logstores, Logtail configurations, and machine groups are peer sub-resources of a project. Shippers (deprecated) and consumer groups are sub-resources of a Logstore.
The following table describes the parameters in resource expressions:
|
Parameter |
Description |
|
|
The name of a region. |
|
|
The ID of an Alibaba Cloud account. |
|
|
The name of a project. |
|
|
The name of a Logstore. |
|
|
The name of a Logtail configuration. |
|
|
The name of a machine group. |
|
|
The name of a log shipping rule. |
|
|
The name of a consumer group. |
|
|
The name of a saved search. |
|
|
The name of a dashboard. |
|
|
The name of an alert rule. |