授权信息

更新时间:2025-03-21 10:52:26
访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用RAM可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM中使用权限策略描述授权的具体内容。
本文为您介绍专有网络VPCRAM权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。专有网络VPCRAM代码(RamCode)为 vpc,支持的授权粒度为资源级

权限策略通用结构

权限策略支持JSON格式,其通用结构如下:
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "<Effect>",
      "Action": "<Action>",
      "Resource": "<Resource>",
      "Condition": {
        "<Condition_operator>": {
          "<Condition_key>": [
            "<Condition_value>"
          ]
        }
      }
    }
  ]
}
各字段含义如下:
  • Effect:权限策略效果。取值:Allow(允许)、Deny(拒绝)。
  • Action:授予允许或拒绝权限的具体操作。具体信息,请参见操作(Action)
  • Resource:受操作影响的具体对象,您可以使用资源ARN来描述指定资源。具体信息,请参见资源(Resource)
  • Condition:指授权生效的条件。可选字段。具体信息,请参见条件(Condition)
    • Condition_operator:条件运算符,不同类型的条件对应不同的条件运算符。具体信息,请参见权限策略基本元素
    • Condition_key:条件关键字。
    • Condition_value:条件关键字对应的值。

操作(Action)

下表是专有网络VPC定义的操作,这些操作可以在RAM权限策略语句的Action元素中使用,用来授予执行该操作的权限。下面对表中的具体项提供说明:
  • 操作:是指具体的权限点。
  • API:是指操作对应的API接口。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。该列不体现适用于任何操作的通用条件关键字
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作API访问级别资源类型条件关键字关联操作
操作API访问级别资源类型条件关键字关联操作
vpc:ActivateRouterInterfaceActivateRouterInterfaceupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:ActiveFlowLogActiveFlowLogupdate
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
vpc:AddSourcesToTrafficMirrorSessionAddSourcesToTrafficMirrorSessionupdate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
vpc:AllocateIpv6AddressAllocateIpv6Addresscreate
*Ipv6Address
acs:vpc:{#regionId}:{#accountId}:ipv6address/*
vpc:AllocateIpv6InternetBandwidthAllocateIpv6InternetBandwidthcreate
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/*
vpc:AllocateVpcIpv6CidrAllocateVpcIpv6Cidrnone
*全部资源
*
vpc:AssociateHaVipAssociateHaVipcreate
*Instance
acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
vpc:AssociateNetworkAclAssociateNetworkAclupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:AssociateRouteTableAssociateRouteTableupdate
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#vswitchId}
vpc:AssociateRouteTableWithGatewayAssociateRouteTableWithGatewaycreate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
vpc:AssociateRouteTablesWithVpcGatewayEndpointAssociateRouteTablesWithVpcGatewayEndpointcreate
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
vpc:AssociateVpcCidrBlockAssociateVpcCidrBlockcreate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:AttachDhcpOptionsSetToVpcAttachDhcpOptionsSetToVpcupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:ChangeResourceGroupChangeResourceGroupupdate
*全部资源
*
vpc:CheckCanAllocateVpcPrivateIpAddressCheckCanAllocateVpcPrivateIpAddressnone
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:ConnectRouterInterfaceConnectRouterInterfaceupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:CopyNetworkAclEntriesCopyNetworkAclEntriesupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
vpc:CreateDefaultVSwitchCreateDefaultVSwitchWrite
*VSwitch
acs:vpc:{#regionid}:{#accountId}:vswitch/*
vpc:CreateDefaultVpcCreateDefaultVpcWrite
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/*
vpc:CreateDhcpOptionsSetCreateDhcpOptionsSetcreate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*
vpc:CreateFlowLogCreateFlowLogcreate
VSwitch
acs:vpc:{#regionid}:{#accountId}:vswitch/{#VSwitchId}
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/*
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:CreateHaVipCreateHaVipcreate
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/*
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:CreateIpv4GatewayCreateIpv4Gatewaycreate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/*
vpc:CreateIpv6EgressOnlyRuleCreateIpv6EgressOnlyRulecreate
*Ipv6EgressRule
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:CreateIpv6GatewayCreateIpv6Gatewaycreate
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*
vpc:CreateNetworkAclCreateNetworkAclcreate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/*
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:CreateRouteEntriesCreateRouteEntriescreate
*RouteEntry
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:CreateRouteEntryCreateRouteEntrycreate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:CreateRouteTableCreateRouteTablecreate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/*
vpc:CreateRouterInterfaceCreateRouterInterfacecreate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/*
vpc:TargetAccountRDId
vpc:CreateTrafficMirrorFilterCreateTrafficMirrorFiltercreate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*
vpc:CreateTrafficMirrorFilterRulesCreateTrafficMirrorFilterRulescreate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:CreateTrafficMirrorSessionCreateTrafficMirrorSessioncreate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:CreateVSwitchCreateVSwitchcreate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/*
vpc:tag
vpc:CreateVSwitchCidrReservationCreateVSwitchCidrReservationcreate
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*
vpc:CreateVpcCreateVpccreate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/*
vpc:CreateVpcGatewayEndpointCreateVpcGatewayEndpointcreate
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*
vpc:CreateVpcPrefixListCreateVpcPrefixListcreate
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/*
vpc:DeactivateRouterInterfaceDeactivateRouterInterfaceupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:DeactiveFlowLogDeactiveFlowLogupdate
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
vpc:DeleteDhcpOptionsSetDeleteDhcpOptionsSetdelete
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
vpc:DeleteFlowLogDeleteFlowLogdelete
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
vpc:DeleteHaVipDeleteHaVipdelete
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
vpc:DeleteIpv4GatewayDeleteIpv4Gatewaydelete
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
vpc:DeleteIpv6EgressOnlyRuleDeleteIpv6EgressOnlyRuledelete
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:DeleteIpv6GatewayDeleteIpv6Gatewaydelete
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:DeleteIpv6InternetBandwidthDeleteIpv6InternetBandwidthdelete
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
vpc:DeleteNetworkAclDeleteNetworkAcldelete
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
vpc:DeleteRouteEntriesDeleteRouteEntriesdelete
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
vpc:DeleteRouteEntryDeleteRouteEntrydelete
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:DeleteRouteTableDeleteRouteTabledelete
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:DeleteRouterInterfaceDeleteRouterInterfacedelete
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:DeleteTrafficMirrorFilterDeleteTrafficMirrorFilterdelete
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:DeleteTrafficMirrorFilterRulesDeleteTrafficMirrorFilterRulesdelete
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:DeleteTrafficMirrorSessionDeleteTrafficMirrorSessiondelete
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
vpc:DeleteVSwitchDeleteVSwitchdelete
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:DeleteVSwitchCidrReservationDeleteVSwitchCidrReservationdelete
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
vpc:DeleteVpcDeleteVpcdelete
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag
vpc:DeleteVpcGatewayEndpointDeleteVpcGatewayEndpointdelete
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
vpc:DeleteVpcPrefixListDeleteVpcPrefixListdelete
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
vpc:DeletionProtectionDeletionProtectiondelete
*Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
vpc:DescribeEcGrantRelationDescribeEcGrantRelationlist
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VbrId}
vpc:DescribeFlowLogsDescribeFlowLogsget
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/*
vpc:DescribeGrantRulesToCenDescribeGrantRulesToCenget
VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#InstanceId}
GrantRuleToCen
acs:vpc:{#regionId}:{#accountId}:vpc/{#InstanceId}
vpc:DescribeHaVipsDescribeHaVipsget
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/*
vpc:DescribeIpv6AddressesDescribeIpv6Addresseslist
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:vpc/*
vpc:DescribeIpv6EgressOnlyRulesDescribeIpv6EgressOnlyRulesget
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:DescribeIpv6GatewayAttributeDescribeIpv6GatewayAttributeget
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:DescribeIpv6GatewaysDescribeIpv6Gatewaysget
Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/*
Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:DescribeNetworkAclAttributesDescribeNetworkAclAttributesget
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
vpc:DescribeNetworkAclsDescribeNetworkAclslist
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/*
vpc:DescribeRouteEntryListDescribeRouteEntryListget
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:DescribeRouteTableListDescribeRouteTableListlist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/*
vpc:VRouter
vpc:VBR
vpc:DescribeRouteTablesDescribeRouteTableslist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:VBR
vpc:VRouter
vpc:DescribeRouterInterfaceAttributeDescribeRouterInterfaceAttributeget
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:DescribeRouterInterfacesDescribeRouterInterfaceslist
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:DescribeSslVpnServersDescribeSslVpnServerslist
SslVpnServer
acs:vpc:{#regionId}:{#accountId}:sslvpnserver/*
SslVpnServer
acs:vpc:{#regionId}:{#accountId}:sslvpnserver/{#SslVpnServerId}
vpc:DescribeTagKeysDescribeTagKeysget
*全部资源
*
vpc:DescribeTagKeysForExpressConnectDescribeTagKeysForExpressConnectlist
*全部资源
*
vpc:DescribeTagsDescribeTagsget
*全部资源
*
vpc:tag
vpc:DescribeVRoutersDescribeVRouterslist
*VRouter
acs:vpc:{#regionId}:{#accountId}:vrouter/*
vpc:VPC
vpc:DescribeVSwitchAttributesDescribeVSwitchAttributesget
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:DescribeVSwitchesDescribeVSwitcheslist
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/*
vpc:VPC
vpc:DescribeVpcAttributeDescribeVpcAttributeget
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag
vpc:DescribeVpcsDescribeVpcslist
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/*
VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VPCId}
vpc:tag
vpc:DetachDhcpOptionsSetFromVpcDetachDhcpOptionsSetFromVpcupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:DisableVpcClassicLinkDisableVpcClassicLinkupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:DissociateRouteTableFromGatewayDissociateRouteTableFromGatewayget
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
vpc:DissociateRouteTablesFromVpcGatewayEndpointDissociateRouteTablesFromVpcGatewayEndpointdelete
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
vpc:EnableVpcClassicLinkEnableVpcClassicLinkupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:EnableVpcIpv4GatewayEnableVpcIpv4Gatewayupdate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
vpc:GetDhcpOptionsSetGetDhcpOptionsSetget
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
vpc:GetFlowLogServiceStatusGetFlowLogServiceStatusget
*FlowLogService
acs:vpc:{#regionId}:{#accountId}:flowlog/*
vpc:GetIpv4GatewayAttributeGetIpv4GatewayAttributeget
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#Ipv4GatewayId}
vpc:GetTrafficMirrorServiceStatusGetTrafficMirrorServiceStatusget
*全部资源
*
vpc:GetVSwitchCidrReservationUsageGetVSwitchCidrReservationUsageget
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
vpc:GetVpcGatewayEndpointAttributeGetVpcGatewayEndpointAttributeget
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
vpc:GetVpcPrefixListAssociationsGetVpcPrefixListAssociationsget
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
vpc:GetVpcPrefixListEntriesGetVpcPrefixListEntriesget
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
vpc:GetVpcRouteEntrySummaryGetVpcRouteEntrySummarylist
RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#vpcId}
vpc:GrantInstanceToCenGrantInstanceToCenupdate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:GrantInstanceToVbrGrantInstanceToVbrupdate
*VPC
acs:vpc:{#regionId}:{#AccountId}:vpc/{#VpcId}
vpc:ListDhcpOptionsSetsListDhcpOptionsSetsget
DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/*
DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
vpc:ListGatewayRouteTableEntriesListGatewayRouteTableEntrieslist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#routetableId}
vpc:ListIpv4GatewaysListIpv4Gatewayslist
Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/*
vpc:ListPrefixListsListPrefixListslist
PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/*
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
vpc:ListTagResourcesForExpressConnectListTagResourcesForExpressConnectlist
*全部资源
*
vpc:ListTrafficMirrorFiltersListTrafficMirrorFilterslist
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/*
vpc:ListTrafficMirrorSessionsListTrafficMirrorSessionslist
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/*
vpc:ListVSwitchCidrReservationsListVSwitchCidrReservationslist
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/*
vpc:ListVpcEndpointServicesByEndUserListVpcEndpointServicesByEndUserlist
*全部资源
*
vpc:ListVpcGatewayEndpointsListVpcGatewayEndpointslist
GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/*
GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
vpc:ListVpcPublishedRouteEntriesListVpcPublishedRouteEntrieslist
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:ModifyEipForwardModeModifyEipForwardModeupdate
*Address
acs:vpc:{#regionId}:{#accountId}:eip/{#AllocationId}
vpc:ModifyFlowLogAttributeModifyFlowLogAttributeupdate
*FlowLog
acs:vpc:{#regionId}:{#accountId}:flowlog/{#FlowLogId}
vpc:ModifyHaVipAttributeModifyHaVipAttributeupdate
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
vpc:ModifyIpv6AddressAttributeModifyIpv6AddressAttributeupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:ModifyIpv6GatewayAttributeModifyIpv6GatewayAttributeupdate
*Ipv6Gateway
acs:vpc:{#regionId}:{#accountId}:ipv6gateway/{#Ipv6GatewayId}
vpc:ModifyIpv6InternetBandwidthModifyIpv6InternetBandwidthupdate
*Ipv6InternetBandwidth
acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
vpc:ModifyNetworkAclAttributesModifyNetworkAclAttributesupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
vpc:ModifyRouteEntryModifyRouteEntryupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:ModifyRouteTableAttributesModifyRouteTableAttributesupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:VRouter
vpc:ModifyRouterInterfaceAttributeModifyRouterInterfaceAttributeupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:TargetAccountRDId
vpc:ModifyRouterInterfaceSpecModifyRouterInterfaceSpecupdate
*RouterInterface
acs:vpc:{#regionId}:{#accountId}:routerinterface/{#RouterInterfaceId}
vpc:ModifyVRouterAttributeModifyVRouterAttributeupdate
*VRouter
acs:vpc:{#regionId}:{#accountId}:vrouter/{#VRouterId}
vpc:ModifyVSwitchAttributeModifyVSwitchAttributeupdate
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:ModifyVSwitchCidrReservationAttributeModifyVSwitchCidrReservationAttributeupdate
*VSwitchCidrReservation
acs:vpc:{#regionId}:{#accountId}:vswitchcidrreservation/{#VSwitchCidrReservationId}
vpc:ModifyVpcAttributeModifyVpcAttributeupdate
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:tag
vpc:ModifyVpcPrefixListModifyVpcPrefixListupdate
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
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}
vpc:OpenFlowLogServiceOpenFlowLogServicecreate
*FlowLogService
acs:vpc:{#regionId}:{#accountId}:flowlog/*
vpc:OpenTrafficMirrorServiceOpenTrafficMirrorServicecreate
*全部资源
*
vpc:PublishVpcRouteEntriesPublishVpcRouteEntriesupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:ReleaseIpv6AddressReleaseIpv6Addressdelete
*Ipv6Address
acs:vpc:{#regionId}:{#accountId}:ipv6address/{#Ipv6AddressId}
vpc:RemoveSourcesFromTrafficMirrorSessionRemoveSourcesFromTrafficMirrorSessionupdate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
vpc:ReplaceVpcDhcpOptionsSetReplaceVpcDhcpOptionsSetupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:RetryVpcPrefixListAssociationRetryVpcPrefixListAssociationupdate
*PrefixList
acs:vpc:{#regionId}:{#accountId}:prefixlist/{#PrefixListId}
vpc:RevokeInstanceFromCenRevokeInstanceFromCenupdate
*VirtualBorderRouter
acs:vpc:{#regionId}:{#accountId}:virtualborderrouter/{#VirtualBorderRouterId}
vpc:RevokeInstanceFromVbrRevokeInstanceFromVbrupdate
*VPC
acs:vpc:{#regionId}:{#AccountId}:vpc/{#VpcId}
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
vpc:TagResourcesForExpressConnectTagResourcesForExpressConnectupdate
*全部资源
*
vpc:TransformEipSegmentToPublicIpAddressPoolTransformEipSegmentToPublicIpAddressPoolcreate
*全部资源
*
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
vpc:UnassociateHaVipUnassociateHaVipdelete
*Instance
acs:vpc:{#regionId}:{#accountId}:instance/{#InstanceId}
*HaVip
acs:vpc:{#regionId}:{#accountId}:havip/{#HaVipId}
vpc:UnassociateNetworkAclUnassociateNetworkAclupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:UnassociateRouteTableUnassociateRouteTableupdate
*VSwitch
acs:vpc:{#regionId}:{#accountId}:vswitch/{#VSwitchId}
vpc:UnassociateVpcCidrBlockUnassociateVpcCidrBlockdelete
*VPC
acs:vpc:{#regionId}:{#accountId}:vpc/{#VpcId}
vpc:UntagResourcesForExpressConnectUntagResourcesForExpressConnectupdate
*全部资源
*
vpc:UpdateDhcpOptionsSetAttributeUpdateDhcpOptionsSetAttributeupdate
*DhcpOptionsSet
acs:vpc:{#regionId}:{#accountId}:dhcpoptionsset/{#DhcpOptionsSetId}
vpc:UpdateGatewayRouteTableEntryAttributeUpdateGatewayRouteTableEntryAttributeupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}
vpc:UpdateIpv4GatewayAttributeUpdateIpv4GatewayAttributeupdate
*Ipv4Gateway
acs:vpc:{#regionId}:{#accountId}:ipv4gateway/{#ipv4gatewayId}
vpc:UpdateNetworkAclEntriesUpdateNetworkAclEntriesupdate
*NetworkAcl
acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
vpc:UpdateTrafficMirrorFilterAttributeUpdateTrafficMirrorFilterAttributeupdate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:UpdateTrafficMirrorFilterRuleAttributeUpdateTrafficMirrorFilterRuleAttributeupdate
*TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:UpdateTrafficMirrorSessionAttributeUpdateTrafficMirrorSessionAttributeupdate
*TrafficMirrorSession
acs:vpc:{#regionId}:{#accountId}:trafficmirrorsession/{#TrafficMirrorSessionId}
TrafficMirrorFilter
acs:vpc:{#regionId}:{#accountId}:trafficmirrorfilter/{#TrafficMirrorFilterId}
vpc:UpdateVpcGatewayEndpointAttributeUpdateVpcGatewayEndpointAttributeupdate
*GatewayEndpoint
acs:vpc:{#regionId}:{#accountId}:gatewayendpoint/{#GatewayEndpointId}
vpc:WithdrawVpcPublishedRouteEntriesWithdrawVpcPublishedRouteEntriesupdate
*RouteTable
acs:vpc:{#regionId}:{#accountId}:routetable/{#RouteTableId}

资源(Resource)

下表是专有网络VPC定义的资源,这些资源可以在RAM权限策略语句的Resource元素中使用,用来授予对该资源执行具体操作的权限。 其中,资源ARN是资源在阿里云上的唯一标识。具体说明如下:
  • {#}为变量标识,需要您替换为实际值。例如:{#ramcode}需要您替换为实际的云服务RAM代码。
  • *表示全部。例如:
    • {#resourceType}*时:表示全部资源。
    • {#regionId}*时:表示全部地域。
    • {#accountId}*时:表示全部阿里云账号。
资源类型资源ARN
资源类型资源ARN
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/*
  • acs:vpc:{#regionId}:{#accountId}:networkacl/{#NetworkAclId}
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定义的产品级条件关键字,这些条件关键字可以在RAM权限策略语句的Condition元素中使用,用来描述授予权限的条件。以下仅列举产品级的条件关键字,阿里云定义的通用条件关键字也同样适用专有网络VPC
其中,数据类型决定了您可以使用哪些条件运算符将请求中的值与权限策略语句中的值进行比较。您必须使用与数据类型匹配的条件运算符,否则无法匹配策略语句,授权行为无效。数据类型与条件运算符的对应关系,请参见条件操作类型
条件关键字描述类型
条件关键字描述类型
vpc:PhysicalConnection物理专线信息String
vpc:TargetAccountRDId对端用户资源目录ID信息String
vpc:VBR边界路由器信息String
vpc:VPCVPC信息String
vpc:VRouter路由器信息String
vpc:tagVPC的标签String

相关操作

您可以创建自定义权限策略,并将权限策略授予RAM用户、RAM用户组或RAM角色。具体操作如下:
  • 本页导读 (1)
  • 权限策略通用结构
  • 操作(Action)
  • 资源(Resource)
  • 条件(Condition)
  • 相关操作
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等