All Products
Search
Document Center

Resource Access Management:AliyunServiceRolePolicyForGovernanceNetworkBlueprint

Last Updated:Dec 28, 2023

AliyunServiceRolePolicyForGovernanceNetworkBlueprint 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: 03:32:22 on September 26, 2022

  • Update time: 06:56:57 on August 29, 2023

  • Current version: v6

Policy content

{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "vpc:CreateVpc",
        "vpc:DescribeVpcs",
        "vpc:ModifyVpcAttribute",
        "vpc:CreateVSwitch",
        "vpc:ModifyVSwitchAttribute",
        "vpc:DescribeVSwitchAttributes",
        "vpc:DeletionProtection",
        "vpc:CreateCommonBandwidthPackage",
        "vpc:DescribeCommonBandwidthPackages",
        "vpc:ModifyCommonBandwidthPackageSpec",
        "vpc:AddCommonBandwidthPackageIp",
        "vpc:CreateNatGateway",
        "vpc:DescribeNatGateways",
        "vpc:ModifyNatGatewayAttribute",
        "vpc:ModifyNatGatewaySpec",
        "vpc:UpdateNatGatewayNatType",
        "vpc:CreateSnatEntry",
        "vpc:GrantInstanceToCen",
        "vpc:AllocateEipAddress",
        "vpc:DescribeEipAddresses",
        "vpc:ModifyEipAddressAttribute",
        "vpc:AssociateEipAddress",
        "vpc:DescribeGrantRulesToCen",
        "vpc:ListTagResources",
        "vpc:DeleteVpc",
        "vpc:DeleteVSwitch",
        "vpc:DeleteNatGateway",
        "vpc:UnassociateEipAddress",
        "vpc:DeleteSnatEntry",
        "vpc:ReleaseEipAddress",
        "vpc:RemoveCommonBandwidthPackageIp",
        "vpc:DeleteCommonBandwidthPackage",
        "vpc:RevokeInstanceFromCen",
        "vpc:DescribeRouteTableList",
        "vpc:DescribeSnatTableEntries",
        "vpc:CreateRouteEntry",
        "vpc:DescribeRouteTables"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cen:CreateCen",
        "cen:DescribeCens",
        "cen:ModifyCenAttribute",
        "cen:UntagResources",
        "cen:TagResources",
        "cen:CreateTransitRouter",
        "cen:ListTransitRouters",
        "cen:UpdateTransitRouter",
        "cen:CreateTransitRouterVpcAttachment",
        "cen:ListTransitRouterVpcAttachments",
        "cen:UpdateTransitRouterVpcAttachmentAttribute",
        "cen:UpdateTransitRouterVpcAttachmentZones",
        "cen:OpenTransitRouterService",
        "cen:CheckTransitRouterService",
        "cen:ListTransitRouterRouteTables",
        "cen:AssociateTransitRouterAttachmentWithRouteTable",
        "cen:ListTransitRouterRouteTableAssociations",
        "cen:EnableTransitRouterRouteTablePropagation",
        "cen:ListTransitRouterRouteTablePropagations",
        "cen:ListTransitRouterRouteEntries",
        "cen:CreateTransitRouterRouteEntry",
        "cen:DeleteCen",
        "cen:DeleteTransitRouter",
        "cen:DeleteTransitRouterRouteEntry",
        "cen:DeleteTransitRouterVpcAttachment",
        "cen:DissociateTransitRouterAttachmentFromRouteTable",
        "cen:DisableTransitRouterRouteTablePropagation",
        "cen:ListTagResources"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "ram:CreateServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": [
            "cen.aliyuncs.com",
            "nat.aliyuncs.com"
          ]
        }
      }
    },
    {
      "Action": "ram:DeleteServiceLinkedRole",
      "Resource": "*",
      "Effect": "Allow",
      "Condition": {
        "StringEquals": {
          "ram:ServiceName": "blueprint-network.governance.aliyuncs.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "ram:GetRole",
      "Resource": "acs:ram:*:*:role/aliyunserviceroleforcen"
    },
    {
      "Effect": "Allow",
      "Action": "ram:ListRoles",
      "Resource": "acs:ram:*:*:role/*"
    }
  ]
}

References