All Products
Search
Document Center

Virtual Private Cloud:RAM authorization

Last Updated:Mar 21, 2025
Resource Access Management (RAM) is a service provided by Alibaba Cloud to manage user identities and resource access permissions. You can use RAM to prevent RAM users from sharing the AccessKey pairs of your Alibaba Cloud account. You can also use RAM to grant minimum permissions to RAM users. RAM uses policies to define permissions.
This topic describes the elements, such as Action, Resource, and Condition, which are defined by VPC. You can use the elements to create policies in RAM. The code (RamCode) in RAM that is used to indicate VPC is vpc. You can grant permissions on VPC at the RESOURCE.

General structure of a policy

Policies can be stored as JSON files. The following code provides an example on the general structure of a policy:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}
The following list describes the fields in the policy:
  • Effect: specifies the authorization effect. Valid values: Allow, Deny.
  • Action: specifies one or more API operations that are allowed or denied. For more information, see the Action section of this topic.
  • Resource: specifies one or more resources to which the policy applies. You can use an Alibaba Cloud Resource Name (ARN) to specify a resource. For more information, see the Resource section of this topic.
  • Condition: specifies one or more conditions that are required for the policy to take effect. This is an optional field. For more information, see the Condition section of this topic.
    • Condition_operator: specifies the conditional operators. Different types of conditions support different conditional operators. For more information, see Policy elements.
    • Condition_key: specifies the condition keys.
    • Condition_value: specifies the condition values.

Action

VPC defines the values that you can use in the Action element of a policy statement. The following table describes the values.
  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • API operation: the API operation that you can call to perform the operation.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition key: the condition keys that are defined by the Alibaba Cloud service. The Condition key column does not list the common condition keys that are defined by Alibaba Cloud. For more information about the common condition keys, see Generic Condition Keyword.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
