Skip to content

Commit 1c5a027

Browse files
konouiUnshure
authored andcommitted
fix incorrect bedrock iam prefix (strands-agents#101)
1 parent 2cf5018 commit 1c5a027

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/user-guide/concepts/model-providers/amazon-bedrock.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The [`BedrockModel`](../../../api-reference/models.md#strands.models.bedrock) cl
2222

2323
To use Amazon Bedrock with Strands, your IAM user or role needs the following permissions:
2424

25-
- `bedrock-runtime:InvokeModelWithResponseStream` (for streaming mode)
26-
- `bedrock-runtime:InvokeModel` (for non-streaming mode)
25+
- `bedrock:InvokeModelWithResponseStream` (for streaming mode)
26+
- `bedrock:InvokeModel` (for non-streaming mode)
2727

2828
Here's a sample IAM policy that grants the necessary permissions:
2929

@@ -34,8 +34,8 @@ Here's a sample IAM policy that grants the necessary permissions:
3434
{
3535
"Effect": "Allow",
3636
"Action": [
37-
"bedrock-runtime:InvokeModelWithResponseStream",
38-
"bedrock-runtime:InvokeModel"
37+
"bedrock:InvokeModelWithResponseStream",
38+
"bedrock:InvokeModel"
3939
],
4040
"Resource": "*"
4141
}

0 commit comments

Comments
 (0)