Skip to main content
IAM Policy Map

AWSM2ServicePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Allows AWS M2 to manage AWS resources on your behalf.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSM2ServicePolicy
Default version
v1
Created
Last edited
Services
cloudwatch, ec2, elasticfilesystem, elasticloadbalancing, fsx

Control-plane actions (10)

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

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC26 of 8342 List, 1 Permissions management, 3 Write; 0 restricted, 0 conditionalec2:CreateNetworkInterface, ec2:CreateNetworkInterfacePermission, ec2:DeleteNetworkInterface, ec2:DescribeNetworkInterfaces, ec2:DescribeSubnets, ec2:ModifyNetworkInterfaceAttribute
EFS1 of 381 Read; 0 restricted, 0 conditionalelasticfilesystem:DescribeMountTargets
ELB2 of 772 Write; 0 restricted, 0 conditionalelasticloadbalancing:DeregisterTargets, elasticloadbalancing:RegisterTargets
FSx1 of 561 Read; 0 restricted, 0 conditionalfsx:DescribeFileSystems
EC2: 6 actions
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateNetworkInterfacePermission (Permissions management)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSubnets (List)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
EFS: 1 actions
  • elasticfilesystem:DescribeMountTargets (Read)
ELB: 2 actions
  • elasticloadbalancing:DeregisterTargets (Write)
  • elasticloadbalancing:RegisterTargets (Write)
FSx: 1 actions
  • fsx:DescribeFileSystems (Read)

Data-plane actions (1)

By access level: 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Write; 1 restricted, 1 conditionalcloudwatch:PutMetricData
CloudWatch: 1 actions
  • cloudwatch:PutMetricData (Write)

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: No (service-linked role policy).

Why this tier

  • Grants 7 write, tagging or permissions-management actions, short of full control of any service.

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": [
        "ec2:DescribeSubnets",
        "ec2:CreateNetworkInterface",
        "ec2:DeleteNetworkInterface",
        "ec2:DescribeNetworkInterfaces",
        "ec2:CreateNetworkInterfacePermission",
        "ec2:ModifyNetworkInterfaceAttribute"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticfilesystem:DescribeMountTargets"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:RegisterTargets",
        "elasticloadbalancing:DeregisterTargets"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "fsx:DescribeFileSystems"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "cloudwatch:PutMetricData"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "cloudwatch:namespace": [
            "AWS/M2"
          ]
        }
      }
    }
  ]
}

Version history

Current version v1, edited by AWS on 2022-06-07. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.