AWSAgentRegistryServiceRolePolicy

Last Modified

Aug 21, 2026

August 21, 2026 at 05:03 PM UTC

Version

v2

Total Versions

2

Created

Aug 21, 2026

Actions

15

Policy Document

View on GitHub
{
  "PolicyVersion": {
    "Document": {
      "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}"
            }
          }
        }
      ]
    },
    "VersionId": "v2",
    "IsDefaultVersion": true,
    "CreateDate": "2026-08-21T16:57:22+00:00"
  }
}

Version History (2 recorded)

Raw history
v2updated

14 actions added

b9ab37c
v1new policy

1 action added

e5d2328