# 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.

```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Bedrock",
      "Effect": "Allow",
      "Action": "bedrock:*",
      "Resource": "*"
    }
  ]
}
```

## What it allows

- Allows every Bedrock action on all resources.

- Allows 269 actions (bedrock:*) on every resource.

Checks:
- high: Allows 136 write or permissions-management actions (1 permissions management) on every resource ("Resource": "*"). (https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)

The action bedrock:* covers 269 actions, including creating customization jobs and buying provisioned throughput.

## Least privilege rewrite

```json
{
  "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.

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

Checks:
- No flags.

- [Paste it into the workbench](/)
- [Every Bedrock action and its access level](/actions/bedrock/)

## Related pages

- [IAM policy example: invoke Bedrock models with streaming](/examples/bedrock-invoke-with-streaming/)
- [IAM policy example: let EC2 assume a role](/examples/trust-policy-ec2-instance-role/)
- [IAM policy example: let Lambda assume an execution role](/examples/trust-policy-lambda-execution-role/)
- [All of them](/examples/)

## Sources

- Amazon Bedrock User Guide: identity-based policy examples: https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html (read 16 Nov 2026)
- AWS Service Authorization Reference, programmatic access (fetched 16 Nov 2026): https://docs.aws.amazon.com/service-authorization/latest/reference/service-reference.html (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://iampolicygenerator.com/examples/bedrock-invoke-one-model/

This site is not affiliated with Amazon Web Services. AWS service and product names are used only to describe AWS services.
