AliyunServiceRolePolicyForSFMModelDeveloper

Updated at: 2024-01-17 08:19

AliyunServiceRolePolicyForSFMModelDeveloper 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: 17:47:19 on January 04, 2024

  • Update time: 17:47:19 on January 04, 2024

  • Current version: v1

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Action": [
        "ecs:CreateNetworkInterface",
        "ecs:DeleteNetworkInterface",
        "ecs:DescribeNetworkInterfaces",
        "ecs:CreateNetworkInterfacePermission",
        "ecs:DescribeNetworkInterfacePermissions",
        "ecs:DeleteNetworkInterfacePermission",
        "ecs:DescribeSecurityGroups",
        "ecs:AttachNetworkInterface",
        "ecs:DetachNetworkInterface"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "vpc:DescribeVSwitchAttributes",
        "vpc:DescribeVpcs",
        "vpc:DescribeVSwitches",
        "vpc:DescribeVpcAttribute"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cr:GetAuthorizationToken",
        "cr:CreateRepository",
        "cr:PullRepository",
        "cr:PushRepository",
        "cr:ListInstance",
        "cr:GetRepository",
        "cr:ListRepository",
        "cr:ListRepositoryTag"
      ],
      "Resource": "*"
    },
    {
      "Action": [
        "oss:ListBuckets"
      ],
      "Resource": "*",
      "Effect": "Allow"
    },
    {
      "Action": [
        "oss:GetObject",
        "oss:PutObject",
        "oss:DeleteObject"
      ],
      "Resource": "acs:oss:*:*:*/sfm/*",
      "Effect": "Allow"
    },
    {
      "Action": "oss:ListObjects",
      "Effect": "Allow",
      "Resource": "acs:oss:*:*:*",
      "Condition": {
        "StringLike": {
          "oss:Prefix": [
            "sfm/*"
          ]
        }
      }
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "model-developer.sfm.aliyuncs.com"
        }
      }
    }
  ]
}

References

  • On this page (1)
  • Policy details
  • Policy content
  • References
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare