A resource description identifies one or multiple operation objects including CVM resources and COS buckets. This document introduces CAM resource descriptions.
All resources can be described using the following six-piece format. Every product has its own resources and detailed resource definition. For more information on how to specify resource information, see the corresponding product documentation.
The six-piece format is defined as follows:
*indicates all products. This field is required.
|hk||Hong Kong (China)|
account: indicates the root account information of the resource owner. At present, either
uid can be used to describe the resource owner.
At present, COS resource owners can only be described using
uid, and resource owners of other services can only be described using
resource: describes the details of the specific product resource.
This field is required. The resource can be described as follows:
instance/ins-abcdefgof a VPC product.
prefix//10001234/bucket1/object2of a COS product. Prefix match at the directory level is supported for this type of description. For example,
prefix//10001234/bucket1/*indicates all the objects under bucket1.
*, and the definitions are as follows. For more information, see the corresponding product documentation.
*indicates that all resources are associated.
*in all cases.
CAM resources includes users, user groups, and policies. A CAM resource can be described as follows:
For more information about individual products’ resource definition details, see the corresponding product documentation in CAM-enabled Cloud Services.