IAM policy example: invoke one Bedrock foundation model, with a least privilege rewrite
Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.
Allows a role to call InvokeModel on one foundation model in us-east-1. The AWS documentation example uses the foundation-model ARN form. The original allows bedrock:* on all resources, which includes model customization and provisioned throughput. Resource names and account 111122223333 are placeholders used in AWS documentation.
Open the workbench ยท All examples
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Bedrock",
"Effect": "Allow",
"Action": "bedrock:*",
"Resource": "*"
}
]
}
What it allows
- Allows every Bedrock action on all resources.
What it allows
Allow 269 actions (bedrock:*) on every resource.
Action or pattern Actions Access levels bedrock:*269 List 48, Read 83, Write 135, Permissions management 1, Tagging 2
Checks
- High Allows 136 write or permissions-management actions (1 permissions management) on every resource ("Resource": "*"). AWS documentation for this check
The action bedrock:* covers 269 actions, including creating customization jobs and buying provisioned throughput.
Least privilege rewrite
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "InvokeOne",
"Effect": "Allow",
"Action": "bedrock:InvokeModel",
"Resource": "arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-haiku-20240307-v1:0"
}
]
}
The rewrite grants InvokeModel on one model ARN. Other models, customization and provisioned throughput are removed.
What it allows
Allow 1 action (bedrock:InvokeModel) on arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-haiku-20240307-v1:0.
Action or pattern Actions Access levels bedrock:InvokeModel1 Read 1
Checks
No flags from the six checks.
Related pages
Sources
- Amazon Bedrock User Guide: identity-based policy examples, read 16 Nov 2026
- AWS Service Authorization Reference, programmatic access (fetched 16 Nov 2026), read 16 Nov 2026
Last reviewed 16 Nov 2026.