Skip to content

Commit bf62387

Browse files
author
AWS
committed
Inspector2 Update: Update the correct format of key and values for resource tags
1 parent c869f8c commit bf62387

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Inspector2",
4+
"contributor": "",
5+
"description": "Update the correct format of key and values for resource tags"
6+
}

services/inspector2/src/main/resources/codegen-resources/service-2.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7849,7 +7849,7 @@
78497849
},
78507850
"TagValueList":{
78517851
"type":"list",
7852-
"member":{"shape":"String"},
7852+
"member":{"shape":"TargetResourceTagsValue"},
78537853
"max":5,
78547854
"min":1
78557855
},
@@ -7870,11 +7870,22 @@
78707870
},
78717871
"TargetResourceTags":{
78727872
"type":"map",
7873-
"key":{"shape":"NonEmptyString"},
7873+
"key":{"shape":"TargetResourceTagsKey"},
78747874
"value":{"shape":"TagValueList"},
78757875
"max":5,
78767876
"min":1
78777877
},
7878+
"TargetResourceTagsKey":{
7879+
"type":"string",
7880+
"max":128,
7881+
"min":1,
7882+
"pattern":"^[\\p{L}\\p{Z}\\p{N}_.:/=\\-@]*$"
7883+
},
7884+
"TargetResourceTagsValue":{
7885+
"type":"string",
7886+
"max":256,
7887+
"min":1
7888+
},
78787889
"TargetStatusFilterList":{
78797890
"type":"list",
78807891
"member":{"shape":"CisTargetStatusFilter"},

0 commit comments

Comments
 (0)