Skip to main content
IAM Policy Map

AmazonBedrockStudioPermissionsBoundary

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

Defines the maximum permissions of IAM roles that Amazon Bedrock Studio creates for operating Amazon Bedrock Studio resources.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary
Default version
v1
Created
Last edited
Services
aoss, bedrock, kms, lambda, logs, s3, secretsmanager

Control-plane actions (21)

By access level: 2 List, 6 Read, 2 Tagging, 11 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
OpenSearch Serverless1 of 571 Write; 1 restricted, 1 conditionalaoss:APIAccessAll
Bedrock12 of 2322 List, 4 Read, 2 Tagging, 4 Write; 12 restricted, 11 conditionalbedrock:CreatePrompt, bedrock:CreatePromptVersion, bedrock:DeletePrompt, bedrock:GetIngestionJob, bedrock:GetPrompt, bedrock:InvokeModelWithResponseStream, bedrock:ListIngestionJobs, bedrock:ListPrompts, bedrock:ListTagsForResource, bedrock:StartIngestionJob, bedrock:TagResource, bedrock:UntagResource
KMS2 of 582 Write; 2 restricted, 2 conditionalkms:Decrypt, kms:GenerateDataKey
CloudWatch Logs3 of 1333 Write; 3 restricted, 3 conditionallogs:CreateLogGroup, logs:CreateLogStream, logs:PutLogEvents
Secrets Manager3 of 272 Read, 1 Write; 3 restricted, 3 conditionalsecretsmanager:DescribeSecret, secretsmanager:GetSecretValue, secretsmanager:PutSecretValue
OpenSearch Serverless: 1 actions
  • aoss:APIAccessAll (Write)
Bedrock: 12 actions
  • bedrock:CreatePrompt (Write)
  • bedrock:CreatePromptVersion (Write)
  • bedrock:DeletePrompt (Write)
  • bedrock:GetIngestionJob (Read)
  • bedrock:GetPrompt (Read)
  • bedrock:InvokeModelWithResponseStream (Read)
  • bedrock:ListIngestionJobs (List)
  • bedrock:ListPrompts (List)
  • bedrock:ListTagsForResource (Read)
  • bedrock:StartIngestionJob (Write)
  • bedrock:TagResource (Tagging)
  • bedrock:UntagResource (Tagging)
KMS: 2 actions
  • kms:Decrypt (Write)
  • kms:GenerateDataKey (Write)
CloudWatch Logs: 3 actions
  • logs:CreateLogGroup (Write)
  • logs:CreateLogStream (Write)
  • logs:PutLogEvents (Write)
Secrets Manager: 3 actions
  • secretsmanager:DescribeSecret (Read)
  • secretsmanager:GetSecretValue (Read)
  • secretsmanager:PutSecretValue (Write)

Data-plane actions (14)

By access level: 2 List, 7 Read, 5 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Bedrock6 of 375 Read, 1 Write; 5 restricted, 4 conditionalbedrock:ApplyGuardrail, bedrock:InvokeAgent, bedrock:InvokeFlow, bedrock:InvokeModel, bedrock:Retrieve, bedrock:RetrieveAndGenerate
Lambda1 of 141 Write; 1 restricted, 1 conditionallambda:InvokeFunction
S37 of 252 List, 2 Read, 3 Write; 7 restricted, 7 conditionals3:DeleteObject, s3:DeleteObjectVersion, s3:GetObject, s3:GetObjectVersion, s3:ListBucket, s3:ListBucketVersions, s3:PutObject
Bedrock: 6 actions
  • bedrock:ApplyGuardrail (Read)
  • bedrock:InvokeAgent (Read)
  • bedrock:InvokeFlow (Read)
  • bedrock:InvokeModel (Read)
  • bedrock:Retrieve (Read)
  • bedrock:RetrieveAndGenerate (Write)
Lambda: 1 actions
  • lambda:InvokeFunction (Write)
