EC2InstanceProfileForImageBuilder - AWS 受管政策

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

EC2InstanceProfileForImageBuilder

描述:Image Builder 服務的 EC2 執行個體描述檔。

EC2InstanceProfileForImageBuilderAWS 受管政策

使用此政策

您可以EC2InstanceProfileForImageBuilder連接到您的使用者、群組和角色。

政策詳細資訊

  • 類型: AWS 受管政策

  • 建立時間:2019 年 12 月 1 日 19:08 UTC

  • 編輯時間:2024 年 12 月 26 日 23:52 UTC

  • ARN: arn:aws:iam::aws:policy/EC2InstanceProfileForImageBuilder

政策版本

政策版本: v5 (預設)

政策的預設版本是定義政策許可的版本。當具有 政策的使用者或角色提出存取 AWS 資源的請求時, 會 AWS 檢查政策的預設版本,以決定是否允許請求。

JSON 政策文件

{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:DescribeVolumes", "ec2:DescribeSnapshots" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:CreateSnapshot" ], "Resource" : [ "arn:aws:ec2:*:*:snapshot/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/CreatedBy" : "EC2 Image Builder" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateSnapshot" ], "Resource" : [ "arn:aws:ec2:*:*:volume/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/CreatedBy" : "EC2 Image Builder" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateTags" ], "Resource" : "*", "Condition" : { "StringEquals" : { "ec2:CreateAction" : "CreateSnapshot", "aws:RequestTag/CreatedBy" : [ "EC2 Image Builder" ] } } }, { "Effect" : "Allow", "Action" : [ "s3:GetObject" ], "Resource" : "arn:aws:s3:::*/*.ISO", "Condition" : { "StringEquals" : { "s3:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Effect" : "Allow", "Action" : [ "imagebuilder:GetComponent", "imagebuilder:GetMarketplaceResource" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "kms:Decrypt" ], "Resource" : "*", "Condition" : { "ForAnyValue:StringEquals" : { "kms:EncryptionContextKeys" : "aws:imagebuilder:arn", "aws:CalledVia" : [ "imagebuilder.amazonaws.com" ] } } }, { "Effect" : "Allow", "Action" : [ "s3:GetObject" ], "Resource" : "arn:aws:s3:::ec2imagebuilder*" }, { "Effect" : "Allow", "Action" : [ "logs:CreateLogStream", "logs:CreateLogGroup", "logs:PutLogEvents" ], "Resource" : "arn:aws:logs:*:*:log-group:/aws/imagebuilder/*" } ] }

進一步了解