Skip to content

Commit f3db8e5

Browse files
add bedrock perm (#151)
* add bedrock perm * delete ListCustomModels * Using new templates * delete extra end line * update * delete extra tab
1 parent ef949ee commit f3db8e5

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

modules/foundational.cft.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,18 @@ Resources:
176176
- Effect: Allow
177177
Action: account:GetContactInformation
178178
Resource: '*'
179+
- Effect: "Allow"
180+
Action: "bedrock:ListAgents"
181+
Resource: "*"
182+
- Effect: "Allow"
183+
Action: "bedrock:GetAgent"
184+
Resource: "*"
185+
- Effect: "Allow"
186+
Action: "bedrock:ListKnowledgeBases"
187+
Resource: "*"
188+
- Effect: "Allow"
189+
Action: "bedrock:GetKnowledgeBase"
190+
Resource: "*"
179191
OnboardingRole:
180192
Type: AWS::IAM::Role
181193
Properties:
@@ -329,6 +341,18 @@ Resources:
329341
- Effect: "Allow"
330342
Action: "account:GetContactInformation"
331343
Resource: "*"
344+
- Effect: "Allow"
345+
Action: "bedrock:ListAgents"
346+
Resource: "*"
347+
- Effect: "Allow"
348+
Action: "bedrock:GetAgent"
349+
Resource: "*"
350+
- Effect: "Allow"
351+
Action: "bedrock:ListKnowledgeBases"
352+
Resource: "*"
353+
- Effect: "Allow"
354+
Action: "bedrock:GetKnowledgeBase"
355+
Resource: "*"
332356
OnboardingRole:
333357
Type: AWS::IAM::Role
334358
Properties:

0 commit comments

Comments
 (0)