ROSAControlPlaneOperatorPolicy - AWS 受管理策略

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

ROSAControlPlaneOperatorPolicy

描述:允許紅帽 OpenShift 服務 AWS (ROSA) 控制平面管理 ROSA 叢集 Amazon EC2 和 Amazon Route 53 資源。

ROSAControlPlaneOperatorPolicyAWS 受管理的策略

使用此政策

您可以附加ROSAControlPlaneOperatorPolicy至您的使用者、群組和角色。

政策詳情

  • 類型:服務角色策略

  • 創建時間:2020 年 4 月 24 日, 世界標準時間 23:02

  • 編輯時間:世界標準時間 2023 年 6 月 30 日晚上 9 時 12 分

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

政策版本

策略版本:v2(預設值)

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

政策文件

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "ReadPermissions", "Effect" : "Allow", "Action" : [ "ec2:DescribeVpcEndpoints", "ec2:DescribeVpcs", "ec2:DescribeSecurityGroups", "route53:ListHostedZones" ], "Resource" : "*" }, { "Sid" : "CreateSecurityGroups", "Effect" : "Allow", "Action" : [ "ec2:CreateSecurityGroup" ], "Resource" : [ "arn:aws:ec2:*:*:security-group*/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Sid" : "DeleteSecurityGroup", "Effect" : "Allow", "Action" : [ "ec2:DeleteSecurityGroup" ], "Resource" : [ "arn:aws:ec2:*:*:security-group*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "SecurityGroupIngressEgress", "Effect" : "Allow", "Action" : [ "ec2:AuthorizeSecurityGroupIngress", "ec2:AuthorizeSecurityGroupEgress", "ec2:RevokeSecurityGroupIngress", "ec2:RevokeSecurityGroupEgress" ], "Resource" : [ "arn:aws:ec2:*:*:security-group*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateSecurityGroupsVPCNoCondition", "Effect" : "Allow", "Action" : [ "ec2:CreateSecurityGroup" ], "Resource" : [ "arn:aws:ec2:*:*:vpc/*" ] }, { "Sid" : "ListResourceRecordSets", "Effect" : "Allow", "Action" : [ "route53:ListResourceRecordSets" ], "Resource" : [ "*" ] }, { "Sid" : "ChangeResourceRecordSetsRestrictedRecordNames", "Effect" : "Allow", "Action" : [ "route53:ChangeResourceRecordSets" ], "Resource" : [ "*" ], "Condition" : { "ForAllValues:StringLike" : { "route53:ChangeResourceRecordSetsNormalizedRecordNames" : [ "*.hypershift.local" ] } } }, { "Sid" : "VPCEndpointWithCondition", "Effect" : "Allow", "Action" : [ "ec2:CreateVpcEndpoint" ], "Resource" : [ "arn:aws:ec2:*:*:vpc-endpoint/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Sid" : "VPCEndpointResourceTagCondition", "Effect" : "Allow", "Action" : [ "ec2:CreateVpcEndpoint" ], "Resource" : [ "arn:aws:ec2:*:*:security-group*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "VPCEndpointNoCondition", "Effect" : "Allow", "Action" : [ "ec2:CreateVpcEndpoint" ], "Resource" : [ "arn:aws:ec2:*:*:vpc/*", "arn:aws:ec2:*:*:subnet/*", "arn:aws:ec2:*:*:route-table/*" ] }, { "Sid" : "ManageVPCEndpointWithCondition", "Effect" : "Allow", "Action" : [ "ec2:ModifyVpcEndpoint", "ec2:DeleteVpcEndpoints" ], "Resource" : [ "arn:aws:ec2:*:*:vpc-endpoint/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "ModifyVPCEndpoingNoCondition", "Effect" : "Allow", "Action" : [ "ec2:ModifyVpcEndpoint" ], "Resource" : [ "arn:aws:ec2:*:*:subnet/*" ] }, { "Sid" : "CreateTagsRestrictedActions", "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*:*:vpc-endpoint/*", "arn:aws:ec2:*:*:security-group/*" ], "Condition" : { "StringEquals" : { "ec2:CreateAction" : [ "CreateVpcEndpoint", "CreateSecurityGroup" ] } } } ] }

進一步了解