-
Notifications
You must be signed in to change notification settings - Fork 17
/
ACS::TAG::TagResourceByTagsIgnoreCaseSensitive.json
70 lines (70 loc) · 1.71 KB
/
ACS::TAG::TagResourceByTagsIgnoreCaseSensitive.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"FormatVersion": "OOS-2019-06-01",
"Description": {
"en": "Create and bind multiple tags to a specified single cloud resource",
"zh-cn": "为指定的单个云资源创建并绑定多个标签",
"name-en": "ACS::TAG::TagResourceByTagsIgnoreCaseSensitive",
"name-zh-cn": "为指定的单个云资源创建并绑定多个标签(忽略标签大小写)"
},
"Parameters": {
"regionId": {
"Description": {
"en": "The id of region",
"zh-cn": "地域ID"
},
"Type": "String",
"Default": "{{ ACS::RegionId }}"
},
"tags": {
"Description": {
"en": "The resource tag",
"zh-cn": "资源标签"
},
"Type": "Json",
"AssociationProperty": "Tags"
},
"resourceARN": {
"Description": {
"en": "Resource ARN",
"zh-cn": "资源ARN"
},
"Type": "String"
}
},
"Tasks": [
{
"Name": "tagResource",
"Action": "ACS::TAG::TagResourceByTagIgnoreCaseSensitive",
"Description": {
"en": "Tag the resources through resource management",
"zh-cn": "通过资源管理给资源打标签"
},
"Properties": {
"regionId": "{{ regionId }}",
"resourceARN": "{{ resourceARN }}",
"tagKey": {
"Fn::Jq": [
"First",
".Key",
"{{ ACS::TaskLoopItem }}"
]
},
"tagValue": {
"Fn::Jq": [
"First",
".Value",
"{{ ACS::TaskLoopItem }}"
]
}
},
"Loop": {
"Items": "{{ tags }}",
"RateControl": {
"Mode": "Concurrency",
"MaxErrors": 0,
"Concurrency": 10
}
}
}
]
}