RAM authorization

Updated at:

Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. Using RAM helps you avoid sharing your Alibaba Cloud account keys with other users and allows you to grant users the least privilege access. RAM uses permission policies to define authorizations. This topic describes the actions, resources, and conditions that Simple Log Service defines for RAM permission policies. The RamCode of Simple Log Service is log , and the supported authorization granularity is RESOURCE . For the resource authorization scope of each action, see the Action table.

General structure of a policy

Permission policies support the JSON format. The following example shows the structure of a policy that uses the Action element. Values in angle brackets (<>) are placeholders. Replace them with actual values.

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}        

The following list describes the fields and placeholders in the policy:

  • Effect: Specifies the authorization result. Valid values: Allow and Deny.

  • Action: Specifies one or more operations that are allowed or denied.

  • Resource: Specifies the specific objects affected by the operations. You can use Alibaba Cloud Resource Names (ARNs) to describe specific resources.

  • Condition: Specifies the conditions for the authorization to take effect. This field is optional.

  • Condition operator: Specifies the conditional operators. Different types of conditions support different conditional operators.

  • Condition_key: Specifies the condition keys.

  • Condition_value: Specifies the condition values.

Action

The following table lists the RAM actions defined by Simple Log Service. These actions can be used in the Action element of RAM permission policies.

  • Action: A specific RAM permission point. In most cases, it has the same name as the corresponding OpenAPI.

  • OpenAPI: The OpenAPI associated with the RAM action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that support authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding ARN in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The product-level condition keys supported by the action. Common condition keys are not included. For more information, see Common condition keys.

  • Dependent action: Other action permissions required to perform the action.

Action

OpenAPI

Access level

Resource type

Condition key

Dependent action

log:ApplyConfigToGroup ApplyConfigToMachineGroup update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}

log:TLSVersion

