Skip to content
IAM Policy Generator

IAM policy example: invoke one Bedrock foundation model, with a least privilege rewrite

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

  1. Allow 269 actions (bedrock:*) on every resource.

    Action or patternActionsAccess levels
    bedrock:*269List 48, Read 83, Write 135, Permissions management 1, Tagging 2

Checks

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

  1. Allow 1 action (bedrock:InvokeModel) on arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-haiku-20240307-v1:0.

    Action or patternActionsAccess levels
    bedrock:InvokeModel1Read 1

Checks

No flags from the six checks.

Sources

  1. Amazon Bedrock User Guide: identity-based policy examples, read 16 Nov 2026
  2. AWS Service Authorization Reference, programmatic access (fetched 16 Nov 2026), read 16 Nov 2026

Last reviewed 16 Nov 2026.