AmazonBedrockFullAccess
Description: Provides full access to Amazon Bedrock as well as limited access to related services that are required by it
AmazonBedrockFullAccess
is an AWS managed policy.
Using this policy
You can attach AmazonBedrockFullAccess
to your users, groups, and roles.
Policy
details
-
Type: AWS managed policy
-
Creation time: December 06, 2023, 15:47 UTC
-
Edited time: December 04, 2024, 19:51 UTC
-
ARN:
arn:aws:iam::aws:policy/AmazonBedrockFullAccess
Policy version
Policy version: v2 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "BedrockAll",
"Effect" : "Allow",
"Action" : [
"bedrock:*"
],
"Resource" : "*"
},
{
"Sid" : "DescribeKey",
"Effect" : "Allow",
"Action" : [
"kms:DescribeKey"
],
"Resource" : "arn:*:kms:*:::*"
},
{
"Sid" : "APIsWithAllResourceAccess",
"Effect" : "Allow",
"Action" : [
"iam:ListRoles",
"ec2:DescribeVpcs",
"ec2:DescribeSubnets",
"ec2:DescribeSecurityGroups"
],
"Resource" : "*"
},
{
"Sid" : "MarketplaceModelEndpointMutatingAPIs",
"Effect" : "Allow",
"Action" : [
"sagemaker:CreateEndpoint",
"sagemaker:CreateEndpointConfig",
"sagemaker:CreateModel",
"sagemaker:DeleteEndpoint",
"sagemaker:UpdateEndpoint"
],
"Resource" : [
"arn:aws:sagemaker:*:*:endpoint/*",
"arn:aws:sagemaker:*:*:endpoint-config/*",
"arn:aws:sagemaker:*:*:model/*"
],
"Condition" : {
"StringEquals" : {
"aws:CalledViaLast" : "bedrock.amazonaws.com",
"aws:ResourceTag/sagemaker-sdk:bedrock" : "compatible"
}
}
},
{
"Sid" : "MarketplaceModelEndpointAddTagsOperations",
"Effect" : "Allow",
"Action" : [
"sagemaker:AddTags"
],
"Resource" : [
"arn:aws:sagemaker:*:*:endpoint/*",
"arn:aws:sagemaker:*:*:endpoint-config/*",
"arn:aws:sagemaker:*:*:model/*"
],
"Condition" : {
"ForAllValues:StringEquals" : {
"aws:TagKeys" : [
"sagemaker-sdk:bedrock",
"bedrock:marketplace-registration-status",
"sagemaker-studio:hub-content-arn"
]
},
"StringLike" : {
"aws:RequestTag/sagemaker-sdk:bedrock" : "compatible",
"aws:RequestTag/bedrock:marketplace-registration-status" : "registered",
"aws:RequestTag/sagemaker-studio:hub-content-arn" : "arn:aws:sagemaker:*:aws:hub-content/SageMakerPublicHub/Model/*"
}
}
},
{
"Sid" : "MarketplaceModelEndpointDeleteTagsOperations",
"Effect" : "Allow",
"Action" : [
"sagemaker:DeleteTags"
],
"Resource" : [
"arn:aws:sagemaker:*:*:endpoint/*",
"arn:aws:sagemaker:*:*:endpoint-config/*",
"arn:aws:sagemaker:*:*:model/*"
],
"Condition" : {
"ForAllValues:StringEquals" : {
"aws:TagKeys" : [
"sagemaker-sdk:bedrock",
"bedrock:marketplace-registration-status",
"sagemaker-studio:hub-content-arn"
]
},
"StringLike" : {
"aws:ResourceTag/sagemaker-sdk:bedrock" : "compatible",
"aws:ResourceTag/bedrock:marketplace-registration-status" : "registered",
"aws:ResourceTag/sagemaker-studio:hub-content-arn" : "arn:aws:sagemaker:*:aws:hub-content/SageMakerPublicHub/Model/*"
}
}
},
{
"Sid" : "MarketplaceModelEndpointNonMutatingAPIs",
"Effect" : "Allow",
"Action" : [
"sagemaker:DescribeEndpoint",
"sagemaker:DescribeEndpointConfig",
"sagemaker:DescribeModel",
"sagemaker:ListTags"
],
"Resource" : [
"arn:aws:sagemaker:*:*:endpoint/*",
"arn:aws:sagemaker:*:*:endpoint-config/*",
"arn:aws:sagemaker:*:*:model/*"
],
"Condition" : {
"StringEquals" : {
"aws:CalledViaLast" : "bedrock.amazonaws.com"
}
}
},
{
"Sid" : "MarketplaceModelEndpointInvokingOperations",
"Effect" : "Allow",
"Action" : [
"sagemaker:InvokeEndpoint",
"sagemaker:InvokeEndpointWithResponseStream"
],
"Resource" : [
"arn:aws:sagemaker:*:*:endpoint/*"
],
"Condition" : {
"StringEquals" : {
"aws:CalledViaLast" : "bedrock.amazonaws.com",
"aws:ResourceTag/sagemaker-sdk:bedrock" : "compatible"
}
}
},
{
"Sid" : "DiscoveringMarketplaceModel",
"Effect" : "Allow",
"Action" : [
"sagemaker:DescribeHubContent"
],
"Resource" : [
"arn:aws:sagemaker:*:aws:hub-content/SageMakerPublicHub/Model/*",
"arn:aws:sagemaker:*:aws:hub/SageMakerPublicHub"
]
},
{
"Sid" : "AllowMarketplaceModelsListing",
"Effect" : "Allow",
"Action" : [
"sagemaker:ListHubContents"
],
"Resource" : "arn:aws:sagemaker:*:aws:hub/SageMakerPublicHub"
},
{
"Sid" : "PassRoleToSageMaker",
"Effect" : "Allow",
"Action" : [
"iam:PassRole"
],
"Resource" : [
"arn:aws:iam::*:role/*SageMaker*ForBedrock*"
],
"Condition" : {
"StringEquals" : {
"iam:PassedToService" : [
"sagemaker.amazonaws.com",
"bedrock.amazonaws.com"
]
}
}
},
{
"Sid" : "PassRoleToBedrock",
"Effect" : "Allow",
"Action" : [
"iam:PassRole"
],
"Resource" : "arn:aws:iam::*:role/*AmazonBedrock*",
"Condition" : {
"StringEquals" : {
"iam:PassedToService" : [
"bedrock.amazonaws.com"
]
}
}
}
]
}