ElastiCacheServiceRolePolicy
Description: This policy allows ElastiCache to manage AWS resources on your behalf as necessary for managing your cache
ElastiCacheServiceRolePolicy
is an AWS managed policy.
Using this policy
This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.
Policy details
-
Type: Service-linked role policy
-
Creation time: December 07, 2017, 17:50 UTC
-
Edited time: November 28, 2023, 03:05 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/ElastiCacheServiceRolePolicy
Policy version
Policy version: v4 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "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/*" } ] }