Skip to main content
IAM Policy Map

AWSCloudMapReadOnlyAccess

ReaderAWS managedActivePermissions reviewedShow on mapCompare

Summary

Provides read-only access to all AWS Cloud Map actions.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSCloudMapReadOnlyAccess
Default version
v2
Created
Last edited
Services
servicediscovery

Control-plane actions (12)

By access level: 1 List, 11 Read.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Cloud Map12 of 311 List, 11 Read; 0 restricted, 0 conditionalservicediscovery:Get*, servicediscovery:List*
Cloud Map: 12 actions
  • servicediscovery:GetInstance (Read)
  • servicediscovery:GetInstancesHealthStatus (Read)
  • servicediscovery:GetNamespace (Read)
  • servicediscovery:GetOperation (Read)
  • servicediscovery:GetResourcePolicy (Read)
  • servicediscovery:GetService (Read)
  • servicediscovery:GetServiceAttributes (Read)
  • servicediscovery:ListInstances (Read)
  • servicediscovery:ListNamespaces (Read)
  • servicediscovery:ListOperations (List)
  • servicediscovery:ListServices (Read)
  • servicediscovery:ListTagsForResource (Read)

Data-plane actions (2)

By access level: 2 Read.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Cloud MapAll 2 actions (see the Cloud Map page)2 Read; 0 restricted, 0 conditionalservicediscovery:DiscoverInstances, servicediscovery:DiscoverInstancesRevision

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: all-resources.

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

Why this tier

  • Grants only List and Read actions.

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": [
        "servicediscovery:Get*",
        "servicediscovery:List*",
        "servicediscovery:DiscoverInstances",
        "servicediscovery:DiscoverInstancesRevision"
      ],
      "Resource": [
        "*"
      ]
    }
  ]
}

Version history

Current version v2, edited by AWS on 2023-09-20. 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/AWSCloudMapReadOnlyAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSCloudMapReadOnlyAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSCloudMapReadOnlyAccess

CloudFormation

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

Terraform

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

CDK (TypeScript)

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

Sources

Pending editorial review. No editorial sources are listed yet.