跳到主要内容

路由器策略示例

當您需要授權某個子使用者“路由器連線/斷開私網”的操作許可權時,您可以這樣編輯策略:

{
"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"
]
}
]
}