創(chuàng)建快照
更新時(shí)間:
本文為您提供創(chuàng)建快照的RAM自定義權(quán)限策略示例。
以下策略表示:允許為指定的ECS實(shí)例關(guān)聯(lián)的指定云盤創(chuàng)建快照。在本示例中,ECS實(shí)例ID為i-bp14l21sgragk0sp****
,云盤ID為d-bp1hek8q2l5tqzde****
,請(qǐng)?jiān)趯?shí)際使用時(shí)將對(duì)應(yīng)ID替換為實(shí)際值。
{
"Statement": [
{
"Action": "ecs:*",
"Effect": "Allow",
"Resource": [
"acs:ecs:*:*:instance/i-bp14l21sgragk0sp****"
]
},
{
"Action": "ecs:CreateSnapshot",
"Effect": "Allow",
"Resource": [
"acs:ecs:*:*:disk/d-bp1hek8q2l5tqzde****",
"acs:ecs:*:*:snapshot/*"
]
},
{
"Action": [
"ecs:Describe*"
],
"Effect": "Allow",
"Resource": "*"
}
],
"Version": "1"
}
文檔內(nèi)容是否對(duì)您有幫助?