Skip to content

Commit 46cf703

Browse files
author
AWS
committed
AWS Parallel Computing Service Update: Fixed the validation pattern for an instance profile Amazon Resource Name (ARN) in AWS PCS.
1 parent b61842c commit 46cf703

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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": "AWS Parallel Computing Service",
4+
"contributor": "",
5+
"description": "Fixed the validation pattern for an instance profile Amazon Resource Name (ARN) in AWS PCS."
6+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@
11681168
},
11691169
"InstanceProfileArn":{
11701170
"type":"string",
1171-
"pattern":"arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/[\\w+=,.@-]{1,128}"
1171+
"pattern":"arn:aws([a-zA-Z-]{0,10})?:iam::[0-9]{12}:instance-profile/[/\\w+=,.@-]{1,128}"
11721172
},
11731173
"Integer":{
11741174
"type":"integer",

0 commit comments

Comments
 (0)