ROSASRESupportPolicy - AWS 托管策略

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

ROSASRESupportPolicy

描述:为 ROSA 站点可靠性工程(SRE)提供初始观察、诊断和支持与 Red Hat OpenShift Service on AWS(ROSA)集群相关的 AWS 资源所需的权限,包括更改 ROSA 集群节点状态的功能。

ROSASRESupportPolicy 是一项 AWS 托管式策略

使用此策略

您可以将 ROSASRESupportPolicy 附加到您的用户、组和角色。

策略详细信息

  • 类型:服务角色策略

  • 创建时间:2023 年 6 月 1 日 14:36 UTC

  • 编辑时间:2024 年 4 月 10 日 20:51 UTC

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

策略版本

策略版本:v3(默认)

此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时,AWS 会检查策略的默认版本以确定是否允许该请求。

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "ReadPermissions", "Effect" : "Allow", "Action" : [ "ec2:DescribeAvailabilityZones", "ec2:DescribeRegions", "sts:DecodeAuthorizationMessage" ], "Resource" : "*" }, { "Sid" : "Route53", "Effect" : "Allow", "Action" : [ "route53:GetHostedZone", "route53:GetHostedZoneCount", "route53:ListHostedZones", "route53:ListHostedZonesByName", "route53:ListResourceRecordSets" ], "Resource" : [ "*" ] }, { "Sid" : "DecribeIAMRoles", "Effect" : "Allow", "Action" : [ "iam:GetRole", "iam:ListRoles" ], "Resource" : [ "*" ] }, { "Sid" : "EC2DescribeInstance", "Effect" : "Allow", "Action" : [ "ec2:DescribeInstances", "ec2:DescribeInstanceStatus", "ec2:DescribeIamInstanceProfileAssociations", "ec2:DescribeReservedInstances", "ec2:DescribeScheduledInstances" ], "Resource" : [ "*" ] }, { "Sid" : "VPCNetwork", "Effect" : "Allow", "Action" : [ "ec2:DescribeDhcpOptions", "ec2:DescribeNetworkInterfaces", "ec2:DescribeSubnets", "ec2:DescribeRouteTables" ], "Resource" : [ "*" ] }, { "Sid" : "Cloudtrail", "Effect" : "Allow", "Action" : [ "cloudtrail:DescribeTrails", "cloudtrail:LookupEvents" ], "Resource" : [ "*" ] }, { "Sid" : "Cloudwatch", "Effect" : "Allow", "Action" : [ "cloudwatch:GetMetricData", "cloudwatch:GetMetricStatistics", "cloudwatch:ListMetrics" ], "Resource" : [ "*" ] }, { "Sid" : "DescribeVolumes", "Effect" : "Allow", "Action" : [ "ec2:DescribeVolumes", "ec2:DescribeVolumesModifications", "ec2:DescribeVolumeStatus" ], "Resource" : [ "*" ] }, { "Sid" : "DescribeLoadBalancers", "Effect" : "Allow", "Action" : [ "elasticloadbalancing:DescribeAccountLimits", "elasticloadbalancing:DescribeInstanceHealth", "elasticloadbalancing:DescribeListenerCertificates", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeLoadBalancerAttributes", "elasticloadbalancing:DescribeLoadBalancerPolicies", "elasticloadbalancing:DescribeLoadBalancerPolicyTypes", "elasticloadbalancing:DescribeLoadBalancers", "elasticloadbalancing:DescribeRules", "elasticloadbalancing:DescribeSSLPolicies", "elasticloadbalancing:DescribeTags", "elasticloadbalancing:DescribeTargetGroupAttributes", "elasticloadbalancing:DescribeTargetGroups", "elasticloadbalancing:DescribeTargetHealth" ], "Resource" : [ "*" ] }, { "Sid" : "DescribeVPC", "Effect" : "Allow", "Action" : [ "ec2:DescribeVpcEndpointConnections", "ec2:DescribeVpcEndpoints" ], "Resource" : [ "*" ] }, { "Sid" : "DescribeSecurityGroups", "Effect" : "Allow", "Action" : [ "ec2:DescribeSecurityGroupReferences", "ec2:DescribeSecurityGroupRules", "ec2:DescribeSecurityGroups", "ec2:DescribeStaleSecurityGroups" ], "Resource" : "*" }, { "Sid" : "DescribeAddressesAttribute", "Effect" : "Allow", "Action" : "ec2:DescribeAddressesAttribute", "Resource" : "arn:aws:ec2:*:*:elastic-ip/*" }, { "Sid" : "DescribeInstance", "Effect" : "Allow", "Action" : [ "iam:GetInstanceProfile" ], "Resource" : "arn:aws:iam::*:instance-profile/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "DescribeSpotFleetInstances", "Effect" : "Allow", "Action" : "ec2:DescribeSpotFleetInstances", "Resource" : "arn:aws:ec2:*:*:spot-fleet-request/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "DescribeVolumeAttribute", "Effect" : "Allow", "Action" : "ec2:DescribeVolumeAttribute", "Resource" : "arn:aws:ec2:*:*:volume/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "ManageInstanceLifecycle", "Effect" : "Allow", "Action" : [ "ec2:RebootInstances", "ec2:StartInstances", "ec2:StopInstances", "ec2:TerminateInstances" ], "Resource" : "arn:aws:ec2:*:*:instance/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } } ] }

了解更多信息