ElastiCacheServiceRolePolicy - AWS 受管政策

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

ElastiCacheServiceRolePolicy

描述:此原則可 ElastiCache 讓您視需要管理快取而代表您管理 AWS 資源

ElastiCacheServiceRolePolicyAWS 受管理的策略

使用此政策

此原則附加至服務連結角色,可讓服務代表您執行動作。您無法將此政策連接至使用者、群組或角色。

政策詳情

  • 類型:服務連結角色原則

  • 創建時間:2017 年 12 月 7 日, 世界標準時間 17:50

  • 編輯時間:世界標準時間十一月二十八日,下午五時五分

  • ARN: arn:aws:iam::aws:policy/aws-service-role/ElastiCacheServiceRolePolicy

政策版本

策略版本:v4(預設值)

原則的預設版本是定義原則權限的版本。當具有該策略的使用者或角色發出要求以存取 AWS 資源時,請 AWS 檢查原則的預設版本以決定是否允許該要求。

政策文件

{ "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/*" } ] }

進一步了解