AmazonBedrockStudioPermissionsBoundary

Last Modified

Mar 12, 2026

March 12, 2026 at 09:27 PM UTC

Version

v1

Total Versions

1

Created

Aug 1, 2024

Actions

37

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "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"
              ]
            }
          }
        }
      ]
    },
    "VersionId": "v1",
    "IsDefaultVersion": true,
    "CreateDate": "2024-08-01T00:24:40+00:00"
  }
}

Version History (3 recorded)

Raw history

AmazonBedrockStudioPermissionsBoundary - Policy Version v1

No recorded action delta - this version predates the change index. View the raw diff.

Mar 12, 2026

9f29270

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Sep 18, 2024

aafbae9

Update detected

No recorded action delta - this version predates the change index. View the raw diff.

Aug 1, 2024

81bc66c