访问控制(RAM)是阿里云提供的管理用户身份与资源访问权限的服务。使用 RAM 可以让您避免与其他用户共享阿里云账号密钥,并可按需为用户授予最小权限。RAM 中使用权限策略描述授权的具体内容。
本文为您介绍 专有网络VPC 为 RAM 权限策略定义的操作(Action)、资源(Resource)和条件(Condition)。 专有网络VPC 的 RAM 代码(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 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
| vpc:DescribeFlowLogs | DescribeFlowLogs | get |
*FlowLog
|
无 | 无 |
| vpc:OpenFlowLogService | OpenFlowLogService | create |
*FlowLogService
|
无 | 无 |
| vpc:ChangeResourceGroup | ChangeResourceGroup | update |
*全部资源
|
无 | 无 |
| vpc:AllocateVpcIpv6Cidr | AllocateVpcIpv6Cidr | none |
*全部资源
|
无 | 无 |
| vpc:ModifyIpv6GatewayAttribute | ModifyIpv6GatewayAttribute | update |
*Ipv6Gateway
|
无 | 无 |
| vpc:CreateVpc | CreateVpc | create |
*VPC
|
无 | 无 |
| vpc:DescribeIpv6Gateways | DescribeIpv6Gateways | get |
Ipv6Gateway
Ipv6Gateway
|
无 | 无 |
| vpc:ModifyNetworkAclAttributes | ModifyNetworkAclAttributes | update |
*NetworkAcl
|
无 | 无 |
| vpc:DescribeRouterInterfaces | DescribeRouterInterfaces | list |
*RouterInterface
|
无 | 无 |
| vpc:DescribeVpcAttribute | DescribeVpcAttribute | get |
*VPC
|
vpc:tag |
无 |
| vpc:GetFlowLogServiceStatus | GetFlowLogServiceStatus | get |
*FlowLogService
|
无 | 无 |
| vpc:ListTagResourcesForExpressConnect | ListTagResourcesForExpressConnect | list |
*全部资源
|
无 | 无 |
| vpc:ModifyRouteEntry | ModifyRouteEntry | update |
*RouteTable
|
无 | 无 |
| vpc:UnassociateRouteTable | UnassociateRouteTable | update |
*VSwitch
|
无 | 无 |
| vpc:ModifyRouteTableAttributes | ModifyRouteTableAttributes | update |
*RouteTable
|
vpc:VRouter |
无 |
| vpc:DeleteRouterInterface | DeleteRouterInterface | delete |
*RouterInterface
|
无 | 无 |
| vpc:CreateTrafficMirrorFilter | CreateTrafficMirrorFilter | create |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:ActiveFlowLog | ActiveFlowLog | update |
*FlowLog
|
无 | 无 |
| vpc:DescribeIpv6EgressOnlyRules | DescribeIpv6EgressOnlyRules | get |
*Ipv6Gateway
|
无 | 无 |
| vpc:DeactiveFlowLog | DeactiveFlowLog | update |
*FlowLog
|
无 | 无 |
| vpc:CreateDefaultVSwitch | CreateDefaultVSwitch | create |
*VSwitch
|
无 | 无 |
| vpc:AssociateRouteTablesWithVpcGatewayEndpoint | AssociateRouteTablesWithVpcGatewayEndpoint | create |
*GatewayEndpoint
|
无 | 无 |
| vpc:RevokeInstanceFromCen | RevokeInstanceFromCen | update |
*VirtualBorderRouter
|
无 | 无 |
| vpc:ListVpcPublishedRouteEntries | ListVpcPublishedRouteEntries | list |
*RouteTable
|
无 | 无 |
| vpc:DissociateRouteTablesFromVpcGatewayEndpoint | DissociateRouteTablesFromVpcGatewayEndpoint | delete |
*GatewayEndpoint
|
无 | 无 |
| vpc:UpdateRouteTargetGroup | UpdateRouteTargetGroup | update |
*RouteTargetGroup
|
无 | 无 |
| vpc:DeletionProtection | DeletionProtection | delete |
*Address
|
无 | 无 |
| vpc:GetVpcPrefixListEntries | GetVpcPrefixListEntries | get |
*PrefixList
|
无 | 无 |
| vpc:ListPrefixLists | ListPrefixLists | list |
PrefixList
|
无 | 无 |
| vpc:ListVpcEndpointServicesByEndUser | ListVpcEndpointServicesByEndUser | list |
*全部资源
|
无 | 无 |
| vpc:TagResourcesForExpressConnect | TagResourcesForExpressConnect | update |
*PhysicalConnection
*VirtualBorderRouter
*RouterInterface
*TrafficQos
|
无 | 无 |
| vpc:AssociateHaVip | AssociateHaVip | create |
*Instance
*HaVip
|
无 | 无 |
| vpc:CreateVpcGatewayEndpoint | CreateVpcGatewayEndpoint | create |
*GatewayEndpoint
|
无 | 无 |
| vpc:GetVpcRouteEntrySummary | GetVpcRouteEntrySummary | list |
RouteTable
*VPC
|
无 | 无 |
| vpc:ConnectRouterInterface | ConnectRouterInterface | update |
*RouterInterface
|
无 | 无 |
| vpc:CreateTrafficMirrorSession | CreateTrafficMirrorSession | create |
*TrafficMirrorSession
*TrafficMirrorFilter
|
无 | 无 |
| vpc:DeleteRouteTargetGroup | DeleteRouteTargetGroup | delete |
*全部资源
|
无 | 无 |
| vpc:CopyNetworkAclEntries | CopyNetworkAclEntries | update |
*NetworkAcl
|
无 | 无 |
| vpc:DeleteTrafficMirrorFilterRules | DeleteTrafficMirrorFilterRules | delete |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:DeleteVpcGatewayEndpoint | DeleteVpcGatewayEndpoint | delete |
*GatewayEndpoint
|
无 | 无 |
| vpc:CreateTrafficMirrorFilterRules | CreateTrafficMirrorFilterRules | create |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:DeleteHaVip | DeleteHaVip | delete |
*HaVip
|
无 | 无 |
| vpc:ListVpcGatewayEndpoints | ListVpcGatewayEndpoints | list |
GatewayEndpoint
GatewayEndpoint
|
无 | 无 |
| vpc:CreateNetworkAcl | CreateNetworkAcl | create |
*NetworkAcl
*VPC
|
无 | 无 |
| vpc:ListTagResources | ListTagResources | get |
BandwidthPackage
Address
NatGateway
RouteTable
VPC
VpnGateway
VSwitch
|
vpc:tag |
无 |
| vpc:MoveResourceGroup | MoveResourceGroup | update |
BandwidthPackage
Eip
VPC
PrefixList
GatewayEndpoint
DhcpOptionsSet
FlowLog
HaVip
Ipv4Gateway
Ipv6Gateway
PublicIpAddressPool
TrafficMirrorFilter
TrafficMirrorSession
|
无 | 无 |
| vpc:DeleteRouteEntry | DeleteRouteEntry | delete |
*RouteTable
|
无 | 无 |
| vpc:TagResources | TagResources | update |
BandwidthPackage
Address
NatGateway
RouteTable
VPC
VpnGateway
VSwitch
|
vpc:tag |
无 |
| vpc:RemoveSourcesFromTrafficMirrorSession | RemoveSourcesFromTrafficMirrorSession | update |
*TrafficMirrorSession
|
无 | 无 |
| vpc:OpenTrafficMirrorService | OpenTrafficMirrorService | create |
*全部资源
|
无 | 无 |
| vpc:UnassociateVpcCidrBlock | UnassociateVpcCidrBlock | delete |
*VPC
|
无 | 无 |
| vpc:ListGatewayRouteTableEntries | ListGatewayRouteTableEntries | list |
*RouteTable
|
无 | 无 |
| vpc:DescribeEcGrantRelation | DescribeEcGrantRelation | list |
*VirtualBorderRouter
|
无 | 无 |
| vpc:DeleteNetworkAcl | DeleteNetworkAcl | delete |
*NetworkAcl
|
无 | 无 |
| vpc:ModifyVpcPrefixList | ModifyVpcPrefixList | update |
*PrefixList
|
无 | 无 |
| vpc:UpdateDhcpOptionsSetAttribute | UpdateDhcpOptionsSetAttribute | update |
*DhcpOptionsSet
|
无 | 无 |
| vpc:DescribeIpv6Addresses | DescribeIpv6Addresses | list |
*Ipv6InternetBandwidth
|
无 | 无 |
| vpc:DeleteIpv6Gateway | DeleteIpv6Gateway | delete |
*Ipv6Gateway
|
无 | 无 |
| vpc:AllocateIpv6Address | AllocateIpv6Address | create |
*Ipv6Address
|
无 | 无 |
| vpc:DescribeVSwitchAttributes | DescribeVSwitchAttributes | get |
*VSwitch
|
无 | 无 |
| vpc:UntagResourcesForExpressConnect | UntagResourcesForExpressConnect | update |
*PhysicalConnection
*VirtualBorderRouter
*RouterInterface
*TrafficQos
|
无 | 无 |
| vpc:DescribeVSwitches | DescribeVSwitches | list |
*VSwitch
|
vpc:VPC |
无 |
| vpc:GetVpcPrefixListAssociations | GetVpcPrefixListAssociations | get |
*PrefixList
|
无 | 无 |
| vpc:GetRouteTargetGroup | GetRouteTargetGroup | get |
*RouteTargetGroup
|
无 | 无 |
| vpc:ListTrafficMirrorFilters | ListTrafficMirrorFilters | list |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:CreateDefaultVpc | CreateDefaultVpc | create |
*VPC
|
无 | 无 |
| vpc:UpdateGatewayRouteTableEntryAttribute | UpdateGatewayRouteTableEntryAttribute | update |
*RouteTable
|
无 | 无 |
| vpc:DescribeNetworkAcls | DescribeNetworkAcls | list |
*NetworkAcl
|
无 | 无 |
| vpc:DeactivateRouterInterface | DeactivateRouterInterface | update |
*RouterInterface
|
无 | 无 |
| vpc:UpdateNetworkAclEntries | UpdateNetworkAclEntries | update |
*NetworkAcl
|
无 | 无 |
| vpc:UpdateVpcGatewayEndpointAttribute | UpdateVpcGatewayEndpointAttribute | update |
*GatewayEndpoint
|
无 | 无 |
| vpc:ListTrafficMirrorSessions | ListTrafficMirrorSessions | list |
*TrafficMirrorSession
|
无 | 无 |
| vpc:DisableVpcClassicLink | DisableVpcClassicLink | update |
*VPC
|
无 | 无 |
| vpc:GrantInstanceToVbr | GrantInstanceToVbr | update |
*VPC
|
无 | 无 |
| vpc:AllocateIpv6InternetBandwidth | AllocateIpv6InternetBandwidth | create |
*Ipv6InternetBandwidth
|
无 | 无 |
| vpc:AssociateVpcCidrBlock | AssociateVpcCidrBlock | create |
*VPC
|
无 | 无 |
| vpc:CreateVpcPrefixList | CreateVpcPrefixList | create |
*PrefixList
|
无 | 无 |
| vpc:DescribeTagKeysForExpressConnect | DescribeTagKeysForExpressConnect | list |
*全部资源
|
无 | 无 |
| vpc:ModifyIpv6InternetBandwidth | ModifyIpv6InternetBandwidth | update |
*Ipv6InternetBandwidth
|
无 | 无 |
| vpc:DeleteRouteTable | DeleteRouteTable | delete |
*RouteTable
|
无 | 无 |
| vpc:AssociateRouteTableWithGateway | AssociateRouteTableWithGateway | create |
*Ipv4Gateway
*RouteTable
|
无 | 无 |
| vpc:WithdrawVpcPublishedRouteEntries | WithdrawVpcPublishedRouteEntries | update |
*RouteTable
|
无 | 无 |
| vpc:DeleteTrafficMirrorFilter | DeleteTrafficMirrorFilter | delete |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:DescribeVRouters | DescribeVRouters | list |
*VRouter
|
vpc:VPC |
无 |
| vpc:DescribeGrantRulesToCen | DescribeGrantRulesToCen | get |
VirtualBorderRouter
GrantRuleToCen
|
无 | 无 |
| vpc:DescribeHaVips | DescribeHaVips | get |
*HaVip
|
无 | 无 |
| vpc:DescribeIpv6GatewayAttribute | DescribeIpv6GatewayAttribute | get |
*Ipv6Gateway
|
无 | 无 |
| vpc:AddSourcesToTrafficMirrorSession | AddSourcesToTrafficMirrorSession | update |
*TrafficMirrorSession
|
无 | 无 |
| vpc:GetDhcpOptionsSet | GetDhcpOptionsSet | get |
*DhcpOptionsSet
|
无 | 无 |
| vpc:GetTrafficMirrorServiceStatus | GetTrafficMirrorServiceStatus | get |
*全部资源
|
无 | 无 |
| vpc:CreateRouteEntry | CreateRouteEntry | create |
*RouteTable
|
无 | 无 |
| vpc:CreateRouteTargetGroup | CreateRouteTargetGroup | create |
*RouteTargetGroup
|
无 | 无 |
| vpc:DeleteFlowLog | DeleteFlowLog | delete |
*FlowLog
|
无 | 无 |
| vpc:AssociateNetworkAcl | AssociateNetworkAcl | update |
*NetworkAcl
*VSwitch
|
无 | 无 |
| vpc:ListDhcpOptionsSets | ListDhcpOptionsSets | get |
DhcpOptionsSet
DhcpOptionsSet
|
无 | 无 |
| vpc:CreateDhcpOptionsSet | CreateDhcpOptionsSet | create |
*DhcpOptionsSet
|
无 | 无 |
| vpc:ListVSwitchCidrReservations | ListVSwitchCidrReservations | list |
*VSwitchCidrReservation
|
无 | 无 |
| vpc:CreateFlowLog | CreateFlowLog | create |
VSwitch
*FlowLog
VPC
|
无 | 无 |
| vpc:CreateHaVip | CreateHaVip | create |
*HaVip
*VSwitch
|
无 | 无 |
| vpc:DeleteTrafficMirrorSession | DeleteTrafficMirrorSession | delete |
*TrafficMirrorSession
|
无 | 无 |
| vpc:UnassociateNetworkAcl | UnassociateNetworkAcl | update |
*NetworkAcl
*VSwitch
|
无 | 无 |
| vpc:RetryVpcPrefixListAssociation | RetryVpcPrefixListAssociation | update |
*PrefixList
|
无 | 无 |
| vpc:ModifyVSwitchCidrReservationAttribute | ModifyVSwitchCidrReservationAttribute | update |
*VSwitchCidrReservation
|
无 | 无 |
| vpc:CheckCanAllocateVpcPrivateIpAddress | CheckCanAllocateVpcPrivateIpAddress | none |
*VSwitch
|
无 | 无 |
| vpc:ModifyFlowLogAttribute | ModifyFlowLogAttribute | update |
*FlowLog
|
无 | 无 |
| vpc:UpdateTrafficMirrorSessionAttribute | UpdateTrafficMirrorSessionAttribute | update |
*TrafficMirrorSession
TrafficMirrorFilter
|
无 | 无 |
| vpc:DeleteRouteEntries | DeleteRouteEntries | delete |
*RouteTable
|
无 | 无 |
| vpc:ModifyRouterInterfaceAttribute | ModifyRouterInterfaceAttribute | update |
*RouterInterface
|
vpc:TargetAccountRDId |
无 |
| vpc:RevokeInstanceFromVbr | RevokeInstanceFromVbr | update |
*VPC
|
无 | 无 |
| vpc:DetachDhcpOptionsSetFromVpc | DetachDhcpOptionsSetFromVpc | update |
*DhcpOptionsSet
*VPC
|
无 | 无 |
| vpc:DeleteDhcpOptionsSet | DeleteDhcpOptionsSet | delete |
*DhcpOptionsSet
|
无 | 无 |
| vpc:GrantInstanceToCen | GrantInstanceToCen | update |
*VirtualBorderRouter
*VPC
|
无 | 无 |
| vpc:CreateRouteEntries | CreateRouteEntries | create |
*RouteEntry
|
无 | 无 |
| vpc:CreateIpv6Gateway | CreateIpv6Gateway | create |
*Ipv6Gateway
|
无 | 无 |
| vpc:DeleteVpcPrefixList | DeleteVpcPrefixList | delete |
*PrefixList
|
无 | 无 |
| vpc:ModifyHaVipAttribute | ModifyHaVipAttribute | update |
*HaVip
|
无 | 无 |
| vpc:CreateIpv6EgressOnlyRule | CreateIpv6EgressOnlyRule | create |
*Ipv6EgressRule
|
无 | 无 |
| vpc:DeleteVSwitch | DeleteVSwitch | delete |
*VSwitch
|
无 | 无 |
| vpc:DissociateRouteTableFromGateway | DissociateRouteTableFromGateway | get |
*Ipv4Gateway
*RouteTable
|
无 | 无 |
| vpc:DescribeRouteEntryList | DescribeRouteEntryList | get |
*RouteTable
|
无 | 无 |
| vpc:DescribeTags | DescribeTags | get |
*全部资源
|
vpc:tag |
无 |
| vpc:DeleteVpc | DeleteVpc | delete |
*VPC
|
vpc:tag |
无 |
| vpc:UpdateTrafficMirrorFilterRuleAttribute | UpdateTrafficMirrorFilterRuleAttribute | update |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:PublishVpcRouteEntries | PublishVpcRouteEntries | update |
*RouteTable
|
无 | 无 |
| vpc:ModifyVpcAttribute | ModifyVpcAttribute | update |
*VPC
|
vpc:tag |
无 |
| vpc:CreateRouterInterface | CreateRouterInterface | create |
*VirtualBorderRouter
*RouterInterface
|
vpc:TargetAccountRDId |
无 |
| vpc:UpdateTrafficMirrorFilterAttribute | UpdateTrafficMirrorFilterAttribute | update |
*TrafficMirrorFilter
|
无 | 无 |
| vpc:ModifyRouterInterfaceSpec | ModifyRouterInterfaceSpec | update |
*RouterInterface
|
无 | 无 |
| vpc:DeleteIpv6EgressOnlyRule | DeleteIpv6EgressOnlyRule | delete |
*Ipv6Gateway
|
无 | 无 |
| vpc:CreateVSwitchCidrReservation | CreateVSwitchCidrReservation | create |
*VSwitchCidrReservation
|
无 | 无 |
| vpc:DescribeRouteTables | DescribeRouteTables | list |
*RouteTable
|
vpc:VBR vpc:VRouter |
无 |
| vpc:DeleteVSwitchCidrReservation | DeleteVSwitchCidrReservation | delete |
*VSwitchCidrReservation
|
无 | 无 |
| vpc:SwitchActiveRouteTarget | SwitchActiveRouteTarget | update |
*RouteTargetGroup
|
无 | 无 |
| vpc:DescribeNetworkAclAttributes | DescribeNetworkAclAttributes | get |
*NetworkAcl
|
无 | 无 |
| vpc:DescribeVpcs | DescribeVpcs | list |
VPC
VPC
|
vpc:tag |
无 |
| vpc:AttachDhcpOptionsSetToVpc | AttachDhcpOptionsSetToVpc | update |
*DhcpOptionsSet
*VPC
|
无 | 无 |
| vpc:ActivateRouterInterface | ActivateRouterInterface | update |
*RouterInterface
|
无 | 无 |
| vpc:UnTagResources | UnTagResources | update |
Address
NatGateway
RouteTable
VPC
VSwitch
|
vpc:tag |
无 |
| vpc:DeleteIpv6InternetBandwidth | DeleteIpv6InternetBandwidth | delete |
*Ipv6InternetBandwidth
|
无 | 无 |
| vpc:ModifyVSwitchAttribute | ModifyVSwitchAttribute | update |
*VSwitch
|
无 | 无 |
| vpc:DescribeTagKeys | DescribeTagKeys | get |
*全部资源
|
无 | 无 |
| vpc:DescribeRouterInterfaceAttribute | DescribeRouterInterfaceAttribute | get |
*RouterInterface
|
无 | 无 |
| vpc:UnassociateHaVip | UnassociateHaVip | delete |
*Instance
*HaVip
|
无 | 无 |
| vpc:AssociateRouteTable | AssociateRouteTable | update |
*VSwitch
|
无 | 无 |
| vpc:CreateRouteTable | CreateRouteTable | create |
*RouteTable
|
无 | 无 |
| vpc:ReplaceVpcDhcpOptionsSet | ReplaceVpcDhcpOptionsSet | update |
*DhcpOptionsSet
*VPC
|
无 | 无 |
| vpc:CreateVSwitch | CreateVSwitch | create |
*VPC
*VSwitch
|
vpc:tag |
无 |
| vpc:DeleteRouterInterface | DeleteExpressConnect | delete |
*RouterInterface
|
无 | 无 |
| vpc:DescribeRouteTableList | DescribeRouteTableList | list |
*RouteTable
|
vpc:VRouter vpc:VBR |
无 |
| vpc:ModifyIpv6AddressAttribute | ModifyIpv6AddressAttribute | update |
*VPC
|
无 | 无 |
| vpc:GetVpcGatewayEndpointAttribute | GetVpcGatewayEndpointAttribute | get |
*GatewayEndpoint
|
无 | 无 |
| vpc:GetVSwitchCidrReservationUsage | GetVSwitchCidrReservationUsage | get |
*VSwitchCidrReservation
|
无 | 无 |
| vpc:ListRouteTargetGroups | ListRouteTargetGroups | list |
*RouteTargetGroup
|
无 | 无 |
| vpc:ModifyVRouterAttribute | ModifyVRouterAttribute | update |
*VRouter
|
无 | 无 |
| vpc:EnableVpcClassicLink | EnableVpcClassicLink | update |
*VPC
|
无 | 无 |
| vpc:ReleaseIpv6Address | ReleaseIpv6Address | delete |
*Ipv6Address
|
无 | 无 |
资源(Resource)
下表是专有网络VPC定义的资源,这些资源可以在 RAM 权限策略语句的Resource元素中使用,用来授予对该资源执行具体操作的权限。 其中,资源 ARN 是资源在阿里云上的唯一标识。具体说明如下:
{#}为变量标识,需要您替换为实际值。例如:{#ramcode}需要您替换为实际的云服务RAM代码。*表示全部。例如:{#resourceType}为*时:表示全部资源。{#regionId}为*时:表示全部地域。{#accountId}为*时:表示全部阿里云账号。
资源类型 |
资源 ARN |
| FlowLog |
|
| VpnConnection |
|
| VirtualBorderRouter |
|
| FlowLogService |
|
| NatGateway |
|
| BandwidthPackage |
|
| PhysicalConnection |
|
| RouterInterface |
|
| TrafficQos |
|
| SnatTable |
|
| Ipv6Translator |
|
| VPC |
|
| Ipv6Gateway |
|
| VpnGateway |
|
| PublicIpAddressPool |
|
| FullNat |
|
| Ipv4Gateway |
|
| NetworkAcl |
|
| Address |
|
| ForwardTable |
|
| RouteTable |
|
| IpsecServer |
|
| VSwitch |
|
| SegmentAddress |
|
| TrafficMirrorFilter |
|
| Instance |
|
| Association |
|
| GatewayEndpoint |
|
| CustomerGateway |
|
| CommonBandwidthPackage |
|
| RouteTargetGroup |
|
| PrefixList |
|
| VpnConnections |
|
| GlobalAccelerationInstance |
|
| HaVip |
|
| SslVpnServer |
|
| TrafficMirrorSession |
|
| Eip |
|
| DhcpOptionsSet |
|
| SslVpnClientCert |
|
| TrafficMirrorService |
|
| Ipv6InternetBandwidth |
|
| Ipv6Address |
|
| VpnCertificateAttachment |
|
| IPv6Translator |
|
| VRouter |
|
| GrantRuleToCen |
|
| VSwitchCidrReservation |
|
| GatewayInfo |
|
| SnatEntry |
|
| VpnAttachment |
|
| PublicIpAddressPoolService |
|
| RouteEntry |
|
| Ipv6EgressRule |
|
| physicalconnection |
|
条件(Condition)
下表是专有网络VPC 定义的产品级条件关键字,这些条件关键字可以在 RAM 权限策略语句的Condition元素中使用,用来描述授予权限的条件。以下仅列举产品级的条件关键字,阿里云定义的通用条件关键字也同样适用专有网络VPC。
其中,数据类型决定了您可以使用哪些条件运算符将请求中的值与权限策略语句中的值进行比较。您必须使用与数据类型匹配的条件运算符,否则无法匹配策略语句,授权行为无效。数据类型与条件运算符的对应关系,请参见条件操作类型。
条件关键字 |
描述 |
类型 |
| vpc:VRouter | 路由器信息 | String |
| vpc:VPC | VPC信息 | String |
| vpc:tag | VPC的标签 | String |
| vpc:TargetAccountRDId | 对端用户资源目录ID信息 | String |
| vpc:PhysicalConnection | 物理专线信息 | String |
| vpc:VBR | 边界路由器信息 | String |
相关操作
您可以创建自定义权限策略,并将权限策略授予 RAM 用户、RAM 用户组或 RAM 角色。具体操作如下: