All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForApigatewayConfigSLS

Last Updated:Nov 04, 2024

AliyunServiceRolePolicyForApigatewayConfigSLS is the authorization policy dedicated to a service-linked role. The policy is automatically attached to a service role when the service role is created. Then, the service-linked role is authorized to access other cloud services. This policy is updated by the relevant Alibaba Cloud service. Do not attach this policy to a RAM identity other than a service-linked role.

Policy details

  • Type: service system policy

  • Creation time: 10:34:13 on November 01, 2024

  • Update time: 10:34:13 on November 01, 2024

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": "log:CreateProject",
      "Resource": "acs:log:*:*:project/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:CreateLogStore",
      "Resource": "acs:log:*:*:project/*/logstore/*",
      "Effect": "Allow"
    },
    {
        "Action": "log:GetLogStore",
        "Resource": "acs:log:*:*:project/*/logstore/*",
        "Effect": "Allow"
    },
    {
        "Action": "log:UpdateLogStore",
        "Resource": "acs:log:*:*:project/*/logstore/*",
        "Effect": "Allow"
    },
    {
      "Action": "log:GetIndex",
      "Resource": "acs:log:*:*:project/*/logstore/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:CreateIndex",
      "Resource": "acs:log:*:*:project/*/logstore/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:UpdateIndex",
      "Resource": "acs:log:*:*:project/*/logstore/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:CreateDashboard",
      "Resource": "acs:log:*:*:project/*/dashboard/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:UpdateDashboard",
      "Resource": "acs:log:*:*:project/*/dashboard/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:CreateSavedSearch",
      "Resource": "acs:log:*:*:project/*/savedsearch/*",
      "Effect": "Allow"
    },
    {
      "Action": "log:UpdateSavedSearch",
      "Resource": "acs:log:*:*:project/*/savedsearch/*",
      "Effect": "Allow"
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "sls.apigateway.aliyuncs.com"
        }
      }
    }
  ]
}

References