AWSAgentlessDiscoveryService
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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| Application Discovery Arsenal | All 1 actions (see the Application Discovery Arsenal page) | 1 Write; 0 restricted, 0 conditional | arsenal:RegisterOnPremisesAgent |
| Connector Service | 2 of 3 | 1 Read, 1 Write; 0 restricted, 0 conditional | awsconnector:GetConnectorHealth, awsconnector:RegisterConnector |
| Application Discovery | All 29 actions (see the Application Discovery page) | 3 List, 9 Read, 2 Tagging, 15 Write; 0 restricted, 0 conditional | Discovery:* |
| IAM | 1 of 190 | 1 Read; 0 restricted, 0 conditional | iam:GetUser |
| Migration Hub | 1 of 46 | 1 Read; 0 restricted, 0 conditional | mgh: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.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| S3 | 4 of 25 | 1 List, 1 Permissions management, 1 Read, 1 Write; 4 restricted, 0 conditional | s3:GetObject, s3:ListBucket, s3:PutObject, s3:PutObjectAcl |
| SNS | All 1 actions (see the SNS page) | 1 Write; 1 restricted, 0 conditional | SNS: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.
Related policies
Same service
- AccessAnalyzerServiceRolePolicy
- AdministratorAccess-AWSElasticBeanstalk
- AmazonAppFlowFullAccess
- AmazonAppStreamServiceAccess
- AmazonBedrockStudioPermissionsBoundary
- AmazonBraketJobsExecutionPolicy
- AmazonBraketServiceRolePolicy
- AmazonCloudWatchEvidentlyFullAccess
Same domain
- AWSApplicationDiscoveryAgentAccess
- AWSApplicationDiscoveryServiceFullAccess
- AWSApplicationMigrationAgentInstallationPolicy
- AWSApplicationMigrationAgentPolicy
- AWSApplicationMigrationAgentPolicy_v2
- AWSApplicationMigrationConversionServerPolicy
- AWSApplicationMigrationFullAccess
- AWSApplicationMigrationMGHAccess
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
{
"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/AWSAgentlessDiscoveryServiceCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSAgentlessDiscoveryServiceTerraform
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.