Skip to main content
IAM Policy Map

ElastiCacheServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

This policy allows ElastiCache to manage AWS resources on your behalf as necessary for managing your cache

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/ElastiCacheServiceRolePolicy
Default version
v4
Created
Last edited
Services
cloudwatch, ec2, outposts

Control-plane actions (21)

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

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC217 of 8346 List, 1 Tagging, 10 Write; 2 restricted, 2 conditionalec2:AuthorizeSecurityGroupIngress, ec2:CreateNetworkInterface, ec2:CreateSecurityGroup, ec2:CreateTags, ec2:CreateVpcEndpoint, ec2:DeleteNetworkInterface, ec2:DeleteSecurityGroup, ec2:DeleteVpcEndpoints, ec2:DescribeAvailabilityZones, ec2:DescribeNetworkInterfaces, ec2:DescribeSecurityGroups, ec2:DescribeSubnets and 5 more
Outposts4 of 442 List, 2 Read; 0 restricted, 0 conditionaloutposts:GetOutpost, outposts:GetOutpostInstanceTypes, outposts:ListOutposts, outposts:ListSites
EC2: 17 actions
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateTags (Tagging)
  • ec2:CreateVpcEndpoint (Write)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DeleteVpcEndpoints (Write)
  • ec2:DescribeAvailabilityZones (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcEndpoints (List)
  • ec2:DescribeVpcs (List)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:ModifyVpcEndpoint (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
Outposts: 4 actions
  • outposts:GetOutpost (Read)
  • outposts:GetOutpostInstanceTypes (Read)
  • outposts:ListOutposts (List)
  • outposts:ListSites (List)

Data-plane actions (1)

By access level: 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
CloudWatch1 of 51 Write; 0 restricted, 0 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": "ElastiCacheManagementActions",
      "Effect": "Allow",
      "Action": [
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:CreateNetworkInterface",
        "ec2:CreateSecurityGroup",
        "ec2:DeleteNetworkInterface",
        "ec2:DeleteSecurityGroup",
        "ec2:DescribeAvailabilityZones",
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcs",
        "ec2:DescribeVpcEndpoints",
        "ec2:ModifyNetworkInterfaceAttribute",
        "ec2:RevokeSecurityGroupIngress",
        "cloudwatch:PutMetricData",
        "outposts:GetOutpost",
        "outposts:GetOutpostInstanceTypes",
        "outposts:ListOutposts",
        "outposts:ListSites"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CreateDeleteVPCEndpoints",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateVpcEndpoint",
        "ec2:DeleteVpcEndpoints"
      ],
      "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringLike": {
          "ec2:VpceServiceName": "com.amazonaws.elasticache.serverless.*"
        }
      }
    },
    {
      "Sid": "TagVPCEndpointsOnCreation",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringEquals": {
          "ec2:CreateAction": "CreateVpcEndpoint",
          "aws:RequestTag/AmazonElastiCacheManaged": "true"
        }
      }
    },
    {
      "Sid": "ModifyVpcEndpoints",
      "Effect": "Allow",
      "Action": [
        "ec2:ModifyVpcEndpoint"
      ],
      "Resource": "arn:aws:ec2:*:*:vpc-endpoint/*",
      "Condition": {
        "StringEquals": {
          "ec2:ResourceTag/AmazonElastiCacheManaged": "true"
        }
      }
    },
    {
      "Sid": "AllowAccessToElastiCacheTaggedVpcEndpoints",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateVpcEndpoint",
        "ec2:ModifyVpcEndpoint"
      ],
      "NotResource": "arn:aws:ec2:*:*:vpc-endpoint/*"
    }
  ]
}

Version history

Current version v4, edited by AWS on 2023-11-28. 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.