Skip to main content
IAM Policy Map

AWSAgentlessDiscoveryService

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides access for the Discovery Agentless Connector to register with AWS Application Discovery Service.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService
Default version
v2
Created
Last edited
Services
arsenal, awsconnector, discovery, iam, mgh, s3, sns

Control-plane actions (34)

By access level: 3 List, 12 Read, 2 Tagging, 17 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Application Discovery ArsenalAll 1 actions (see the Application Discovery Arsenal page)1 Write; 0 restricted, 0 conditionalarsenal:RegisterOnPremisesAgent
Connector Service2 of 31 Read, 1 Write; 0 restricted, 0 conditionalawsconnector:GetConnectorHealth, awsconnector:RegisterConnector
Application DiscoveryAll 29 actions (see the Application Discovery page)3 List, 9 Read, 2 Tagging, 15 Write; 0 restricted, 0 conditionalDiscovery:*
IAM1 of 1901 Read; 0 restricted, 0 conditionaliam:GetUser
Migration Hub1 of 461 Read; 0 restricted, 0 conditionalmgh:GetHomeRegion
Connector Service: 2 actions
  • awsconnector:GetConnectorHealth (Read)
  • awsconnector:RegisterConnector (Write)
IAM: 1 actions
  • iam:GetUser (Read)
Migration Hub: 1 actions
  • mgh:GetHomeRegion (Read)

Data-plane actions (5)

By access level: 1 List, 1 Permissions management, 1 Read, 2 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S34 of 251 List, 1 Permissions management, 1 Read, 1 Write; 4 restricted, 0 conditionals3:GetObject, s3:ListBucket, s3:PutObject, s3:PutObjectAcl
SNSAll 1 actions (see the SNS page)1 Write; 1 restricted, 0 conditionalSNS:Publish
S3: 4 actions
  • s3:GetObject (Read)
  • s3:ListBucket (List)
  • s3:PutObject (Write)
  • s3:PutObjectAcl (Permissions management)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants at least 80% of the write and permissions-management actions of: discovery (15 of 15).
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "awsconnector:RegisterConnector",
        "awsconnector:GetConnectorHealth"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": "iam:GetUser",
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:ListBucket"
      ],
      "Resource": [
        "arn:aws:s3:::connector-platform-upgrade-info/*",
        "arn:aws:s3:::connector-platform-upgrade-info",
        "arn:aws:s3:::connector-platform-upgrade-bundles/*",
        "arn:aws:s3:::connector-platform-upgrade-bundles",
        "arn:aws:s3:::connector-platform-release-notes/*",
        "arn:aws:s3:::connector-platform-release-notes",
        "arn:aws:s3:::prod.agentless.discovery.connector.upgrade/*",
        "arn:aws:s3:::prod.agentless.discovery.connector.upgrade"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "s3:PutObject",
        "s3:PutObjectAcl"
      ],
      "Resource": [
        "arn:aws:s3:::import-to-ec2-connector-debug-logs/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "SNS:Publish"
      ],
      "Resource": "arn:aws:sns:*:*:metrics-sns-topic-for-*"
    },
    {
      "Sid": "Discovery",
      "Effect": "Allow",
      "Action": [
        "Discovery:*"
      ],
      "Resource": "*"
    },
    {
      "Sid": "arsenal",
      "Effect": "Allow",
      "Action": [
        "arsenal:RegisterOnPremisesAgent"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "mgh:GetHomeRegion"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v2, edited by AWS on 2020-02-24. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService

Terraform

resource "aws_iam_role_policy_attachment" "awsagentlessdiscoveryservice" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSAgentlessDiscoveryService"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSAgentlessDiscoveryService"),
);

Sources

Pending editorial review. No editorial sources are listed yet.