ActionsAPI operationAccess levelResource typeCondition keyAssociated operation
vpc:ActivateRouterInterfaceActivateRouterInterfaceupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:ActiveFlowLogActiveFlowLogupdate
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
vpc:AddSourcesToTrafficMirrorSessionAddSourcesToTrafficMirrorSessionupdate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
NoneNone
vpc:AllocateIpv6AddressAllocateIpv6Addresscreate
*Ipv6Address
acs:vpc:{#regionId}:{#accountId}:ipv6address/*
NoneNone
vpc:AllocateIpv6InternetBandwidthAllocateIpv6InternetBandwidthcreate
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/*
NoneNone
vpc:AllocateVpcIpv6CidrAllocateVpcIpv6Cidrnone
*All Resources
*
NoneNone
vpc:AssociateHaVipAssociateHaVipcreate
*Instance
acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
NoneNone
vpc:AssociateNetworkAclAssociateNetworkAclupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:AssociateRouteTableAssociateRouteTableupdate
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#vswitchId}
NoneNone
vpc:AssociateRouteTableWithGatewayAssociateRouteTableWithGatewaycreate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
NoneNone
vpc:AssociateRouteTablesWithVpcGatewayEndpointAssociateRouteTablesWithVpcGatewayEndpointcreate
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
NoneNone
vpc:AssociateVpcCidrBlockAssociateVpcCidrBlockcreate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:AttachDhcpOptionsSetToVpcAttachDhcpOptionsSetToVpcupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:AttachVbrToVpconnAttachVbrToVpconnupdate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#virtualborderrouterId}
NoneNone
vpc:CancelPhysicalConnectionCancelPhysicalConnectionupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:ChangeResourceGroupChangeResourceGroupupdate
*All Resources
*
NoneNone
vpc:CheckCanAllocateVpcPrivateIpAddressCheckCanAllocateVpcPrivateIpAddressnone
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:CompletePhysicalConnectionLOACompletePhysicalConnectionLOAupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:ConnectRouterInterfaceConnectRouterInterfaceupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:CopyNetworkAclEntriesCopyNetworkAclEntriesupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
NoneNone
vpc:CreateDefaultVSwitchCreateDefaultVSwitchWrite
*VSwitch
acs:vpc:{#regionid}:{#accountId}:vswitch/*
NoneNone
vpc:CreateDefaultVpcCreateDefaultVpcWrite
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/*
NoneNone
vpc:CreateDhcpOptionsSetCreateDhcpOptionsSetcreate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*
NoneNone
vpc:CreateFlowLogCreateFlowLogcreate
VSwitch
acs:vpc:{#regionid}:{#accountId}:vswitch/{#VSwitchId}
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/*
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:CreateHaVipCreateHaVipcreate
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/*
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:CreateHighReliablePhysicalConnectionCreateHighReliablePhysicalConnectioncreate
*All Resources
*
NoneNone
vpc:CreateIpv4GatewayCreateIpv4Gatewaycreate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/*
NoneNone
vpc:CreateIpv6EgressOnlyRuleCreateIpv6EgressOnlyRulecreate
*Ipv6EgressRule
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:CreateIpv6GatewayCreateIpv6Gatewaycreate
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*
NoneNone
vpc:CreateNetworkAclCreateNetworkAclcreate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/*
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:CreatePhysicalConnectionOccupancyOrderCreatePhysicalConnectionOccupancyOrdercreate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:CreateRouteEntriesCreateRouteEntriescreate
*RouteEntry
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:CreateRouteEntryCreateRouteEntrycreate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:CreateRouteTableCreateRouteTablecreate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/*
NoneNone
vpc:CreateRouterInterfaceCreateRouterInterfacecreate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/*
vpc:TargetAccountRDId
None
vpc:CreateSslVpnServerCreateSslVpnServercreate
*SslVpnServer
acs:vpc:{#regionId}:{#accountId}:sslvpnserver/*
*VpnGateway
acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnGatewayId}
NoneNone
vpc:CreateTrafficMirrorFilterCreateTrafficMirrorFiltercreate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*
NoneNone
vpc:CreateTrafficMirrorFilterRulesCreateTrafficMirrorFilterRulescreate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:CreateTrafficMirrorSessionCreateTrafficMirrorSessioncreate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:CreateVSwitchCreateVSwitchcreate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/*
vpc:tag
None
vpc:CreateVSwitchCidrReservationCreateVSwitchCidrReservationcreate
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*
NoneNone
vpc:CreateVbrHaCreateVbrHacreate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
NoneNone
vpc:CreateVirtualPhysicalConnectionCreateVirtualPhysicalConnectioncreate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#physicalconnectionId}
NoneNone
vpc:CreateVpcCreateVpccreate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/*
NoneNone
vpc:CreateVpcGatewayEndpointCreateVpcGatewayEndpointcreate
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*
NoneNone
vpc:CreateVpcPrefixListCreateVpcPrefixListcreate
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/*
NoneNone
vpc:CreateVpconnFromVbrCreateVpconnFromVbrcreate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#virtualborderrouterId}
NoneNone
vpc:DeactivateRouterInterfaceDeactivateRouterInterfaceupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:DeactiveFlowLogDeactiveFlowLogupdate
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
vpc:DeleteDhcpOptionsSetDeleteDhcpOptionsSetdelete
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
NoneNone
vpc:DeleteExpressConnectTrafficQosQueueDeleteExpressConnectTrafficQosQueuedelete
*All Resources
*
NoneNone
vpc:DeleteFlowLogDeleteFlowLogdelete
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
vpc:DeleteHaVipDeleteHaVipdelete
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
NoneNone
vpc:DeleteIpv4GatewayDeleteIpv4Gatewaydelete
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
NoneNone
vpc:DeleteIpv6EgressOnlyRuleDeleteIpv6EgressOnlyRuledelete
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:DeleteIpv6GatewayDeleteIpv6Gatewaydelete
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:DeleteIpv6InternetBandwidthDeleteIpv6InternetBandwidthdelete
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
NoneNone
vpc:DeleteNetworkAclDeleteNetworkAcldelete
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
NoneNone
vpc:DeleteRouteEntriesDeleteRouteEntriesdelete
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
NoneNone
vpc:DeleteRouteEntryDeleteRouteEntrydelete
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:DeleteRouteTableDeleteRouteTabledelete
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:DeleteRouterInterfaceDeleteRouterInterfacedelete
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:DeleteTrafficMirrorFilterDeleteTrafficMirrorFilterdelete
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:DeleteTrafficMirrorFilterRulesDeleteTrafficMirrorFilterRulesdelete
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:DeleteTrafficMirrorSessionDeleteTrafficMirrorSessiondelete
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
NoneNone
vpc:DeleteVSwitchDeleteVSwitchdelete
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:DeleteVSwitchCidrReservationDeleteVSwitchCidrReservationdelete
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
NoneNone
vpc:DeleteVbrHaDeleteVbrHadelete
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
NoneNone
vpc:DeleteVpcDeleteVpcdelete
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag
None
vpc:DeleteVpcGatewayEndpointDeleteVpcGatewayEndpointdelete
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
NoneNone
vpc:DeleteVpcPrefixListDeleteVpcPrefixListdelete
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
NoneNone
vpc:DeletionProtectionDeletionProtectiondelete
*Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
NoneNone
vpc:DescribeEcGrantRelationDescribeEcGrantRelationlist
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
NoneNone
vpc:DescribeExpressConnectTrafficQosDescribeExpressConnectTrafficQoslist
*TrafficQos
acs:vpc:{#regionId}:{#accountId}:TrafficQos/*
NoneNone
vpc:DescribeExpressConnectTrafficQosQueueDescribeExpressConnectTrafficQosQueuelist
*All Resources
*
NoneNone
vpc:DescribeFlowLogsDescribeFlowLogsget
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/*
NoneNone
vpc:DescribeGrantRulesToCenDescribeGrantRulesToCenget
VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#InstanceId}
GrantRuleToCen
acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}
NoneNone
vpc:DescribeHaVipsDescribeHaVipsget
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/*
NoneNone
vpc:DescribeIpv6AddressesDescribeIpv6Addresseslist
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:vpc/*
NoneNone
vpc:DescribeIpv6EgressOnlyRulesDescribeIpv6EgressOnlyRulesget
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:DescribeIpv6GatewayAttributeDescribeIpv6GatewayAttributeget
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:DescribeIpv6GatewaysDescribeIpv6Gatewaysget
Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*
Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:DescribeNetworkAclAttributesDescribeNetworkAclAttributesget
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
NoneNone
vpc:DescribeNetworkAclsDescribeNetworkAclslist
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/*
NoneNone
vpc:DescribePhysicalConnectionLOADescribePhysicalConnectionLOAget
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:DescribePhysicalConnectionsDescribePhysicalConnectionslist
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/*
NoneNone
vpc:DescribeRouteEntryListDescribeRouteEntryListget
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:DescribeRouteTableListDescribeRouteTableListlist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/*
vpc:VRouter
vpc:VBR
None
vpc:DescribeRouteTablesDescribeRouteTableslist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:VBR
vpc:VRouter
None
vpc:DescribeRouterInterfaceAttributeDescribeRouterInterfaceAttributeget
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:DescribeRouterInterfacesDescribeRouterInterfaceslist
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:DescribeTagKeysDescribeTagKeysget
*All Resources
*
NoneNone
vpc:DescribeTagKeysForExpressConnectDescribeTagKeysForExpressConnectlist
*All Resources
*
NoneNone
vpc:DescribeTagsDescribeTagsget
*All Resources
*
vpc:tag
None
vpc:DescribeVRoutersDescribeVRouterslist
*VRouter
acs:vpc:{#regionId}:{#accountId}:vrouter/*
vpc:VPC
None
vpc:DescribeVSwitchAttributesDescribeVSwitchAttributesget
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:DescribeVSwitchesDescribeVSwitcheslist
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/*
vpc:VPC
None
vpc:DescribeVbrHaDescribeVbrHaget
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
NoneNone
vpc:DescribeVpcAttributeDescribeVpcAttributeget
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag
None
vpc:DescribeVpcsDescribeVpcslist
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/*
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VPCId}
vpc:tag
None
vpc:DescribeVpnGatewayAvailableZonesDescribeVpnGatewayAvailableZoneslist
*All Resources
*
NoneNone
vpc:DetachDhcpOptionsSetFromVpcDetachDhcpOptionsSetFromVpcupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:DisableVpcClassicLinkDisableVpcClassicLinkupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:DissociateRouteTableFromGatewayDissociateRouteTableFromGatewayget
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
NoneNone
vpc:DissociateRouteTablesFromVpcGatewayEndpointDissociateRouteTablesFromVpcGatewayEndpointdelete
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
NoneNone
vpc:EnablePhysicalConnectionEnablePhysicalConnectionupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:EnableVpcClassicLinkEnableVpcClassicLinkupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:EnableVpcIpv4GatewayEnableVpcIpv4Gatewayupdate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
NoneNone
vpc:GetDhcpOptionsSetGetDhcpOptionsSetget
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
NoneNone
vpc:GetFlowLogServiceStatusGetFlowLogServiceStatusget
*FlowLogService
acs:vpc:{#regionId}:{#accountId}:flowlog/*
NoneNone
vpc:GetIpv4GatewayAttributeGetIpv4GatewayAttributeget
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#Ipv4GatewayId}
NoneNone
vpc:GetPhysicalConnectionServiceStatusGetPhysicalConnectionServiceStatusget
*All Resources
*
NoneNone
vpc:GetTrafficMirrorServiceStatusGetTrafficMirrorServiceStatusget
*All Resources
*
NoneNone
vpc:GetVSwitchCidrReservationUsageGetVSwitchCidrReservationUsageget
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
NoneNone
vpc:GetVpcGatewayEndpointAttributeGetVpcGatewayEndpointAttributeget
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
NoneNone
vpc:GetVpcPrefixListAssociationsGetVpcPrefixListAssociationsget
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
NoneNone
vpc:GetVpcPrefixListEntriesGetVpcPrefixListEntriesget
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
NoneNone
vpc:GetVpcRouteEntrySummaryGetVpcRouteEntrySummarylist
RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}
NoneNone
vpc:GrantInstanceToCenGrantInstanceToCenupdate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:GrantInstanceToVbrGrantInstanceToVbrupdate
*VPC
acs:vpc:{#regionId}:{#AccountId}:vpc/{#VpcId}
NoneNone
vpc:ListBusinessAccessPointsListBusinessAccessPointslist
*All Resources
*
NoneNone
vpc:ListDhcpOptionsSetsListDhcpOptionsSetsget
DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*
DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
NoneNone
vpc:ListGatewayRouteTableEntriesListGatewayRouteTableEntrieslist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
NoneNone
vpc:ListGeographicSubRegionsListGeographicSubRegionslist
*All Resources
*
NoneNone
vpc:ListIpv4GatewaysListIpv4Gatewayslist
Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/*
NoneNone
vpc:ListPrefixListsListPrefixListslist
PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/*
NoneNone
vpc:ListTagResourcesListTagResourcesget
BandwidthPackage
acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#BandwidthPackageId}
Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
NatGateway
acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTable}
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
VpnGateway
acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnGatewayId}
VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:tag
None
vpc:ListTagResourcesForExpressConnectListTagResourcesForExpressConnectlist
*All Resources
*
NoneNone
vpc:ListTrafficMirrorFiltersListTrafficMirrorFilterslist
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*
NoneNone
vpc:ListTrafficMirrorSessionsListTrafficMirrorSessionslist
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*
NoneNone
vpc:ListVSwitchCidrReservationsListVSwitchCidrReservationslist
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*
NoneNone
vpc:ListVirtualPhysicalConnectionsListVirtualPhysicalConnectionslist
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:ListVpcEndpointServicesByEndUserListVpcEndpointServicesByEndUserlist
*All Resources
*
NoneNone
vpc:ListVpcGatewayEndpointsListVpcGatewayEndpointslist
GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*
GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
NoneNone
vpc:ModifyEipForwardModeModifyEipForwardModeupdate
*Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
NoneNone
vpc:ModifyFlowLogAttributeModifyFlowLogAttributeupdate
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
NoneNone
vpc:ModifyHaVipAttributeModifyHaVipAttributeupdate
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
NoneNone
vpc:ModifyIpv6AddressAttributeModifyIpv6AddressAttributeupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:ModifyIpv6GatewayAttributeModifyIpv6GatewayAttributeupdate
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
NoneNone
vpc:ModifyIpv6InternetBandwidthModifyIpv6InternetBandwidthupdate
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
NoneNone
vpc:ModifyNetworkAclAttributesModifyNetworkAclAttributesupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
NoneNone
vpc:ModifyPhysicalConnectionAttributeModifyPhysicalConnectionAttributeupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:ModifyRouteEntryModifyRouteEntryupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:ModifyRouteTableAttributesModifyRouteTableAttributesupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:VRouter
None
vpc:ModifyRouterInterfaceAttributeModifyRouterInterfaceAttributeupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:TargetAccountRDId
None
vpc:ModifyRouterInterfaceSpecModifyRouterInterfaceSpecupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
NoneNone
vpc:ModifyVRouterAttributeModifyVRouterAttributeupdate
*VRouter
acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}
NoneNone
vpc:ModifyVSwitchAttributeModifyVSwitchAttributeupdate
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:ModifyVSwitchCidrReservationAttributeModifyVSwitchCidrReservationAttributeupdate
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
NoneNone
vpc:ModifyVpcAttributeModifyVpcAttributeupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag
None
vpc:ModifyVpcPrefixListModifyVpcPrefixListupdate
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
NoneNone
vpc:MoveResourceGroupMoveResourceGroupupdate
BandwidthPackage
acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}
Eip
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#Ipv4GatewayId}
Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
PublicIpAddressPool
acs:vpc:{#regionId}:{#accountId}:publicipaddresspool/{#PublicIpAddressPoolId}
TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
NoneNone
vpc:OpenFlowLogServiceOpenFlowLogServicecreate
*FlowLogService
acs:vpc:{#regionId}:{#accountId}:flowlog/*
NoneNone
vpc:OpenPhysicalConnectionServiceOpenPhysicalConnectionServicecreate
*All Resources
*
NoneNone
vpc:OpenTrafficMirrorServiceOpenTrafficMirrorServicecreate
*All Resources
*
NoneNone
vpc:RecoverPhysicalConnectionRecoverPhysicalConnectionupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#physicalconnectionId}
NoneNone
vpc:ReleaseIpv6AddressReleaseIpv6Addressdelete
*Ipv6Address
acs:vpc:{#regionId}:{#accountId}:ipv6address/{#Ipv6AddressId}
NoneNone
vpc:RemoveSourcesFromTrafficMirrorSessionRemoveSourcesFromTrafficMirrorSessionupdate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
NoneNone
vpc:ReplaceVpcDhcpOptionsSetReplaceVpcDhcpOptionsSetupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:RetryVpcPrefixListAssociationRetryVpcPrefixListAssociationupdate
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
NoneNone
vpc:RevokeInstanceFromCenRevokeInstanceFromCenupdate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
NoneNone
vpc:RevokeInstanceFromVbrRevokeInstanceFromVbrupdate
*VPC
acs:vpc:{#regionId}:{#AccountId}:vpc/{#VpcId}
NoneNone
vpc:SecondApplyPhysicalConnectionLOASecondApplyPhysicalConnectionLOAnone
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:StopFailoverTestJobStopFailoverTestJobupdate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:TagResourcesTagResourcesupdate
BandwidthPackage
acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#BandwidthPackageId}
Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
NatGateway
acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
VpnGateway
acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnGatewayId}
VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:tag
None
vpc:TagResourcesForExpressConnectTagResourcesForExpressConnectupdate
*All Resources
*
NoneNone
vpc:TerminatePhysicalConnectionTerminatePhysicalConnectionupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
NoneNone
vpc:TransformEipSegmentToPublicIpAddressPoolTransformEipSegmentToPublicIpAddressPoolcreate
*All Resources
*
NoneNone
vpc:UnTagResourcesUnTagResourcesupdate
Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
NatGateway
acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:tag
None
vpc:UnassociateHaVipUnassociateHaVipdelete
*Instance
acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
NoneNone
vpc:UnassociateNetworkAclUnassociateNetworkAclupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:UnassociateRouteTableUnassociateRouteTableupdate
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
NoneNone
vpc:UnassociateVpcCidrBlockUnassociateVpcCidrBlockdelete
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
NoneNone
vpc:UntagResourcesForExpressConnectUntagResourcesForExpressConnectupdate
*All Resources
*
NoneNone
vpc:UpdateDhcpOptionsSetAttributeUpdateDhcpOptionsSetAttributeupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
NoneNone
vpc:UpdateFailoverTestJobUpdateFailoverTestJobupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
NoneNone
vpc:UpdateGatewayRouteTableEntryAttributeUpdateGatewayRouteTableEntryAttributeupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
NoneNone
vpc:UpdateIpv4GatewayAttributeUpdateIpv4GatewayAttributeupdate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
NoneNone
vpc:UpdateNetworkAclEntriesUpdateNetworkAclEntriesupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
NoneNone
vpc:UpdateTrafficMirrorFilterAttributeUpdateTrafficMirrorFilterAttributeupdate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:UpdateTrafficMirrorFilterRuleAttributeUpdateTrafficMirrorFilterRuleAttributeupdate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:UpdateTrafficMirrorSessionAttributeUpdateTrafficMirrorSessionAttributeupdate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
NoneNone
vpc:UpdateVirtualPhysicalConnectionUpdateVirtualPhysicalConnectionupdate
*PhysicalConnection
acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#physicalconnectionId}
NoneNone
vpc:UpdateVpcGatewayEndpointAttributeUpdateVpcGatewayEndpointAttributeupdate
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
NoneNone

Resource

VPC defines the values that you can use in the Resource. You can attach the policy to a RAM user or a RAM role so that the RAM user or the RAM role can perform a specific operation on a specific resource. The ARN is the unique identifier of the resource on Alibaba Cloud. Take note of the following items:
  • {#}indicates a variable. {#} must be replaced with an actual value. For example, {#ramcode} must be replaced with the actual code of an Alibaba Cloud service in RAM.
  • An asterisk (*) is used as a wildcard. Examples:
    • {#resourceType} is set to *, all resources are specified.
    • {#regionId} is set to *, all regions are specified.
    • {#accountId} is set to *, all Alibaba Cloud accounts are specified.
Resource typeARN
Address
  • acs:vpc:{#regionId}:{#accountId}:eip/*
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
Association
  • acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
BandwidthPackage
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#BandwidthPackageId}
  • acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}
  • acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/*
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/*
CommonBandwidthPackage
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/*
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#CommonBandwidthPackageId}
CustomerGateway
  • acs:vpc:{#regionId}:{#accountId}:customergateway/{#CustomerGatewayId}
  • acs:vpc:{#regionId}:{#accountId}:customergateway/*
  • acs:vpc:{#Region}:{#AccountId}:customergateway/{#CustomerGatewayId}
DhcpOptionsSet
  • acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*
  • acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
Eip
  • acs:vpc:{#regionId}:{#accountId}:eip/{#EipId}
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
FlowLog
  • acs:vpc:{#regionId}:{#accountId}:flowlog/*
  • acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
FlowLogService
  • acs:vpc:{#regionId}:{#accountId}:flowlog/*
ForwardTable
  • acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}
FullNat
  • acs:vpc:{#regionId}:{#accountId}:vpcfullnattable/{#FullNatTableId}
GatewayEndpoint
  • acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
  • acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*
GatewayInfo
  • acs:vpc:{#regionId}:{#accountId}:eip/*
GlobalAccelerationInstance
  • acs:vpc:{#regionId}:{#accountId}:globalaccelerationinstance/{#GlobalAccelerationInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:GlobalAccelerationInstance/*
  • acs:vpc:{#regionId}:{#accountId}:globalaccelerationinstance/*
GrantRuleToCen
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}
HaVip
  • acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
  • acs:vpc:{#regionId}:{#accountId}:havip/*
IPv6Translator
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/*
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/{#IPv6TranslatorId}
Instance
  • acs:ecs:{#regionId}:{#accountId}:instance/{#InstanceId}
  • acs:ecs:{#regionId}:{#accountId}:instance/*
  • acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
  • acs:ecs:{#regionId}:{#accountId}:instance/{#BackendServerId}
IpsecServer
  • acs:vpc:{#Region}:{#AccountId}: vpnipsecserver/{#IpsecServerId}
  • acs:vpc:{#regionId}:{#accountId}:ipsecserver/*
  • acs:vpc:{#regionId}:{#accountId}:vpnipsecserver/{#IpsecServerId}
Ipv4Gateway
  • acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
  • acs:vpc:{#regionId}:{#accountId}:ipv4gateway/*
Ipv6Address
  • acs:vpc:{#regionId}:{#accountId}:ipv6address/*
  • acs:vpc:{#regionId}:{#accountId}:ipv6address/{#Ipv6AddressId}
Ipv6EgressRule
  • acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
Ipv6Gateway
  • acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*
Ipv6InternetBandwidth
  • acs:vpc:{#regionId}:{#accountId}:vpc/*
  • acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/*
Ipv6Translator
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/{#Ipv6TranslatorId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/*
NatGateway
  • acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
  • acs:vpc:{#regionId}:{#accountId}:natgateway/*
NatIp
  • acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
NatIpCidr
  • acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
NetworkAcl
  • acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
  • acs:vpc:{#regionId}:{#accountId}:networkacl/*
PhysicalConnection
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#physicalconnectionId}
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/*
PrefixList
  • acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
  • acs:vpc:{#regionId}:{#accountId}:prefixlist/*
PublicIpAddressPool
  • acs:vpc:{#regionId}:{#accountId}:publicipaddresspool/*
  • acs:vpc:{#regionId}:{#accountId}:publicipaddresspool/{#PublicIpAddressPoolId}
PublicIpAddressPoolService
  • acs:vpc:{#regionId}:{#accountId}:publicipaddresspoolservice/*
RouteEntry
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
RouteTable
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
  • acs:vpc:{#regionId}:{#accountId}:routetable/*
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTable}
RouterInterface
  • acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
  • acs:vpc:{#regionId}:{#accountId}:routerinterface/*
  • acs:expressconnect:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
SegmentAddress
  • acs:eip:{#regionId}:{#accountId}:eipsegment/{#SegmentInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:eip/*
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
SnatEntry
  • acs:vpc:{#regionId}:{#accountId}:snattable/*
SnatTable
  • acs:vpc:{#regionId}:{#accountId}:snattable/{#SnatTableId}
SslVpnClientCert
  • acs:vpc:{#regionId}:{#accountId}:sslvpnclientcert/*
  • acs:vpc:{#regionId}:{#accountId}:sslvpnclientcert/{#SslVpnClientCertId}
SslVpnServer
  • acs:vpc:{#regionId}:{#accountId}:sslvpnserver/*
  • acs:vpc:{#regionId}:{#accountId}:sslvpnserver/{#SslVpnServerId}
  • acs:vpc:{#Region}:{#AccountId}:sslvpnserver/{#SslVpnServerId}
TrafficMirrorFilter
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*
TrafficMirrorService
  • acs:vpc:{#regionId}:{#accountId}:trafficmirror/*
TrafficMirrorSession
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
TrafficQos
  • acs:vpc:{#regionId}:{#accountId}:TrafficQos/*
  • acs:vpc:{#regionId}:{#accountId}:trafficqos/{#QosId}
VPC
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
  • acs:vpc:{#regionId}:{#accountId}:vpc/*
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}
VRouter
  • acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}
  • acs:vpc:{#regionId}:{#accountId}:vrouter/*
VSwitch
  • acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
  • acs:vpc:{#regionId}:{#accountId}:vswitch/*
VSwitchCidrReservation
  • acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*
  • acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
VirtualBorderRouter
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#virtualborderrouterId}
  • acs:expressconnect:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
  • acs:vpc:{#regionId}:{#AccountId}:virtualborderrouter/*
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#InstanceId}
  • acs:vpc:*:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
VpnAttachment
  • acs:vpc:{#Region}:{#AccountId}:vpnattachment/{#VpnConnectionId}
VpnConnection
  • acs:vpc:{#regionId}:{#accountId}:vpnconnection/*
  • acs:vpc:{#regionId}:{#accountId}:*
  • acs:vpc:{#regionId}:{#accountId}:vpnconnection/{#VpnConnectionId}
  • acs:vpc:{#Region}:{#AccountId}:vpnconnection/{#VpnConnectionId}
VpnConnections
  • acs:vpc:{#regionId}:{#accountId}:vpnconnection/{#VpnConnectionId}
VpnGateway
  • acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnGatewayId}
  • acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:vpngateway/*
  • acs:vpc:{#regionId}:{#accountId}:
  • acs:vpc:{#Region}:{#AccountId}:vpngateway/{#VpnInstanceId}
physicalconnection
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/*

Condition

VPC defines the values that you can use in the Condition element of a policy statement. The following table describes the values. The following table describes the service-specific condition keys. The common condition keys that are defined by Alibaba Cloud also apply to VPC. For more information about the common condition keys, see Generic Condition Keyword.
The data type determines the conditional operators that you can use to compare the value in a request with the value in a policy statement. You must use conditional operators that are supported by the data type. Otherwise, you cannot compare the value in the request with the value in the policy statement. In this case, the authorization is invalid. For more information about the conditional operators that are supported by each data type, see Policy elements.
Condition keyDescriptionData type
vpc:PhysicalConnectionPhysical Line InformationString
vpc:TargetAccountRDIdpeer user resource directory ID informationString
vpc:VBRBorder Router InformationString
vpc:VPCVPC InformationString
vpc:VRouterRouter InformationString
vpc:tagTags of the VPCString

What to do next

You can create a custom policy and attach the policy to a RAM user, RAM user group, or RAM role. For more information, see the following topics: