本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
AmazonBedrockFullAccess
描述:提供對 Amazon Bedrock 的完整存取權,以及對 Amazon Bedrock 所需的相關服務的有限存取權
AmazonBedrockFullAccess
是AWS 受管政策。
使用此政策
您可以將 AmazonBedrockFullAccess
連接到您的使用者、群組和角色。
政策詳細資訊
-
類型: AWS 受管政策
-
建立時間:2023 年 12 月 6 日 15:47 UTC
-
編輯時間:2024 年 12 月 4 日 19:51 UTC
-
ARN:
arn:aws:iam::aws:policy/AmazonBedrockFullAccess
政策版本
政策版本:v2 (預設值)
政策的預設版本是定義政策許可的版本。當具有 政策的使用者或角色提出存取 AWS 資源的請求時, 會 AWS 檢查政策的預設版本,以決定是否允許請求。
JSON 政策文件
{
"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"
]
}
}
}
]
}