View a markdown version of this page

AWSBedrockAgentCoreRuntimeInstancesServiceRolePolicy - AWS 托管策略

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

AWSBedrockAgentCoreRuntimeInstancesServiceRolePolicy

描述:允许 Bedrock AgentCore 运行时实例代表您管理计算资源。

AWSBedrockAgentCoreRuntimeInstancesServiceRolePolicy 是一项 AWS 托管式策略。

使用此策略

此附加到服务相关角色的策略允许服务代表您执行操作。您无法将此策略附加到您的用户、组或角色。

策略详细信息

  • 类型: Service-linked 角色策略

  • 创建时间:世界标准时间 2026 年 8 月 5 日 09:57

  • 编辑时间:世界标准时间 2026 年 8 月 5 日 09:57

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AWSBedrockAgentCoreRuntimeInstancesServiceRolePolicy

策略版本

策略版本:v1(默认)

此策略的默认版本是定义策略权限的版本。当具有该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowDescribeResources", "Effect" : "Allow", "Action" : [ "ec2:DescribeInstanceStatus", "ec2:DescribeInstances", "ec2:DescribeNetworkInterfaces", "ec2:DescribeVolumes", "ec2:DescribeLaunchTemplates", "ec2:DescribeLaunchTemplateVersions", "autoscaling:DescribeAutoScalingGroups" ], "Resource" : [ "*" ] }, { "Sid" : "AllowCleanupManagedLaunchTemplate", "Effect" : "Allow", "Action" : [ "ec2:DeleteLaunchTemplate", "ec2:DeleteLaunchTemplateVersions" ], "Resource" : "arn:aws:ec2:*:*:launch-template/*", "Condition" : { "StringEquals" : { "ec2:ManagedResourceOperator" : "bedrock-agentcore.amazonaws.com" } } }, { "Sid" : "AllowCleanupAutoScalingGroup", "Effect" : "Allow", "Action" : [ "autoscaling:DeleteAutoScalingGroup", "autoscaling:CompleteLifecycleAction" ], "Resource" : "arn:aws:autoscaling:*:*:autoScalingGroup:*", "Condition" : { "Null" : { "aws:ResourceTag/bedrock-agentcore:capacity-provider-id" : "false" } } }, { "Sid" : "AllowCleanupEventBridge", "Effect" : "Allow", "Action" : [ "events:RemoveTargets", "events:DeleteRule" ], "Resource" : "arn:aws:events:*:*:rule/*", "Condition" : { "StringEquals" : { "events:ManagedBy" : "bedrock-agentcore.amazonaws.com" } } }, { "Sid" : "AllowCleanupEBSVolumes", "Effect" : "Allow", "Action" : [ "ec2:DeleteVolume" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "ec2:ManagedResourceOperator" : "bedrock-agentcore.amazonaws.com" } } }, { "Sid" : "AllowDetachEBSVolumes", "Effect" : "Allow", "Action" : [ "ec2:DetachVolume" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*", "arn:aws:ec2:*:*:instance/*" ], "Condition" : { "StringEquals" : { "ec2:ManagedResourceOperator" : "bedrock-agentcore.amazonaws.com" } } }, { "Sid" : "AllowTerminateManagedInstances", "Effect" : "Allow", "Action" : [ "ec2:TerminateInstances" ], "Resource" : [ "arn:aws:ec2:*:*:instance/*" ], "Condition" : { "StringEquals" : { "ec2:ManagedResourceOperator" : "bedrock-agentcore.amazonaws.com" } } } ] }

了解更多信息