Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.
SageMakerStudioBedrockFlowServiceRolePolicy
Beschreibung: Ermöglicht Amazon Bedrock Flows den Zugriff auf Amazon Bedrock-Modelle und andere Ressourcen, die mit einem Flow in SageMaker Studio verknüpft sind.
SageMakerStudioBedrockFlowServiceRolePolicyist eine AWS verwaltete Richtlinie.
Verwendung dieser Richtlinie
Sie können SageMakerStudioBedrockFlowServiceRolePolicy an Ihre Benutzer, Gruppen und Rollen anfügen.
Details zur Richtlinie
-
Typ: Richtlinie für die Rolle des Dienstes
-
Aufnahmezeit: 14. Februar 2025, 00:07 UTC
-
Zeit geändert: 12. Februar 2026, 17:58 UTC
-
ARN:
arn:aws:iam::aws:policy/service-role/SageMakerStudioBedrockFlowServiceRolePolicy
Version der Richtlinie
Version der Richtlinie: v9 (Standard)
Die Standardversion der Richtlinie ist die Version, die die Berechtigungen für die Richtlinie definiert. Wenn ein Benutzer oder eine Rolle mit der Richtlinie eine Anfrage für den Zugriff auf eine AWS Ressource stellt, AWS überprüft die Standardversion der Richtlinie, um festzustellen, ob die Anforderung zulässig ist.
JSON-Richtliniendokument
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "BedrockPromptPermissions", "Effect" : "Allow", "Action" : "bedrock:GetPrompt", "Resource" : "arn:aws:bedrock:*:*:prompt/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}", "aws:ResourceTag/AmazonDataZoneProject" : "${aws:PrincipalTag/AmazonDataZoneProject}" } } }, { "Sid" : "BedrockKnowledgeBasePermissions", "Effect" : "Allow", "Action" : "bedrock:Retrieve", "Resource" : "arn:aws:bedrock:*:*:knowledge-base/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}", "aws:ResourceTag/AmazonDataZoneProject" : "${aws:PrincipalTag/AmazonDataZoneProject}" } } }, { "Sid" : "BedrockGuardrailPermissions", "Effect" : "Allow", "Action" : "bedrock:ApplyGuardrail", "Resource" : "arn:aws:bedrock:*:*:guardrail/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}", "aws:ResourceTag/AmazonDataZoneProject" : "${aws:PrincipalTag/AmazonDataZoneProject}" } } }, { "Sid" : "AllowBedrockRetrieveAndGeneratePermissions", "Effect" : "Allow", "Action" : "bedrock:RetrieveAndGenerate", "Resource" : "*" }, { "Sid" : "AllowLambdaInvokeFunctionInProjectPermissions", "Effect" : "Allow", "Action" : "lambda:InvokeFunction", "Resource" : "arn:aws:lambda:*:*:function:amazon-bedrock*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}", "aws:ResourceTag/AmazonDataZoneProject" : "${aws:PrincipalTag/AmazonDataZoneProject}" } } }, { "Sid" : "AllowBedrockApplicationInferenceProfileAccessInProjectPermissions", "Effect" : "Allow", "Action" : [ "bedrock:GetInferenceProfile", "bedrock:InvokeModel" ], "Resource" : "arn:aws:bedrock:*:*:application-inference-profile/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/AmazonDataZoneProject" : "${aws:PrincipalTag/AmazonDataZoneProject}" } } }, { "Sid" : "AllowBedrockInvokeModelAccessWithInferenceProfilePermissions", "Effect" : "Allow", "Action" : "bedrock:InvokeModel", "Resource" : [ "arn:aws:bedrock:*::foundation-model/*", "arn:aws:bedrock:*:*:custom-model/*", "arn:aws:bedrock:*:*:provisioned-model/*" ], "Condition" : { "Null" : { "bedrock:InferenceProfileArn" : "false" } } }, { "Sid" : "BedrockInvokeAgentPermissions", "Effect" : "Allow", "Action" : "bedrock:InvokeAgent", "Resource" : "arn:aws:bedrock:*:*:agent-alias/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}", "aws:ResourceTag/AmazonDataZoneProject" : "${aws:PrincipalTag/AmazonDataZoneProject}" } } }, { "Sid" : "BedrockPromptKmsPermissions", "Effect" : "Allow", "Action" : [ "kms:Decrypt", "kms:GenerateDataKey" ], "Resource" : "arn:aws:kms:*:*:key/${aws:PrincipalTag/KmsKeyId}", "Condition" : { "StringLike" : { "kms:ViaService" : "bedrock.*.amazonaws.com", "kms:EncryptionContext:aws:bedrock-prompts:arn" : "arn:aws:bedrock:*:${aws:PrincipalAccount}:prompt/*" }, "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "BedrockGuardrailKmsPermissions", "Effect" : "Allow", "Action" : "kms:Decrypt", "Resource" : "arn:aws:kms:*:*:key/${aws:PrincipalTag/KmsKeyId}", "Condition" : { "StringLike" : { "kms:ViaService" : "bedrock.*.amazonaws.com" }, "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" }, "Null" : { "kms:EncryptionContext:aws:bedrock:guardrail-id" : "false" } } }, { "Sid" : "BedrockAgentKmsPermissions", "Effect" : "Allow", "Action" : [ "kms:Decrypt", "kms:GenerateDataKey" ], "Resource" : "arn:aws:kms:*:*:key/${aws:PrincipalTag/KmsKeyId}", "Condition" : { "StringLike" : { "kms:ViaService" : "bedrock.*.amazonaws.com", "kms:EncryptionContext:aws:bedrock:arn" : "arn:aws:bedrock:*:${aws:PrincipalAccount}:agent/*" }, "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } } ] }