本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
ROSAKubeControllerPolicy
描述:允许 ROSA Kubernetes 控制器管理 ROSA 集群的 Amazon EC2、弹性负载均衡(ELB)和 AWS Key Management Service(KMS)资源。
ROSAKubeControllerPolicy
是一项 AWS 托管式策略。
使用此策略
您可以将 ROSAKubeControllerPolicy
附加到您的用户、组和角色。
策略详细信息
-
类型:服务角色策略
-
创建时间:2023 年 4 月 27 日 20:09 UTC
-
编辑时间:2023 年 10 月 16 日 18:17 UTC
-
ARN:
arn:aws:iam::aws:policy/service-role/ROSAKubeControllerPolicy
策略版本
策略版本:v3(默认)
此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时,AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "ReadPermissions", "Effect" : "Allow", "Action" : [ "ec2:DescribeAvailabilityZones", "ec2:DescribeInstances", "ec2:DescribeRouteTables", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "elasticloadbalancing:DescribeLoadBalancers", "elasticloadbalancing:DescribeLoadBalancerAttributes", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeTargetGroups", "elasticloadbalancing:DescribeTargetHealth", "elasticloadbalancing:DescribeLoadBalancerPolicies" ], "Resource" : [ "*" ] }, { "Sid" : "KMSDescribeKey", "Effect" : "Allow", "Action" : [ "kms:DescribeKey" ], "Resource" : [ "*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat" : "true" } } }, { "Sid" : "LoadBalanacerManagement", "Effect" : "Allow", "Action" : [ "elasticloadbalancing:AddTags", "elasticloadbalancing:ConfigureHealthCheck", "elasticloadbalancing:CreateLoadBalancerPolicy", "elasticloadbalancing:DeleteLoadBalancer", "elasticloadbalancing:DeregisterInstancesFromLoadBalancer", "elasticloadbalancing:ModifyLoadBalancerAttributes", "elasticloadbalancing:RegisterInstancesWithLoadBalancer", "elasticloadbalancing:SetLoadBalancerPoliciesForBackendServer" ], "Resource" : [ "*" ] }, { "Sid" : "CreateTargetGroup", "Effect" : "Allow", "Action" : [ "elasticloadbalancing:CreateTargetGroup" ], "Resource" : [ "*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Sid" : "LoadBalanacerManagementResourceTag", "Effect" : "Allow", "Action" : [ "elasticloadbalancing:DeleteListener", "elasticloadbalancing:RegisterTargets", "elasticloadbalancing:ModifyTargetGroup", "elasticloadbalancing:DeleteTargetGroup", "elasticloadbalancing:ApplySecurityGroupsToLoadBalancer", "elasticloadbalancing:CreateLoadBalancerListeners", "elasticloadbalancing:DeleteLoadBalancerListeners", "elasticloadbalancing:AttachLoadBalancerToSubnets", "elasticloadbalancing:DetachLoadBalancerFromSubnets", "elasticloadbalancing:ModifyListener", "elasticloadbalancing:SetLoadBalancerPoliciesOfListener" ], "Resource" : [ "*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateListeners", "Effect" : "Allow", "Action" : [ "elasticloadbalancing:CreateListener" ], "Resource" : [ "*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true", "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateSecurityGroup", "Effect" : "Allow", "Action" : [ "ec2:CreateSecurityGroup" ], "Resource" : [ "arn:aws:ec2:*:*:security-group/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateSecurityGroupVpc", "Effect" : "Allow", "Action" : [ "ec2:CreateSecurityGroup" ], "Resource" : [ "arn:aws:ec2:*:*:vpc/*" ] }, { "Sid" : "CreateLoadBalancer", "Effect" : "Allow", "Action" : [ "elasticloadbalancing:CreateLoadBalancer" ], "Resource" : [ "arn:aws:elasticloadbalancing:*:*:loadbalancer/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Sid" : "ModifySecurityGroup", "Effect" : "Allow", "Action" : [ "ec2:AuthorizeSecurityGroupIngress", "ec2:RevokeSecurityGroupIngress", "ec2:DeleteSecurityGroup" ], "Resource" : [ "arn:aws:ec2:*:*:security-group/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateTagsSecurityGroups", "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*:*:security-group/*" ], "Condition" : { "StringEquals" : { "ec2:CreateAction" : "CreateSecurityGroup" } } } ] }