本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
AWSAgentRegistryServiceRolePolicy
描述:允許 AWS 代理程式登錄檔代表您存取 AWS 服務資源
AWSAgentRegistryServiceRolePolicy 是 AWS 受管政策。
使用此政策
此政策會連接到服務連結角色,允許服務代表您執行動作。您無法將此政策連接至使用者、群組或角色。
政策詳細資訊
-
類型:服務連結角色政策
-
建立時間:2026 年 8 月 6 日 14:27 UTC
-
編輯時間:2026 年 8 月 21 日 16:57 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AWSAgentRegistryServiceRolePolicy
政策版本
政策版本: v2 (預設)
政策的預設版本是定義政策許可的版本。當具有 政策的使用者或角色提出存取 AWS 資源的請求時, 會 AWS 檢查政策的預設版本,以決定是否允許請求。
JSON 政策文件
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowOrganizationsReadAccess", "Effect" : "Allow", "Action" : [ "organizations:DescribeAccount", "organizations:DescribeOrganization", "organizations:ListAccounts", "organizations:ListDelegatedAdministrators" ], "Resource" : "*" }, { "Sid" : "AllowSLRCreationForAWSConfig", "Effect" : "Allow", "Action" : [ "iam:CreateServiceLinkedRole" ], "Resource" : "arn:aws:iam::*:role/aws-service-role/config.amazonaws.com/AWSServiceRoleForConfig", "Condition" : { "StringEquals" : { "iam:AWSServiceName" : "config.amazonaws.com" } } }, { "Sid" : "AllowConfigRecorderWrite", "Effect" : "Allow", "Action" : [ "config:DeleteServiceLinkedConfigurationRecorder", "config:PutServiceLinkedConfigurationRecorder" ], "Resource" : [ "*" ], "Condition" : { "StringLike" : { "config:ConfigurationRecorderServicePrincipal" : [ "agent-registry.amazonaws.com" ] } } }, { "Sid" : "AllowConfigRecorderRead", "Effect" : "Allow", "Action" : [ "config:DescribeConfigurationRecorders", "config:DescribeConfigurationRecorderStatus" ], "Resource" : [ "arn:aws:config:*:*:configuration-recorder/AWSConfigurationRecorderForAgentRegistry*" ] }, { "Sid" : "AllowRegistryRecordReadWrite", "Effect" : "Allow", "Action" : [ "agent-registry:CreateRegistryRecord", "agent-registry:DeleteRegistryRecord", "agent-registry:GetRegistryRecord", "agent-registry:ListRegistryRecords", "agent-registry:UpdateRegistryRecord" ], "Resource" : [ "arn:aws:agent-registry:*:*:registry/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowPublishCloudWatchMetrics", "Effect" : "Allow", "Action" : [ "cloudwatch:PutMetricData" ], "Resource" : "*", "Condition" : { "StringEquals" : { "cloudwatch:namespace" : [ "AWS/AgentRegistry", "AWS/Usage" ], "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } } ] }