S3: 7 actions
  • s3:DeleteObject (Write)
  • s3:DeleteObjectVersion (Write)
  • s3:GetObject (Read)
  • s3:GetObjectVersion (Read)
  • s3:ListBucket (List)
  • s3:ListBucketVersions (List)
  • s3:PutObject (Write)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 18 write, tagging or permissions-management actions, short of full control of any service.
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AccessS3Buckets",
      "Effect": "Allow",
      "Action": [
        "s3:ListBucket",
        "s3:ListBucketVersions",
        "s3:GetObject",
        "s3:PutObject",
        "s3:DeleteObject",
        "s3:GetObjectVersion",
        "s3:DeleteObjectVersion"
      ],
      "Resource": "arn:aws:s3:::br-studio-${aws:PrincipalAccount}-*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "AccessOpenSearchCollections",
      "Effect": "Allow",
      "Action": "aoss:APIAccessAll",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "InvokeBedrockModels",
      "Effect": "Allow",
      "Action": [
        "bedrock:InvokeModel",
        "bedrock:InvokeModelWithResponseStream"
      ],
      "Resource": "arn:aws:bedrock:*::foundation-model/*"
    },
    {
      "Sid": "AccessBedrockResources",
      "Effect": "Allow",
      "Action": [
        "bedrock:InvokeAgent",
        "bedrock:Retrieve",
        "bedrock:StartIngestionJob",
        "bedrock:GetIngestionJob",
        "bedrock:ListIngestionJobs",
        "bedrock:ApplyGuardrail",
        "bedrock:ListPrompts",
        "bedrock:GetPrompt",
        "bedrock:CreatePrompt",
        "bedrock:DeletePrompt",
        "bedrock:CreatePromptVersion",
        "bedrock:InvokeFlow",
        "bedrock:ListTagsForResource",
        "bedrock:TagResource",
        "bedrock:UntagResource"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}",
          "aws:ResourceTag/AmazonBedrockManaged": "true"
        },
        "Null": {
          "aws:ResourceTag/AmazonDataZoneProject": "false"
        }
      }
    },
    {
      "Sid": "RetrieveAndGenerate",
      "Effect": "Allow",
      "Action": "bedrock:RetrieveAndGenerate",
      "Resource": "*"
    },
    {
      "Sid": "WriteLogs",
      "Effect": "Allow",
      "Action": [
        "logs:CreateLogGroup",
        "logs:CreateLogStream",
        "logs:PutLogEvents"
      ],
      "Resource": "arn:aws:logs:*:*:log-group:/aws/lambda/br-studio-*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}",
          "aws:ResourceTag/AmazonBedrockManaged": "true"
        },
        "Null": {
          "aws:ResourceTag/AmazonDataZoneProject": "false"
        }
      }
    },
    {
      "Sid": "InvokeLambdaFunctions",
      "Effect": "Allow",
      "Action": "lambda:InvokeFunction",
      "Resource": "arn:aws:lambda:*:*:function:br-studio-*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}",
          "aws:ResourceTag/AmazonBedrockManaged": "true"
        },
        "Null": {
          "aws:ResourceTag/AmazonDataZoneProject": "false"
        }
      }
    },
    {
      "Sid": "AccessSecretsManagerSecrets",
      "Effect": "Allow",
      "Action": [
        "secretsmanager:DescribeSecret",
        "secretsmanager:GetSecretValue",
        "secretsmanager:PutSecretValue"
      ],
      "Resource": "arn:aws:secretsmanager:*:*:secret:br-studio/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}",
          "aws:ResourceTag/AmazonBedrockManaged": "true"
        },
        "Null": {
          "aws:ResourceTag/AmazonDataZoneProject": "false"
        }
      }
    },
    {
      "Sid": "UseKmsKeyWithBedrock",
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt",
        "kms:GenerateDataKey"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}",
          "aws:ResourceTag/EnableBedrock": "true"
        },
        "Null": {
          "kms:EncryptionContext:aws:bedrock:arn": "false"
        }
      }
    },
    {
      "Sid": "UseKmsKeyWithAwsServices",
      "Effect": "Allow",
      "Action": [
        "kms:Decrypt",
        "kms:GenerateDataKey"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}",
          "aws:ResourceTag/EnableBedrock": "true"
        },
        "StringLike": {
          "kms:ViaService": [
            "s3.*.amazonaws.com",
            "secretsmanager.*.amazonaws.com"
          ]
        }
      }
    }
  ]
}

Version history

Current version v1, edited by AWS on 2024-08-01. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary

Terraform

resource "aws_iam_role_policy_attachment" "amazonbedrockstudiopermissionsboundary" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AmazonBedrockStudioPermissionsBoundary"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AmazonBedrockStudioPermissionsBoundary"),
);

Sources

Pending editorial review. No editorial sources are listed yet.