路由器策略示例
当您需要授权某个子用户“路由器连接/断开私网”的操作权限时,您可以这样编辑策略:
{
"Version": "1",
"Statement": [
{
"Effect": "Allow",
"Action": [
"vpc:DescribeRouter*",
"vpc:CreateRouterInterface",
"vpc:DescribeNetworks",
"vpc:*RouterInterface*",
],
"Resource": [
"ccs:vpc:cn-test-suzhou1:*:r-g5180h4h9tv93x",
"ccs:vpc:cn-test-suzhou1:*:n-m9180h4h9uw59e"
]
},
{
"Effect": "Allow",
"Action": [
"vpc:DescribeRouter*",
"vpc:DescribeNetworks"
],
"Resource": [
"ccs:vpc:cn-test-suzhou1:*:r-1",
"ccs:vpc:cn-test-suzhou1:*:n-1"
]
}
]
}