All Products
Search
Document Center

Virtual Private Cloud:RAM authorization

Last Updated:Dec 03, 2026

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 Virtual Private Cloud defines for RAM permission policies. The RamCode of Virtual Private Cloud is vpc , 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 Virtual Private Cloud. 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: Write, Read, List, or Other.

  • Resource type: The types of resources for which the action supports authorization. Details are as follows:

    • Required resource types are prefixed with an asterisk (*). Specify the corresponding ARN in the Resource element of the policy.

    • When 'All Resources' is displayed and the resource ARN is *, set Resource in the policy to *.

  • 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

vpc:DeleteVpcGatewayEndpoint DeleteVpcGatewayEndpoint delete

*GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

None None
vpc:OpenTrafficMirrorService OpenTrafficMirrorService create

*All Resource

*

None None
vpc:ModifyVpcPrefixList ModifyVpcPrefixList update

*PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

None None
vpc:ListTrafficMirrorSessions ListTrafficMirrorSessions list

*TrafficMirrorSession

acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*

None None
vpc:DisableVpcClassicLink DisableVpcClassicLink update

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:ModifyRouteEntry ModifyRouteEntry update

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:UpdateVpcGatewayEndpointAttribute UpdateVpcGatewayEndpointAttribute update

*GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

None None
vpc:UntagResourcesForExpressConnect UntagResourcesForExpressConnect update

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

*TrafficQos

acs:vpc:{#regionId}:{#accountId}:trafficqos/{#QosId}

None None
vpc:ListVSwitchCidrReservations ListVSwitchCidrReservations list

*VSwitchCidrReservation

acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*

None None
vpc:GrantInstanceToVbr GrantInstanceToVbr update

*VPC

acs:vpc:{#regionId}:{#AccountId}:vpc/{#VpcId}

None None
vpc:ReleaseIpv6Address ReleaseIpv6Address delete

*Ipv6Address

acs:vpc:{#regionId}:{#accountId}:ipv6address/{#Ipv6AddressId}

None None
vpc:MoveResourceGroup MoveResourceGroup update

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}

None None
vpc:DescribeFlowLogs DescribeFlowLogs get

*FlowLog

acs:vpc:{#regionId}:{#accountId}:flowlog/*

None None
vpc:DescribeVRouters DescribeVRouters list

*VRouter

acs:vpc:{#regionId}:{#accountId}:vrouter/*

vpc:VPC

None
vpc:ListRouteTargetGroups ListRouteTargetGroups list

*RouteTargetGroup

acs:vpc:{#regionId}:{#accountId}:routetargetgroup/*

None None
vpc:DescribeNetworkAcls DescribeNetworkAcls list

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/*

None None
vpc:UpdateTrafficMirrorSessionAttribute UpdateTrafficMirrorSessionAttribute update

*TrafficMirrorSession

acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}

TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:ListTagResources ListTagResources get

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:DescribeVpcAttribute DescribeVpcAttribute get

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

vpc:tag

None
vpc:AttachDhcpOptionsSetToVpc AttachDhcpOptionsSetToVpc update

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:GetFlowLogServiceStatus GetFlowLogServiceStatus get

*FlowLogService

acs:vpc:{#regionId}:{#accountId}:flowlog/*

None None
vpc:RevokeInstanceFromCen RevokeInstanceFromCen update

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}

None None
vpc:CreateDefaultVSwitch CreateDefaultVSwitch create

*VSwitch

acs:vpc:{#regionid}:{#accountId}:vswitch/*

None None
vpc:CreateVpcGatewayEndpoint CreateVpcGatewayEndpoint create

*GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*

None None
vpc:DeleteTrafficMirrorFilter DeleteTrafficMirrorFilter delete

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:ModifyNetworkAclAttributes ModifyNetworkAclAttributes update

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

None None
vpc:UnassociateNetworkAcl UnassociateNetworkAcl update

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:DescribeEcGrantRelation DescribeEcGrantRelation list

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}

None None
vpc:UnassociateHaVip UnassociateHaVip delete

*Instance

acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

None None
vpc:ListTrafficMirrorFilters ListTrafficMirrorFilters list

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*

None None
vpc:AddSourcesToTrafficMirrorSession AddSourcesToTrafficMirrorSession update

*TrafficMirrorSession

acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}

None None
vpc:GetVpcGatewayEndpointAttribute GetVpcGatewayEndpointAttribute get

*GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

None None
vpc:ReplaceVpcDhcpOptionsSet ReplaceVpcDhcpOptionsSet update

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:CreateTrafficMirrorFilter CreateTrafficMirrorFilter create

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*

None None
vpc:ConnectRouterInterface ConnectRouterInterface update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:DescribeIpv6Addresses DescribeIpv6Addresses list

*Ipv6InternetBandwidth

acs:vpc:{#regionId}:{#accountId}:vpc/*

None None
vpc:ListVpcGatewayEndpoints ListVpcGatewayEndpoints list

GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*

GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

None None
vpc:DescribeRouteEntryList DescribeRouteEntryList get

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:ModifyVRouterAttribute ModifyVRouterAttribute update

*VRouter

acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}

None None
vpc:DescribeVSwitchAttributes DescribeVSwitchAttributes get

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:ListPrefixLists ListPrefixLists list

PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/*

None None
vpc:GetRouteTargetGroup GetRouteTargetGroup get

*RouteTargetGroup

acs:vpc:{#regionId}:{#accountId}:routetargetgroup/{#RouteTargetGroupId}

None None
vpc:CreateVpcPrefixList CreateVpcPrefixList create

*PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/*

None None
vpc:CreateRouteTargetGroup CreateRouteTargetGroup create

*RouteTargetGroup

acs:vpc:{#regionId}:{#accountId}:routetargetgroup/*

None None
vpc:ModifyRouteTableAttributes ModifyRouteTableAttributes update

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

vpc:VRouter

None
vpc:CreateIpv6Gateway CreateIpv6Gateway create

*Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*

None None
vpc:CreateIpv6EgressOnlyRule CreateIpv6EgressOnlyRule create

*Ipv6EgressRule

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:DeleteIpv6InternetBandwidth DeleteIpv6InternetBandwidth delete

*Ipv6InternetBandwidth

acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}

None None
vpc:SwitchActiveRouteTarget SwitchActiveRouteTarget update

*RouteTargetGroup

acs:vpc:{#regionId}:{#accountId}:routetargetgroup/{#RouteTargetGroupId}

None None
vpc:AssociateVpcCidrBlock AssociateVpcCidrBlock create

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:DeleteRouteEntries DeleteRouteEntries delete

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}

None None
vpc:AssociateRouteTable AssociateRouteTable update

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#vswitchId}

None None
vpc:ListGatewayRouteTableEntries ListGatewayRouteTableEntries list

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}

None None
vpc:DeleteIpv6EgressOnlyRule DeleteIpv6EgressOnlyRule delete

*Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:RevokeInstanceFromVbr RevokeInstanceFromVbr update

*VPC

acs:vpc:{#regionId}:{#AccountId}:vpc/{#VpcId}

None None
vpc:DeleteVpcPrefixList DeleteVpcPrefixList delete

*PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

None None
vpc:TagResourcesForExpressConnect TagResourcesForExpressConnect update

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

*TrafficQos

acs:vpc:{#regionId}:{#accountId}:trafficqos/{#QosId}

None None
vpc:DescribeTags DescribeTags get

*All Resource

*

vpc:tag

None
vpc:DescribeGrantRulesToCen DescribeGrantRulesToCen get

VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#InstanceId}

GrantRuleToCen

acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}

None None
vpc:UnassociateVpcCidrBlock UnassociateVpcCidrBlock delete

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:EnableVpcClassicLink EnableVpcClassicLink update

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:CreateTrafficMirrorSession CreateTrafficMirrorSession create

*TrafficMirrorSession

acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:CreateTrafficMirrorFilterRules CreateTrafficMirrorFilterRules create

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:GetTrafficMirrorServiceStatus GetTrafficMirrorServiceStatus get

*All Resource

*

None None
vpc:AssociateNetworkAcl AssociateNetworkAcl update

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:GetDhcpOptionsSet GetDhcpOptionsSet get

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

None None
vpc:DescribeVSwitches DescribeVSwitches list

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/*

vpc:VPC

None
vpc:CreateRouteEntry CreateRouteEntry create

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:AllocateVpcIpv6Cidr AllocateVpcIpv6Cidr none

*All Resource

*

None None
vpc:ActivateRouterInterface ActivateRouterInterface update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:WithdrawVpcPublishedRouteEntries WithdrawVpcPublishedRouteEntries update

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:DeleteTrafficMirrorFilterRules DeleteTrafficMirrorFilterRules delete

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:DescribeIpv6Gateways DescribeIpv6Gateways get

Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*

Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:DescribeIpv6GatewayAttribute DescribeIpv6GatewayAttribute get

*Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:AllocateIpv6InternetBandwidth AllocateIpv6InternetBandwidth create

*Ipv6InternetBandwidth

acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/*

None None
vpc:CreateFlowLog CreateFlowLog create

VSwitch

acs:vpc:{#regionid}:{#accountId}:vswitch/{#VSwitchId}

*FlowLog

acs:vpc:{#regionId}:{#accountId}:flowlog/*

VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:GetVpcRouteEntrySummary GetVpcRouteEntrySummary list

RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}

None None
vpc:DescribeTagKeys DescribeTagKeys get

*All Resource

*

None None
vpc:DeleteFlowLog DeleteFlowLog delete

*FlowLog

acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}

None None
vpc:DescribeHaVips DescribeHaVips get

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/*

None None
vpc:ModifyVpcAttribute ModifyVpcAttribute update

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

vpc:tag

None
vpc:ModifyVSwitchCidrReservationAttribute ModifyVSwitchCidrReservationAttribute update

*VSwitchCidrReservation

acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}

None None
vpc:CreateVpc CreateVpc create

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/*

None None
vpc:ModifyIpv6InternetBandwidth ModifyIpv6InternetBandwidth update

*Ipv6InternetBandwidth

acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}

None None
vpc:ModifyVSwitchAttribute ModifyVSwitchAttribute update

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:DescribeIpv6EgressOnlyRules DescribeIpv6EgressOnlyRules get

*Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:UpdateGatewayRouteTableEntryAttribute UpdateGatewayRouteTableEntryAttribute update

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:AssociateHaVip AssociateHaVip create

*Instance

acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

None None
vpc:ListVpcEndpointServicesByEndUser ListVpcEndpointServicesByEndUser list

*All Resource

*

None None
vpc:UpdateNetworkAclEntries UpdateNetworkAclEntries update

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

None None
vpc:UnassociateRouteTable UnassociateRouteTable update

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:CreateNetworkAcl CreateNetworkAcl create

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/*

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:ModifyIpv6GatewayAttribute ModifyIpv6GatewayAttribute update

*Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:AssociateRouteTablesWithVpcGatewayEndpoint AssociateRouteTablesWithVpcGatewayEndpoint create

*GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

None None
vpc:DescribeRouteTableList DescribeRouteTableList list

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/*

vpc:VRouter

vpc:VBR

None
vpc:ActiveFlowLog ActiveFlowLog update

*FlowLog

acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}

None None
vpc:TagResources TagResources update

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:ListVpcPublishedRouteEntries ListVpcPublishedRouteEntries list

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:CheckCanAllocateVpcPrivateIpAddress CheckCanAllocateVpcPrivateIpAddress none

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:DeleteVpc DeleteVpc delete

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

vpc:tag

None
vpc:UpdateTrafficMirrorFilterAttribute UpdateTrafficMirrorFilterAttribute update

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:DeletionProtection DeletionProtection delete

*Address

acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}

None None
vpc:DeleteNetworkAcl DeleteNetworkAcl delete

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

None None
vpc:DescribeRouterInterfaceAttribute DescribeRouterInterfaceAttribute get

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:OpenFlowLogService OpenFlowLogService create

*FlowLogService

acs:vpc:{#regionId}:{#accountId}:flowlog/*

None None
vpc:CreateRouteTable CreateRouteTable create

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/*

None None
vpc:UnTagResources UnTagResources update

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:DissociateRouteTableFromGateway DissociateRouteTableFromGateway get

*Ipv4Gateway

acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}

None None
vpc:GrantInstanceToCen GrantInstanceToCen update

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:CreateRouterInterface CreateRouterInterface create

*VirtualBorderRouter

acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/*

vpc:TargetAccountRDId

None
vpc:AssociateRouteTableWithGateway AssociateRouteTableWithGateway create

*Ipv4Gateway

acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}

None None
vpc:CopyNetworkAclEntries CopyNetworkAclEntries update

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

None None
vpc:CreateVSwitch CreateVSwitch create

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/*

vpc:tag

None
vpc:DescribeTagKeysForExpressConnect DescribeTagKeysForExpressConnect list

*All Resource

*

None None
vpc:DescribeRouteTables DescribeRouteTables list

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

vpc:VBR

vpc:VRouter

None
vpc:ChangeResourceGroup ChangeResourceGroup update

*All Resource

*

None None
vpc:DeleteIpv6Gateway DeleteIpv6Gateway delete

*Ipv6Gateway

acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}

None None
vpc:AllocateIpv6Address AllocateIpv6Address create

*Ipv6Address

acs:vpc:{#regionId}:{#accountId}:ipv6address/*

None None
vpc:DescribeRouterInterfaces DescribeRouterInterfaces list

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:GetVpcPrefixListEntries GetVpcPrefixListEntries get

*PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

None None
vpc:UpdateRouteTargetGroup UpdateRouteTargetGroup update

*RouteTargetGroup

acs:vpc:{#regionId}:{#accountId}:routetargetgroup/{#RouteTargetGroupId}

None None
vpc:DeleteRouteEntry DeleteRouteEntry delete

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:DetachDhcpOptionsSetFromVpc DetachDhcpOptionsSetFromVpc update

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:DissociateRouteTablesFromVpcGatewayEndpoint DissociateRouteTablesFromVpcGatewayEndpoint delete

*GatewayEndpoint

acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}

None None
vpc:DescribeVpcs DescribeVpcs list

VPC

acs:vpc:{#regionId}:{#accountId}:vpc/*

VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VPCId}

vpc:tag

None
vpc:CreateRouteEntries CreateRouteEntries create

*RouteEntry

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:ListDhcpOptionsSets ListDhcpOptionsSets get

DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*

DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

None None
vpc:RetryVpcPrefixListAssociation RetryVpcPrefixListAssociation update

*PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

None None
vpc:DeleteDhcpOptionsSet DeleteDhcpOptionsSet delete

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

None None
vpc:CreateDhcpOptionsSet CreateDhcpOptionsSet create

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*

None None
vpc:DeleteRouterInterface DeleteExpressConnect delete

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:DescribeNetworkAclAttributes DescribeNetworkAclAttributes get

*NetworkAcl

acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}

None None
vpc:DeactivateRouterInterface DeactivateRouterInterface update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:GetVpcPrefixListAssociations GetVpcPrefixListAssociations get

*PrefixList

acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}

None None
vpc:DeleteVSwitchCidrReservation DeleteVSwitchCidrReservation delete

*VSwitchCidrReservation

acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}

None None
vpc:DeleteTrafficMirrorSession DeleteTrafficMirrorSession delete

*TrafficMirrorSession

acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}

None None
vpc:ModifyHaVipAttribute ModifyHaVipAttribute update

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

None None
vpc:UpdateTrafficMirrorFilterRuleAttribute UpdateTrafficMirrorFilterRuleAttribute update

*TrafficMirrorFilter

acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}

None None
vpc:DeleteRouteTable DeleteRouteTable delete

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:DeleteVSwitch DeleteVSwitch delete

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:PublishVpcRouteEntries PublishVpcRouteEntries update

*RouteTable

acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

None None
vpc:RemoveSourcesFromTrafficMirrorSession RemoveSourcesFromTrafficMirrorSession update

*TrafficMirrorSession

acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}

None None
vpc:CreateDefaultVpc CreateDefaultVpc create

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/*

None None
vpc:ModifyRouterInterfaceSpec ModifyRouterInterfaceSpec update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:ModifyFlowLogAttribute ModifyFlowLogAttribute update

*FlowLog

acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}

None None
vpc:ModifyIpv6AddressAttribute ModifyIpv6AddressAttribute update

*VPC

acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}

None None
vpc:UpdateDhcpOptionsSetAttribute UpdateDhcpOptionsSetAttribute update

*DhcpOptionsSet

acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}

None None
vpc:CreateVSwitchCidrReservation CreateVSwitchCidrReservation create

*VSwitchCidrReservation

acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*

None None
vpc:DeleteHaVip DeleteHaVip delete

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

None None
vpc:DeleteRouterInterface DeleteRouterInterface delete

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

None None
vpc:GetVSwitchCidrReservationUsage GetVSwitchCidrReservationUsage get

*VSwitchCidrReservation

acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}

None None
vpc:DeleteRouteTargetGroup DeleteRouteTargetGroup delete

*All Resource

*

None None
vpc:ListTagResourcesForExpressConnect ListTagResourcesForExpressConnect list

*PhysicalConnection

acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}

*VirtualBorderRouter

acs:vpc:{#regionId}:{#AccountId}:virtualborderrouter/{#VbrId}

*RouterInterface

acs:vpc:{#regionId}:{#AccountId}:routerinterface/{#RouterInterfaceId}

*TrafficQos

acs:vpc:{#regionId}:{#accountId}:trafficqos/{#QosId}

None None
vpc:CreateHaVip CreateHaVip create

*HaVip

acs:vpc:{#regionId}:{#accountId}:havip/*

*VSwitch

acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}

None None
vpc:ModifyRouterInterfaceAttribute ModifyRouterInterfaceAttribute update

*RouterInterface

acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}

vpc:TargetAccountRDId

None
vpc:DeactiveFlowLog DeactiveFlowLog update

*FlowLog

acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}

None None

Resource

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

  • In an ARN, {#} indicates a variable that you must replace with an actual value. For example, replace {#ramcode} with the actual RAM code of the cloud service.

  • In an ARN, * means all. For example:

    • {#resourceType}/*: All resources.

    • When {#regionId} is *, all regions are included.

    • When {#accountId} is set to *, it specifies all Alibaba Cloud accounts.

Resource type

ARN

GatewayEndpoint
  • acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
  • acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*
VirtualBorderRouter
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#virtualborderrouterId}
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
  • acs:vpc:*:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
  • acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#InstanceId}
  • acs:vpc:{#regionId}:{#AccountId}:virtualborderrouter/*
TrafficMirrorService
  • acs:vpc:{#regionId}:{#accountId}:trafficmirror/*
Address
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
  • acs:vpc:{#regionId}:{#accountId}:eip/*
PublicIpAddressPool
  • acs:vpc:{#regionId}:{#accountId}:publicipaddresspool/{#PublicIpAddressPoolId}
  • acs:vpc:{#regionId}:{#accountId}:publicipaddresspool/*
VpnGateway
  • acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:vpngateway/{#VpnGatewayId}
  • acs:vpc:{#Region}:{#AccountId}:vpngateway/{#VpnInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:vpngateway/*
  • acs:vpc:{#regionId}:{#accountId}:
PhysicalConnection
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/{#PhysicalConnectionId}
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/*
PrefixList
  • acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
  • acs:vpc:{#regionId}:{#accountId}:prefixlist/*
FullNat
  • acs:vpc:{#regionId}:{#accountId}:vpcfullnattable/{#FullNatTableId}
TrafficMirrorSession
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
VPC
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
  • acs:vpc:{#regionId}:{#accountId}:vpc/*
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}
ForwardTable
  • acs:vpc:{#regionId}:{#accountId}:forwardtable/{#ForwardTableId}
Ipv4Gateway
  • acs:vpc:{#regionId}:{#accountId}:ipv4gateway/*
  • acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#Ipv4GatewayId}
IPv6Translator
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/*
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/{#IPv6TranslatorId}
RouteTable
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTable}
  • acs:vpc:{#regionId}:{#accountId}:routetable/*
RouterInterface
  • acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
  • acs:vpc:{#regionId}:{#accountId}:routerinterface/*
TrafficQos
  • acs:vpc:{#regionId}:{#accountId}:trafficqos/{#QosId}
  • acs:vpc:{#regionId}:{#accountId}:TrafficQos/*
Ipv6Translator
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/{#Ipv6TranslatorId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6trans/*
VSwitchCidrReservation
  • acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*
  • acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
Ipv6Address
  • acs:vpc:{#regionId}:{#accountId}:ipv6address/{#Ipv6AddressId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6address/*
VpnConnections
  • acs:vpc:{#regionId}:{#accountId}:vpnconnection/{#VpnConnectionId}
SslVpnClientCert
  • acs:vpc:{#regionId}:{#accountId}:sslvpnclientcert/{#SslVpnClientCertId}
  • acs:vpc:{#regionId}:{#accountId}:sslvpnclientcert/*
BandwidthPackage
  • acs:vpc:{#regionId}:{#accountId}:bandwidthpackage/{#BandwidthPackageId}
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#BandwidthPackageId}
Eip
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
  • acs:vpc:{#regionId}:{#accountId}:eip/{#EipId}
DhcpOptionsSet
  • acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
  • acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*
FlowLog
  • acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
  • acs:vpc:{#regionId}:{#accountId}:flowlog/*
HaVip
  • acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
  • acs:vpc:{#regionId}:{#accountId}:havip/*
Ipv6Gateway
  • acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*
TrafficMirrorFilter
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
  • acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*
SegmentAddress
  • acs:vpc:{#regionId}:{#accountId}:eip/*
  • acs:eip:{#regionId}:{#accountId}:eipsegment/{#SegmentInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
VpnConnection
  • acs:vpc:{#regionId}:{#accountId}:*
  • acs:vpc:{#regionId}:{#accountId}:vpnconnection/{#VpnConnectionId}
  • acs:vpc:{#regionId}:{#accountId}:vpnconnection/*
  • acs:vpc:{#Region}:{#AccountId}:vpnconnection/{#VpnConnectionId}
SnatTable
  • acs:vpc:{#regionId}:{#accountId}:snattable/{#SnatTableId}
VRouter
  • acs:vpc:{#regionId}:{#accountId}:vrouter/*
  • acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}
RouteTargetGroup
  • acs:vpc:{#regionId}:{#accountId}:routetargetgroup/*
  • acs:vpc:{#regionId}:{#accountId}:routetargetgroup/{#RouteTargetGroupId}
NetworkAcl
  • acs:vpc:{#regionId}:{#accountId}:networkacl/*
  • acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
GlobalAccelerationInstance
  • acs:vpc:{#regionId}:{#accountId}:globalaccelerationinstance/{#GlobalAccelerationInstanceId}
  • acs:vpc:{#regionId}:{#accountId}:globalaccelerationinstance/*
  • acs:vpc:{#regionId}:{#accountId}:GlobalAccelerationInstance/*
IpsecServer
  • acs:vpc:{#Region}:{#AccountId}: vpnipsecserver/{#IpsecServerId}
  • acs:vpc:{#regionId}:{#accountId}:ipsecserver/*
  • acs:vpc:{#regionId}:{#accountId}: vpnipsecserver/{#IpsecServerId}
  • acs:vpc:{#regionId}:{#accountId}:vpnipsecserver/{#IpsecServerId}
NatGateway
  • acs:vpc:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
  • acs:vpc:{#regionId}:{#accountId}:natgateway/*
  • acs:natgateway:{#regionId}:{#accountId}:natgateway/{#NatGatewayId}
VSwitch
  • acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
  • acs:vpc:{#regionid}:{#accountId}:vswitch/*
Instance
  • acs:ecs:{#regionId}:{#accountId}:instance/{#Instanceid}
  • acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
  • acs:ecs:{#regionId}:{#accountId}:instance/*
FlowLogService
  • acs:vpc:{#regionId}:{#accountId}:flowlog/*
SslVpnServer
  • acs:vpc:{#regionId}:{#accountId}:sslvpnserver/{#SslVpnServerId}
  • acs:vpc:{#regionId}:{#accountId}:sslvpnserver/*
  • acs:vpc:{#Region}:{#AccountId}:sslvpnserver/{#SslVpnServerId}
GatewayInfo
  • acs:vpc:{#regionId}:{#accountId}:eip/*
VpnCertificateAttachment
  • acs:vpc:{#regionId}:{#accountId}:vpncertificateattachment/{#VpnGatewayId}/{#CertificateType}/{#CertificateId}
Ipv6InternetBandwidth
  • acs:vpc:{#regionId}:{#accountId}:vpc/*
  • acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
  • acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/*
Ipv6EgressRule
  • acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
CommonBandwidthPackage
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/*
  • acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/{#CommonBandwidthPackageId}
CustomerGateway
  • acs:vpc:{#regionId}:{#accountId}:customergateway/{#CustomerGatewayId}
  • acs:vpc:{#Region}:{#AccountId}:customergateway/{#CustomerGatewayId}
  • acs:vpc:{#regionId}:{#accountId}:customergateway/*
GrantRuleToCen
  • acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}
SnatEntry
  • acs:vpc:{#regionId}:{#accountId}:snattable/*
PublicIpAddressPoolService
  • acs:vpc:{#regionId}:{#accountId}:publicipaddresspoolservice/*
physicalconnection
  • acs:vpc:{#regionId}:{#accountId}:physicalconnection/*
VpnAttachment
  • acs:vpc:{#Region}:{#AccountId}:vpnattachment/{#VpnConnectionId}
RouteEntry
  • acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
Association
  • acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}

Condition

The following table lists the product-level condition keys defined by Virtual Private Cloud. 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

vpc:VRouter The vRouter information. String
vpc:VPC The VPC information. String
vpc:tag The tags of the VPC. String
vpc:TargetAccountRDId The resource directory ID information of the peer user. String
vpc:PhysicalConnection The Express Connect circuit information. String
vpc:VBR The Virtual Border Router information. String

References

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