None
log:ListETLs ListETLs list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/*

None None
log:DeleteIndex DeleteIndex delete

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

None
log:ListDownloadJobs ListDownloadJobs list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/downloadjob/*

None None
log:GetLogStore GetLogStore get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

None
log:UpdateMaterializedView UpdateMaterializedView update

*All Resource

*

None None
log:CreateSavedSearch CreateSavedSearch create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/{#SavedSearchName}

log:TLSVersion

None
log:GetOSSExport GetOSSExport get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}

None None
log:UpdateDataAgent UpdateDataAgent update

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}

None None
log:GetScheduledSQL GetScheduledSQL get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}

None None
log:UpsertContextModel UpsertContextModel update

*ContextModel

acs:log:{#regionId}:{#accountId}:contextmodel/{#name}

None None
log:DeleteConsumeProcessor DeleteConsumeProcessor delete

*ConsumeProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/consumeprocessor/{#processorName}

log:TLSVersion

None
log:DeleteOSSExport DeleteOSSExport delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}

None None
log:ListAiTools ListAiTools list

*All Resource

*

None None
log:PutProjectPolicy PutProjectPolicy create

*All Resource

*

log:TLSVersion

None
log:ListMaterializedViews ListMaterializedViews list

*MaterializedView

acs:log:{#regionId}:{#accountId}:project/{#project}/materializedview/*

None None
log:CreateThread CreateThread create

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}

None None
log:GetAppliedConfigs GetAppliedConfigs get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

log:TLSVersion

None
log:ListS3Ingestions ListS3Ingestions list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/s3ingestion/*

None None
log:DeleteLogStore DeleteLogStore delete

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

None
log:GetProject GetProject get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

log:TLSVersion

None
log:GetMaxComputeExport GetMaxComputeExport get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}

None None
log:DeleteS3Ingestion DeleteS3Ingestion delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/s3ingestion/{#s3IngestionName}

None None
log:CreateMetricStore CreateMetricStore create

*MetricStore

acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#name}

None None
log:GetMachineGroup GetMachineGroup get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

log:TLSVersion

None
log:GetMetricStore GetMetricStore get

*MetricStore

acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#name}

None None
log:DeleteMachineGroup DeleteMachineGroup delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

log:TLSVersion

None
log:UpdateAnnotationDataSet UpdateAnnotationDataSet update

*All Resource

*

None None
log:StopMaxComputeExport StopMaxComputeExport none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}

None None
log:DeleteThread DeleteThread delete

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/{#threadId}

None None
log:ListCollectionPolicies ListCollectionPolicies list

*CollectionPolicy

acs:log::{#accountId}:collectionpolicy/*

log:TLSVersion

None
log:StartGCSIngestion StartGCSIngestion none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/{#gcsIngestionName}

None None
log:ListLogtailPipelineConfig ListLogtailPipelineConfig list

*All Resource

*

log:TLSVersion

None
log:StopOSSHDFSExport StopOSSHDFSExport none

*All Resource

*

None None
log:UpsertCollectionPolicy UpsertCollectionPolicy create

*CollectionPolicy

acs:log::{#accountId}:collectionpolicy/{#policyName}

log:TLSVersion

None
log:UpdateConsumerGroup UpdateConsumerGroup update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}

log:TLSVersion

None
log:EnableAlert EnableAlert none

*All Resource

*

None None
log:ListConfig ListConfig list

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/*

log:TLSVersion

None
log:UpdateDashboard UpdateDashboard update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/dashboard/{#DashboardName}

log:TLSVersion

None
log:ConsumerGroupHeartBeat ConsumerGroupHeartBeat none

*All Resource

*

log:TLSVersion

None
log:DeleteETL DeleteETL delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}

None None
log:GetContextModel GetContextModel get

*ContextModel

acs:log:{#regionId}:{#accountId}:contextmodel/{#name}

None None
log:GetOSSIngestion GetOSSIngestion get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}

None None
log:GetIndex GetIndex get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

None
log:UpsertSourceModel UpsertSourceModel update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:ListOSSExports ListOSSExports list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/*

None None
log:DeleteDownloadJob DeleteDownloadJob delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/downloadjob/{#downloadJobName}

None None
log:CreateAlert CreateAlert create

*All Resource

*

None None
log:EnableService OpenSlsService create

*Service

acs:log::{#AccountId}:service

log:TLSVersion

None
log:UpdateApiKey UpdateApiKey update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/{#ApiKeyName}

None None
log:CreateStoreView CreateStoreView create

*All Resource

*

None None
log:UpdateMaxComputeExport UpdateMaxComputeExport update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}

None None
log:ConsumerGroupUpdateCheckPoint ConsumerGroupUpdateCheckPoint update

*All Resource

*

log:TLSVersion

None
log:CreateSqlInstance CreateSqlInstance create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

None None
log:CreateOSSHDFSExport CreateOSSHDFSExport create

*All Resource

*

None None
log:UpdateAnnotationLabel UpdateAnnotationLabel update

*All Resource

*

None None
log:ListDomains ListDomains get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/domain/*

log:TLSVersion

None
log:CreateLogStore CreateLogStore create

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstoreName}

log:TLSVersion

log:Encrypted

None
log:GetMetricStoreMeteringMode GetMetricStoreMeteringMode get

*All Resource

*

None None
log:ListSourceModels ListSourceModels list

*All Resource

*

None None
log:GetThreadData GetThreadData get

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/{#threadId}

None None
log:ListOSSHDFSExports ListOSSHDFSExports list

*All Resource

*

None None
log:UpdateSqlInstance UpdateSqlInstance update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

None None
log:ListAnnotationData ListAnnotationData list

*All Resource

*

None None
log:CreateScheduledSQL CreateScheduledSQL create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}

None None
log:UpdateGCSIngestion UpdateGCSIngestion update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/{#gcsIngestionName}

None None
log:GetDataAgent GetDataAgent get

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}

None None
log:UpdateContextModel UpdateContextModel update

*ContextModel

acs:log:{#regionId}:{#accountId}:contextmodel/{#name}

None None
log:ListConsumerGroup ListConsumerGroup get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/*

log:TLSVersion

None
log:ListIngestProcessors ListIngestProcessors list

*IngestProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/ingestprocessor/*

log:TLSVersion

None
log:UpdateOSSExport UpdateOSSExport update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}

None None
log:CreateS3Ingestion CreateS3Ingestion create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/s3ingestion/{#s3IngestionName}

None None
log:StopGCSIngestion StopGCSIngestion none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/{#gcsIngestionName}

None None
log:StopOSSExport StopOSSExport none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}

None None
log:DeleteProjectPolicy DeleteProjectPolicy delete

*All Resource

*

log:TLSVersion

None
log:GetLogtailPipelineConfig GetLogtailPipelineConfig get

*All Resource

*

log:TLSVersion

None
log:ListScheduledSQLs ListScheduledSQLs none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/*

None None
log:DeleteAnnotationData DeleteAnnotationData delete

*All Resource

*

None None
log:PutConsumeProcessor PutConsumeProcessor create

*ConsumeProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/consumeprocessor/{#processorName}

log:TLSVersion

None
log:UpdateThread UpdateThread update

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/{#threadId}

None None
log:GetAnnotationDataSet GetAnnotationDataSet get

*All Resource

*

None None
log:DeleteCollectionPolicy DeleteCollectionPolicy delete

*CollectionPolicy

acs:log::{#accountId}:collectionpolicy/{#policyName}

log:TLSVersion

None
log:GetAnnotationLabel GetAnnotationLabel get

*All Resource

*

None None
log:GetJobInstance GetJobInstance get

*All Resource

*

None None
log:DeleteAnnotationDataset DeleteAnnotationDataSet delete

*All Resource

*

None None
log:ListMachineGroup ListMachineGroup get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/*

log:TLSVersion

None
log:UpdateMetricStoreMeteringMode UpdateMetricStoreMeteringMode update

*All Resource

*

None None
log:UpdateConfig UpdateConfig update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}

log:TLSVersion

None
log:CreateSourceModel CreateSourceModel create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:DeleteStoreView DeleteStoreView delete

*All Resource

*

None None
log:UpdateMachineGroupMachine UpdateMachineGroupMachine update

*All Resource

*

log:TLSVersion

None
log:GetConfig GetConfig get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}

log:TLSVersion

None
log:DeleteIngestProcessor DeleteIngestProcessor delete

*IngestProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/ingestprocessor/{#processorName}

log:TLSVersion

None
log:CreateAnnotationLabel CreateAnnotationLabel create

*All Resource

*

None None
log:DeleteAzureBlobIngestion DeleteAzureBlobIngestion delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureblobIngestionName}

None None
log:CreateChat CreateChat create

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}

None None
log:DeleteContextModel DeleteContextModel delete

*ContextModel

acs:log:{#regionId}:{#accountId}:contextmodel/{#name}

None None
log:StartOSSExport StartOSSExport none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}

None None
log:DeleteMetricStore DeleteMetricStore delete

*MetricStore

acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#name}

None None
log:UpdateLogging UpdateLogging update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logging

log:TLSVersion

None
log:DeleteMaterializedView DeleteMaterializedView delete

*All Resource

*

None None
log:DeleteSourceModelElement DeleteSourceModelElement delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:UpdateMachineGroup UpdateMachineGroup update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

log:TLSVersion

None
log:ListOSSIngestions ListOSSIngestions list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/*

None None
log:GetMLServiceResults GetMLServiceResults list

*All Resource

*

None None
log:StartOSSIngestion StartOSSIngestion none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}

None None
log:GetAlert GetAlert get

*All Resource

*

None None
log:RegenerateSourceModel RegenerateSourceModel update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:EnableApiKey EnableApiKey update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/{#ApiKeyName}

None None
log:CreateGCSIngestion CreateGCSIngestion create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/{#gcsIngestionName}

None None
log:ListAlerts ListAlerts list

*Alert

acs:log:{#regionId}:{#accountId}:project/{#project}/alert/*

None None
log:UpdateOSSHDFSExport UpdateOSSHDFSExport update

*All Resource

*

None None
log:DeleteLogtailPipelineConfig DeleteLogtailPipelineConfig delete

*All Resource

*

log:TLSVersion

None
log:DeleteAnnotationLabel DeleteAnnotationLabel delete

*All Resource

*

None None
log:UpdateETL UpdateETL update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}

None None
log:DisableScheduledSQL DisableScheduledSQL none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}

None None
log:CreateLogtailPipelineConfig CreateLogtailPipelineConfig create

*All Resource

*

log:TLSVersion

None
log:ListThreads ListThreads list

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/*

None None
log:ListAnnotationDataSets ListAnnotationDataSets list

*All Resource

*

None None
log:QueryContextModel QueryContextModel list

*ContextModel

acs:log:{#regionId}:{#accountId}:contextmodel/{#name}

None None
log:GetLogStoreMeteringMode GetLogStoreMeteringMode get

*All Resource

*

None None
log:DisableApiKey DisableApiKey update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/{#ApiKeyName}

None None
log:UpdateLogStoreProcessor UpdateLogStoreProcessor update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

None None
log:UpdateSavedSearch UpdateSavedSearch update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/{#SavedSearchName}

log:TLSVersion

None
log:GetCursorOrData GetCursorTime get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

log:TLSVersion

None
log:UpdateMetricStore UpdateMetricStore update

*MetricStore

acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#name}

None None
log:CreateDataAgent CreateDataAgent create

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}

None None
log:StopAzureBlobIngestion StopAzureBlobIngestion none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureBlobIngestionName}

None None
log:ListMetricStores ListMetricStores list

*MetricStore

acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/*

None None
log:EnableScheduledSQL EnableScheduledSQL none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}

None None
log:GetAppliedMachineGroups GetAppliedMachineGroups get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}

log:TLSVersion

None
log:ListDashboard ListDashboard list

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/dashboard/*

log:TLSVersion

None
log:GetS3Ingestion GetS3Ingestion get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/s3ingestion/{#s3IngestionName}

None None
log:DeleteApiKey DeleteApiKey delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/{#ApiKeyName}

None None
log:DeleteAgentInstanceConfig DeleteAgentInstanceConfig delete

*AgentInstanceConfig

acs:log:{#regionId}:{#accountId}:agentinstanceconfig/{#configType}

log:TLSVersion

None
log:DeleteDataAgent DeleteDataAgent delete

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}

None None
log:GetMaterializedView GetMaterializedView get

*All Resource

*

None None
log:GetSourceModelStatus GetSourceModelStatus get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:ListTagResources ListTagResources get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

log:TLSVersion

None
log:ListAgentInstanceConfigs ListAgentInstanceConfigs list

*All Resource

*

log:TLSVersion

None
log:QuerySourceModel QuerySourceModel list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:GetThread GetThread get

*DataAgent

acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/{#threadId}

None None
log:CreateDomain CreateDomain create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/domain/{#DomainName}

log:TLSVersion

None
log:GetDownloadJob GetDownloadJob get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/downloadjob/{#downloadJobName}

None None
log:DeleteSourceModel DeleteSourceModel delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

None None
log:UpdateProject UpdateProject update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

log:TLSVersion

None
log:CreateMachineGroup CreateMachineGroup create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

log:TLSVersion

None
log:ListContextModels ListContextModels list

*All Resource

*

None None
log:GetConsumeProcessor GetConsumeProcessor get

*ConsumeProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/consumeprocessor/{#processorName}

log:TLSVersion

None
log:DeleteMaxComputeExport DeleteMaxComputeExport delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}

None None
log:DeleteScheduledSQL DeleteScheduledSQL delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}

None None
log:UpdateMetricStoreProcessor UpdateMetricStoreProcessor update

*MetricStore

acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#metricstore}

None None
log:GetOSSHDFSExport GetOSSHDFSExport get

*All Resource

*

None None
log:GetSqlInstance GetSqlInstance none

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

None None
log:DescribeService GetSlsService get

*Service

acs:log::{#AccountId}:service

log:TLSVersion

None
log:GetStoreViewIndex GetStoreViewIndex get

*All Resource

*

None None
log:GetLogStoreConfig GetLogStoreConfig get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

None None
log:GetAzureBlobIngestion GetAzureBlobIngestion get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureBlobIngestionName}

None None
log:StopETL StopETL none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}

None None
log:CreateAgentInstanceConfig CreateAgentInstanceConfig create

*All Resource

*

log:TLSVersion

None
log:CreateOSSExport CreateOSSExport create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}

None None
log:DeleteOSSIngestion DeleteOSSIngestion delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}

None None
log:StartMaxComputeExport StartMaxComputeExport none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}

None None
log:GetStoreView GetStoreView get

*All Resource

*

None None
log:ListAnnotationLabels ListAnnotationLabels list

*All Resource

*

None None
log:CallAiTools CallAiTools update

*All Resource

*

None None
log:DeleteDashboard DeleteDashboard delete

*All Resource

*

log:TLSVersion

None
log:DeleteProject DeleteProject delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}

log:TLSVersion

None
log:StopOSSIngestion StopOSSIngestion none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}

None None
log:CreateConfig CreateConfig create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}

log:TLSVersion

None
log:MergeShard MergeShard update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

log:TLSVersion

None
log:CreateAzureBlobIngestion CreateAzureBlobIngestion create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureBlobIngestionName}

None None
log:UpdateLogStoreEncryption UpdateLogStoreEncryption update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

None None
log:DeleteConfig DeleteConfig delete

*All Resource

*

log:TLSVersion

None
log:GetAgentInstanceConfig GetAgentInstanceConfig get

*AgentInstanceConfig

acs:log:{#regionId}:{#accountId}:agentinstanceconfig/{#configType}

log:TLSVersion

None
log:DisableAlert DisableAlert none

*All Resource

*

None None
log:DeleteOSSHDFSExport DeleteOSSHDFSExport delete

*All Resource

*

None None
log:UpdateScheduledSQL UpdateScheduledSQL update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}

None None
log:CreateKafkaIngestion CreateKafkaIngestion create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/kafkaingestion/{#kafkaIngestionName}

None None
log:DeleteSavedSearch DeleteSavedSearch delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/{#SavedSearchName}

log:TLSVersion

None
log:UpdateLogtailPipelineConfig UpdateLogtailPipelineConfig update

*All Resource

*

log:TLSVersion

None
log:CreateContextModel CreateContextModel create

*ContextModel

acs:log:{#regionId}:{#accountId}:contextmodel/{#name}

None None
log:ListGCSIngestions ListGCSIngestions list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/*

None None
log:DeleteConsumerGroup DeleteConsumerGroup delete

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}

log:TLSVersion

None
log:ListProject ListProject get

*Project

acs:log:{#regionId}:{#accountId}:project/*

log:TLSVersion

None
log:ListSavedSearch ListSavedSearch get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/*

log:TLSVersion

None
log:ListJobInstances ListJobInstances get

*All Resource

*

None None
log:PutLogStoreConfig PutLogStoreConfig update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

None None
log:GetCollectionPolicy GetCollectionPolicy get

*CollectionPolicy

acs:log::{#accountId}:collectionpolicy/{#policyName}

log:TLSVersion

None
log:DeleteDomain DeleteDomain delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/domain/{#DomainName}

log:TLSVersion

None
log:UpdateLogStoreMeteringMode UpdateLogStoreMeteringMode update

*All Resource

*

log:TLSVersion

None
log:UpdateStoreView UpdateStoreView update

*All Resource

*

None None
log:GetApiKey GetApiKey get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/{#ApiKeyName}

None None
log:CreateOSSIngestion CreateOSSIngestion create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}

None None
log:ListMachines ListMachines get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

log:TLSVersion

None
log:UpdateOSSIngestion UpdateOSSIngestion update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}

None None
log:DeleteKafkaIngestion DeleteKafkaIngestion delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/kafkaingestion/{#kafkaIngestionName}

None None
log:SplitShard SplitShard update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

log:TLSVersion

None
log:UpdateLogStore UpdateLogStore update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

log:Encrypted

None
log:GetIngestProcessor GetIngestProcessor get

*IngestProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/ingestprocessor/{#processorName}

log:TLSVersion

None
log:GetSavedSearch GetSavedSearch get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/{#SavedSearchName}

log:TLSVersion

None
log:ListStoreViews ListStoreViews list

*All Resource

*

None None
log:ListShards ListShards get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

log:TLSVersion

None
log:TagResources TagResources create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

log:TLSVersion

None
log:CreateDashboard CreateDashboard create

*All Resource

*

log:TLSVersion

None
log:ListMaxComputeExports ListMaxComputeExports list

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/*

None None
log:UntagResources UntagResources delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

log:TLSVersion

None
log:DeleteLogging DeleteLogging delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logging

log:TLSVersion

None
log:CreateMaxComputeExport CreateMaxComputeExport create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}

None None
log:GetCursorOrData GetCursor get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}

log:TLSVersion

None
log:StartETL StartETL none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}

None None
log:CreateConsumerGroup CreateConsumerGroup create

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}

log:TLSVersion

None
log:CreateIndex CreateIndex create

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

None
log:CreateETL CreateETL create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}

None None
log:UpdateAlert UpdateAlert update

*All Resource

*

None None
log:CreateDownloadJob CreateDownloadJob create

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/downloadjob/{#downloadJobName}

None None
log:GetGCSIngestion GetGCSIngestion get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/{#gcsIngestionName}

None None
log:UpdateAzureBlobIngestion UpdateAzureBlobIngestion update

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureBlobIngestionName}

None None
log:GetDashboard GetDashboard get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/dashboard/{#DashboardName}

log:TLSVersion

None
log:GetLogging GetLogging get

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logging

log:TLSVersion

None
log:CreateMaterializedView CreateMaterializedView create

*All Resource

*

None None
log:PutIngestProcessor PutIngestProcessor update

*IngestProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/ingestprocessor/{#processorName}

log:TLSVersion

None
log:CreateTicket CreateTicket create

*All Resource

*

log:TLSVersion

None
log:StartOSSHDFSExport StartOSSHDFSExport none

*All Resource

*

None None
log:CreateApiKey CreateApiKey create

*All Resource

*

None None
log:ListApiKeys ListApiKeys list

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/*

None None
log:CreateAnnotationDataSet CreateAnnotationDataSet create

*All Resource

*

None None
log:CreateProject CreateProject create

*Project

acs:log:{#regionId}:{#accountId}:project/{#projectName}

log:TLSVersion

None
log:GetETL GetETL get

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}

None None
log:ChangeResourceGroup ChangeResourceGroup update

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}

log:TLSVersion

None
log:GetAnnotationData GetAnnotationData get

*All Resource

*

None None
log:RefreshToken RefreshToken create

*All Resource

*

log:TLSVersion

None
log:ListConsumeProcessors ListConsumeProcessors list

*ConsumeProcessor

acs:log:{#regionId}:{#accountId}:project/{#project}/consumeprocessor/*

log:TLSVersion

None
log:StartAzureBlobIngestion StartAzureBlobIngestion none

*Project

acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureBlobIngestionName}

None None
log:CreateLogging CreateLogging create

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logging

log:TLSVersion

None
log:PutAnnotationData PutAnnotationData create

*All Resource

*

None None
log:ListLogStores ListLogStores get

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/*

log:TLSVersion

None
log:RemoveConfigFromGroup RemoveConfigFromMachineGroup delete

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}

*Project

acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}

log:TLSVersion

None
log:UpdateIndex UpdateIndex update

*LogStore

acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}

log:TLSVersion

None
log:ListDataAgents ListDataAgents list

*All Resource

*

None None
log:UpdateAgentInstanceConfig UpdateAgentInstanceConfig update

*AgentInstanceConfig

acs:log:{#regionId}:{#accountId}:agentinstanceconfig/{#configType}

log:TLSVersion

None
log:GetProjectPolicy GetProjectPolicy get

*All Resource

*

log:TLSVersion

None
log:DeleteAlert DeleteAlert delete

*All Resource

*

None None

Resource

The following table lists the resource types and ARN formats defined by Simple Log Service. The Resource element of RAM policy statements specifies the resources to which the statement applies. Notes:

  • {#} in an ARN is a variable placeholder. Replace it with the actual value. For example, replace {#ramcode} with the actual RAM code of the cloud service.

  • * in an ARN indicates all. For example:

    • {#resourceType} set to *: all resources.

    • {#regionId} set to *: all regions.

    • {#accountId} set to *: all Alibaba Cloud accounts.

Resource type

ARN

Project
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{#MachineGroupName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/etl/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/downloadjob/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/{#SavedSearchName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/{#ossExportName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#scheduledSQLName}
  • acs:log:{#regionId}:{#AccountId}:project/{#project}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/s3ingestion/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/{#mcExportName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/s3ingestion/{#s3IngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/{#gcsIngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/dashboard/{#DashboardName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/elasticsearchingestion/{#esIngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/etl/{#etlName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/{#ossIngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/ossexport/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/downloadjob/{#downloadJobName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/{#ApiKeyName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/domain/*
  • acs:log:{#regionId}:{#accountId}:project/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/elasticsearchingestion/{#elasticsearchIngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/scheduledsql/{#jobName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/machinegroup/{MachineGroup}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/azureblobingestion/{#azureblobIngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logging
  • acs:log:{#regionId}:{#accountId}:project/{#project}/ossingestion/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/dashboard/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/domain/{#DomainName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/elasticsearchingestion/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}//dashboard/{#DashboardName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logtailconfig/{#LogtailConfigName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/kafkaingestion/{#kafkaIngestionName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/gcsingestion/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/savedsearch/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/dashboard/{#DashboardName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/maxcomputeexport/*
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/apikey/*
LogStore
  • acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstore}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{l#ogstoreName}/consumergroup/{#ConsumerGroup}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#logstoreName}/consumergroup/{#ConsumerGroup}
  • acs:log:${regionId}:${accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/{#ConsumerGroupName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/{#logstoreName}
  • acs:log:{#regionId}:{#accountId}:project/{#ProjectName}/logstore/{#LogstoreName}/consumergroup/*
  • acs:log:{#Region}:{#AccountId}:project/{#ProjectName}/logstore/{#LogstoreName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/logstore/*
MaterializedView
  • acs:log:{#regionId}:{#accountId}:project/{#project}/materializedview/*
Region
  • acs:log:{#regionId}:{#accountId}:*
DataAgent
  • acs:log:{#regionId}:{#accountId}:dataagent/{#name}
  • acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/{#threadId}
  • acs:log:{#regionId}:{#accountId}:dataagent/{#name}/thread/*
  • acs:log:{#regionId}:{#accountId}:dataagent/*
ContextModel
  • acs:log:{#regionId}:{#accountId}:contextmodel/{#name}
  • acs:log:{#regionId}:{#accountId}:contextmodel/*
ConsumeProcessor
  • acs:log:{#regionId}:{#accountId}:project/{#project}/consumeprocessor/{#processorName}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/consumeprocessor/*
MetricStore
  • acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#name}
  • acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/metricstore/{#metricstore}
CollectionPolicy
  • acs:log::{#accountId}:collectionpolicy/*
  • acs:log::{#accountId}:collectionpolicy/{#policyName}
Service
  • acs:log::{#AccountId}:service
IngestProcessor
  • acs:log:{#regionId}:{#accountId}:project/{#project}/ingestprocessor/*
  • acs:log:{#regionId}:{#accountId}:project/{#project}/ingestprocessor/{#processorName}
Alert
  • acs:log:{#regionId}:{#accountId}:project/{#project}/alert/*
AgentInstanceConfig
  • acs:log:{#regionId}:{#accountId}:agentinstanceconfig/{#configType}
  • acs:log:{#regionId}:{#accountId}:agentinstanceconfig/*
Ticket
  • acs:log::{#accountId}:ticket/*

Condition

The following table lists the product-level condition keys defined by Simple Log Service. Specify them in the Condition element of RAM policy statements to define the conditions under which the statement takes effect. Use conditional operators that match the data type of the condition key. If the operator does not match, the statement does not take effect. For more information about conditional operators, see Condition operator.

Condition key

Description

Data type

log:TLSVersion The TLS version.

Valid values:

  • TLSv1
  • TLSv1.1
  • TLSv1.2
  • TLSv1.3
String
log:Encrypted Specifies whether an encryption configuration is specified when creating or modifying a Logstore.

Valid values:

  • true
  • false
Boolean

References

For information about conditional operators, custom policies, and authorization operations, see the following documents: