Skip to main content
IAM Policy Map

AmazonElasticsearchServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Allow Amazon Elasticsearch Service to access other AWS services such as EC2 Networking APIs 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/AmazonElasticsearchServiceRolePolicy
Default version
v8
Created
Last edited
Services
acm, cloudwatch, ec2, elasticloadbalancing

Control-plane actions (17)

By access level: 5 List, 1 Read, 1 Tagging, 10 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Certificate Manager1 of 421 Read; 0 restricted, 0 conditionalacm:DescribeCertificate
EC214 of 8345 List, 1 Tagging, 8 Write; 6 restricted, 1 conditionalec2:AssignIpv6Addresses, ec2:CreateNetworkInterface, ec2:CreateTags, ec2:CreateVpcEndpoint, ec2:DeleteNetworkInterface, ec2:DeleteVpcEndpoints, ec2:DescribeNetworkInterfaces, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcEndpoints, ec2:DescribeVpcs, ec2:ModifyNetworkInterfaceAttribute and 2 more
ELB2 of 772 Write; 0 restricted, 0 conditionalelasticloadbalancing:AddListenerCertificates, elasticloadbalancing:RemoveListenerCertificates
Certificate Manager: 1 actions
  • acm:DescribeCertificate (Read)
EC2: 14 actions
  • ec2:AssignIpv6Addresses (Write)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateTags (Tagging)
  • ec2:CreateVpcEndpoint (Write)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteVpcEndpoints (Write)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DescribeVpcs (List)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:ModifyVpcEndpoint (Write)
  • ec2:UnassignIpv6Addresses (Write)
ELB: 2 actions
  • elasticloadbalancing:AddListenerCertificates (Write)
  • elasticloadbalancing:RemoveListenerCertificates (Write)

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: mixed.

Can be attached: No (service-linked role policy).

Why this tier

  • Grants 12 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": [
    {
      "Sid": "Stmt1480452973134",
      "Action": [
        "ec2:CreateNetworkInterface",
        "ec2:DeleteNetworkInterface",
        "ec2:DescribeNetworkInterfaces",
        "ec2:ModifyNetworkInterfaceAttribute",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "elasticloadbalancing:AddListenerCertificates",
        "elasticloadbalancing:RemoveListenerCertificates"
      ],
      "Effect": "Allow",
      "Resource": "*"
    },
    {
      "Sid": "Stmt1480452973135",
      "Effect": "Allow",
      "Action": [
        "acm:DescribeCertificate"
      ],
      "Resource": "*"
    },
    {
      "Sid": "Stmt1480452973136",
      "Effect": "Allow",
      "Action": "cloudwatch:PutMetricData",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "cloudwatch:namespace": "AWS/ES"
        }
      }
    },
    {
      "Sid": "Stmt1480452973198",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateVpcEndpoint",
        "ec2:ModifyVpcEndpoint"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:vpc/*",
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:subnet/*",
        "arn:aws:ec2:*:*:route-table/*"
      ]
    },
    {
      "Sid": "Stmt1480452973199",
      "Effect": "Allow",
      "Action": "ec2:CreateVpcEndpoint",
      "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringEquals": {
          "aws:RequestTag/OpenSearchManaged": "true"
        }
      }
    },
    {
      "Sid": "Stmt1480452973200",
      "Effect": "Allow",
      "Action": [
        "ec2:ModifyVpcEndpoint",
        "ec2:DeleteVpcEndpoints"
      ],
      "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/OpenSearchManaged": "true"
        }
      }
    },
    {
      "Sid": "Stmt1480452973201",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeVpcEndpoints"
      ],
      "Resource": "*"
    },
    {
      "Sid": "Stmt1480452973149",
      "Effect": "Allow",
      "Action": [
        "ec2:AssignIpv6Addresses"
      ],
      "Resource": "arn:aws:ec2:*:*:network-interface/*"
    },
    {
      "Sid": "Stmt1480452973150",
      "Effect": "Allow",
      "Action": [
        "ec2:UnAssignIpv6Addresses"
      ],
      "Resource": "arn:aws:ec2:*:*:network-interface/*"
    },
    {
      "Sid": "Stmt1480452973194",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:network-interface/*"
      ]
    },
    {
      "Sid": "Stmt1480452973202",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringEquals": {
          "ec2:CreateAction": "CreateVpcEndpoint"
        }
      }
    }
  ]
}

Version history

Current version v8, edited by AWS on 2026-06-22. 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.