CAM Overview
Features
Scenarios
Basic Concepts
Use Limits
User Types
{"version": "2.0","statement": [{"effect": "allow","action": "cmqqueue:*","resource": "qcs::cmqqueue::uin/1000001:queueName/uin/${uin}/*"}]}
125000000 and its root account’s UIN being 1000001) has created a CMQ message queue named queueName/uin/125000000 in Chengdu region, the resource will be described as follows: qcs::cmqqueue:ap-chengdu:uin/1000001:queueName/uin/125000000
qcs::cmqqueue::uin/1000001:queueName/uin/125000000
qcs::cmqqueue::uin/1000001:queueName/uin/125000000 in the policy can access the resource qcs::cmqqueue:ap-chengdu:uin/1000001:queueName/uin/125000000 through prefix matching.{"version":"2.0","statement": [{"effect":"allow","action":"name/vpc:*","resource":"qcs::vpc::uin/12357:vpc/*","condition":{"string_equal":{"qcs:create_uin":"${uin}"}}}]}
qcs::cos:$region:uid/$appid:$bucketname-$appid/$ResourcesPath, in which $ResourcesPath indicates the specific resource path. The above policy variable cannot be used in $ResourcesPath. A complete 6-segment resource description of a COS bucket is as follows:
qcs::cos:ap-guangzhou:uid/1250000000:examplebucket-1250000000/path_1/path_2/pic.jpegVariable | Description |
${uin} | The current visitor’s sub-account UIN, or the root account UIN (if the visitor is a root account). |
${owner_uin} | UIN of the root account to which the current visitor belongs. |
${app_id} | APPID of the root account to which the current visitor belongs. |
피드백