File tree Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Expand file tree Collapse file tree 2 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,42 @@ resource "aws_iam_role_policy" "cspm_role_policy" {
104104 Effect = " Allow"
105105 Resource = " *"
106106 },
107+ {
108+ Sid = " AccessAccountContactInfo"
109+ Action = " bedrock:ListAgents"
110+ Effect = " Allow"
111+ Resource = " *"
112+ },
113+ {
114+ Sid = " AccessAccountContactInfo"
115+ Action = " bedrock:GetAgent"
116+ Effect = " Allow"
117+ Resource = " *"
118+ },
119+ {
120+ Sid = " AccessAccountContactInfo"
121+ Action = " bedrock:ListKnowledgeBases"
122+ Effect = " Allow"
123+ Resource = " *"
124+ },
125+ {
126+ Sid = " AccessAccountContactInfo"
127+ Action = " bedrock:GetKnowledgeBase"
128+ Effect = " Allow"
129+ Resource = " *"
130+ },
131+ {
132+ Sid = " AccessAccountContactInfo"
133+ Action = " bedrock:ListGuardrails"
134+ Effect = " Allow"
135+ Resource = " *"
136+ },
137+ {
138+ Sid = " AccessAccountContactInfo"
139+ Action = " bedrock:GetGuardrail"
140+ Effect = " Allow"
141+ Resource = " *"
142+ },
107143 ]
108144 })
109145}
Original file line number Diff line number Diff line change @@ -72,6 +72,30 @@ Resources:
7272 Action:
7373 - "account:GetContactInformation"
7474 Resource: "*"
75+ - Sid: "ListAgents"
76+ Effect: "Allow"
77+ Action: "bedrock:ListAgents"
78+ Resource: "*"
79+ - Sid: "GetAgent"
80+ Effect: "Allow"
81+ Action: "bedrock:GetAgent"
82+ Resource: "*"
83+ - Sid: "ListKnowledgeBases"
84+ Effect: "Allow"
85+ Action: "bedrock:ListKnowledgeBases"
86+ Resource: "*"
87+ - Sid: "GetKnowledgeBase"
88+ Effect: "Allow"
89+ Action: "bedrock:GetKnowledgeBase"
90+ Resource: "*"
91+ - Sid: "ListGuardrails"
92+ Effect: "Allow"
93+ Action: "bedrock:ListGuardrails"
94+ Resource: "*"
95+ - Sid: "GetGuardrail"
96+ Effect: "Allow"
97+ Action: "bedrock:GetGuardrail"
98+ Resource: "*"
7599TEMPLATE
76100}
77101
You can’t perform that action at this time.
0 commit comments