ROSAAmazonEBSCSIDriverOperatorPolicy - AWS 托管策略

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

ROSAAmazonEBSCSIDriverOperatorPolicy

描述:允许 OpenShift 亚马逊 EBS 容器存储接口 (CSI) 驱动程序操作员在红帽 OpenShift 服务 AWS (ROSA) 集群上安装和维护 Amazon EBS CSI 驱动程序。Amazon EBS CSI 驱动程序允许 ROSA 集群管理 Amazon EBS 持久卷的生命周期。

ROSAAmazonEBSCSIDriverOperatorPolicy 是一项 AWS 托管式策略

使用此策略

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

策略详细信息

  • 类型:服务角色策略

  • 创建时间:2023 年 4 月 20 日 22:36 UTC

  • 编辑时间:世界标准时间 2025 年 1 月 22 日 00:52

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

策略版本

策略版本:v2 (默认值)

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

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:DescribeInstances", "ec2:DescribeSnapshots", "ec2:DescribeTags", "ec2:DescribeVolumes", "ec2:DescribeVolumesModifications" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:AttachVolume", "ec2:DetachVolume" ], "Resource" : [ "arn:aws:ec2:*:*:instance/*", "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Effect" : "Allow", "Action" : [ "ec2:DeleteVolume", "ec2:ModifyVolume" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateVolume" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateVolumeFromSnapshot", "Effect" : "Allow", "Action" : [ "ec2:CreateVolume" ], "Resource" : [ "arn:aws:ec2:*:*:snapshot/*" ] }, { "Sid" : "CreateSnapshotResourceTag", "Effect" : "Allow", "Action" : [ "ec2:CreateSnapshot" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Sid" : "CreateSnapshotRequestTag", "Effect" : "Allow", "Action" : [ "ec2:CreateSnapshot" ], "Resource" : [ "arn:aws:ec2:*:*:snapshot/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/red-hat-managed" : "true" } } }, { "Effect" : "Allow", "Action" : [ "ec2:DeleteSnapshot" ], "Resource" : [ "arn:aws:ec2:*:*:snapshot/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/red-hat-managed" : "true" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*", "arn:aws:ec2:*:*:snapshot/*" ], "Condition" : { "StringEquals" : { "ec2:CreateAction" : [ "CreateVolume", "CreateSnapshot" ] } } } ] }

了解更多信息