Skip to content

Commit 51b9825

Browse files
author
AWS
committed
Amazon Neptune Graph Update: Update IAM Role ARN Validation to Support Role Paths
1 parent d931e1d commit 51b9825

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": "Amazon Neptune Graph",
4+
"contributor": "",
5+
"description": "Update IAM Role ARN Validation to Support Role Paths"
6+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3104,7 +3104,7 @@
31043104
},
31053105
"RoleArn":{
31063106
"type":"string",
3107-
"pattern":"arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)/[\\w+=,.@-]*"
3107+
"pattern":"arn:aws[^:]*:iam::\\d{12}:(role|role/service-role)(/[\\w+=,.@-]+)+"
31083108
},
31093109
"SecurityGroupId":{
31103110
"type":"string",

0 commit comments

Comments
 (0)