Attaches tags to CloudConfig rules, account groups, and compliance packages.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
config:TagResources |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region. |
cn-shanghai |
| ResourceType |
string |
Yes |
The type of the resource in CloudConfig. Valid values:
|
ACS::Config::Rule |
| ResourceId |
array |
Yes |
The resource ID. |
|
|
string |
Yes |
The resource ID. The value of N ranges from 1 to 50. |
cr-115b626622af0060**** |
|
| Tag |
array<object> |
Yes |
The tags of the resource. You can attach a maximum of 20 tags. |
|
|
object |
No |
The tags of the resource. You can attach a maximum of 20 tags. |
||
| Key |
string |
No |
The tag key of the resource. You can attach a maximum of 20 tag keys. |
Env |
| Value |
string |
No |
The tag value of the resource. You can attach a maximum of 20 tag values. |
prod |
For more information about common request parameters, see Common parameters.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
None. |
||
| RequestId |
string |
The request ID. |
AB2E4317-06A6-5745-B7C3-E001E551B380 |
Examples
Success response
JSON format
{
"RequestId": "AB2E4317-06A6-5745-B7C3-E001E551B380"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.