View a markdown version of this page

AWSTransformInfrastructureExecutorAccessEC2 - AWS 受管政策

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

AWSTransformInfrastructureExecutorAccessEC2

描述:授予開發人員執行角色使用 EC2 執行 AWS Transform Continuous Modernization CLI/agent 執行評估/轉換所需的許可,包括上傳原始程式碼、擷取結果、監控任務狀態、讀取日誌和管理轉換排程。

AWSTransformInfrastructureExecutorAccessEC2AWS 受管政策

使用此政策

您可以將 AWSTransformInfrastructureExecutorAccessEC2 連接至使用者、群組與角色。

政策詳細資訊

  • 類型: AWS 受管政策

  • 建立時間:2026 年 7 月 20 日 20:12 UTC

  • 編輯時間:2026 年 7 月 28 日 15:42 UTC

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

政策版本

政策版本: v2 (預設)

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

JSON 政策文件

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "CFNRead", "Effect" : "Allow", "Action" : [ "cloudformation:DescribeStacks", "cloudformation:DescribeStackEvents", "cloudformation:DescribeStackResources", "cloudformation:DescribeStackDriftDetectionStatus" ], "Resource" : [ "arn:aws:cloudformation:*:*:stack/atx-*/*", "arn:aws:cloudformation:*:*:stack/AtxSecurityAgentStack-*/*" ] }, { "Sid" : "CFNValidateTemplate", "Effect" : "Allow", "Action" : "cloudformation:ValidateTemplate", "Resource" : "*" }, { "Sid" : "EC2Desc", "Effect" : "Allow", "Action" : [ "ec2:DescribeInstances", "ec2:DescribeImages", "ec2:DescribeVpcs", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "ec2:DescribeKeyPairs", "ec2:DescribeRouteTables", "ec2:DescribeNatGateways", "ec2:DescribeInternetGateways" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "EC2PowerState", "Effect" : "Allow", "Action" : [ "ec2:StartInstances", "ec2:StopInstances" ], "Resource" : "arn:aws:ec2:*:*:instance/*", "Condition" : { "StringEquals" : { "ec2:ResourceTag/atx-remote-infra" : "true" } } }, { "Sid" : "SSMRead", "Effect" : "Allow", "Action" : [ "ssm:GetCommandInvocation", "ssm:ListCommands", "ssm:ListCommandInvocations", "ssm:DescribeInstanceInformation", "ssm:DescribeSessions" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SSMTgt", "Effect" : "Allow", "Action" : [ "ssm:SendCommand", "ssm:StartSession" ], "Resource" : "arn:aws:ec2:*:*:instance/*", "Condition" : { "StringEquals" : { "ssm:resourceTag/atx-remote-infra" : "true" } } }, { "Sid" : "SSMDocs", "Effect" : "Allow", "Action" : "ssm:SendCommand", "Resource" : "arn:aws:ssm:*::document/AWS-RunShellScript" }, { "Sid" : "S3Data", "Effect" : "Allow", "Action" : [ "s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:ListBucket" ], "Resource" : [ "arn:aws:s3:::atx-source-code-*", "arn:aws:s3:::atx-source-code-*/*", "arn:aws:s3:::atx-ct-output-*", "arn:aws:s3:::atx-ct-output-*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "KMSEncryptDecrypt", "Effect" : "Allow", "Action" : [ "kms:Encrypt", "kms:Decrypt", "kms:GenerateDataKey" ], "Resource" : "arn:aws:kms:*:*:key/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" }, "ForAnyValue:StringLike" : { "kms:ResourceAliases" : [ "alias/atx-encryption-key", "alias/atx-encryption-key-*" ] } } }, { "Sid" : "SM", "Effect" : "Allow", "Action" : [ "secretsmanager:GetSecretValue", "secretsmanager:DescribeSecret" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:atx/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SMList", "Effect" : "Allow", "Action" : "secretsmanager:ListSecrets", "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SchedLifecycle", "Effect" : "Allow", "Action" : [ "scheduler:CreateSchedule", "scheduler:DeleteSchedule", "scheduler:GetSchedule", "scheduler:UpdateSchedule" ], "Resource" : [ "arn:aws:scheduler:*:*:schedule/atx-ct/*", "arn:aws:scheduler:*:*:schedule/atx-ct-*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SchedGroupRead", "Effect" : "Allow", "Action" : "scheduler:GetScheduleGroup", "Resource" : [ "arn:aws:scheduler:*:*:schedule-group/atx-ct", "arn:aws:scheduler:*:*:schedule-group/atx-ct-*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SchedList", "Effect" : "Allow", "Action" : [ "scheduler:ListSchedules", "scheduler:ListScheduleGroups" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "IAMPassEC2InstanceRole", "Effect" : "Allow", "Action" : "iam:PassRole", "Resource" : [ "arn:aws:iam::*:role/atx-transform-role", "arn:aws:iam::*:role/atx-transform-role-*" ], "Condition" : { "StringEquals" : { "iam:PassedToService" : "ec2.amazonaws.com", "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "IAMPassSchedulerRole", "Effect" : "Allow", "Action" : "iam:PassRole", "Resource" : [ "arn:aws:iam::*:role/AtxSchedulerInvocationRole", "arn:aws:iam::*:role/AtxSchedulerInvocationRole-*" ], "Condition" : { "StringEquals" : { "iam:PassedToService" : "scheduler.amazonaws.com", "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "IAMReadRoles", "Effect" : "Allow", "Action" : [ "iam:GetRole", "iam:ListAttachedRolePolicies", "iam:ListRolePolicies", "iam:GetRolePolicy" ], "Resource" : [ "arn:aws:iam::*:role/atx-*", "arn:aws:iam::*:role/Atx*", "arn:aws:iam::*:role/ATX*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "IAMReadInstanceProfile", "Effect" : "Allow", "Action" : "iam:GetInstanceProfile", "Resource" : [ "arn:aws:iam::*:instance-profile/atx-*", "arn:aws:iam::*:instance-profile/Atx*", "arn:aws:iam::*:instance-profile/ATX*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "TagGetATXStacks", "Effect" : "Allow", "Action" : "tag:GetResources", "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "CFNListStacksForDetect", "Effect" : "Allow", "Action" : "cloudformation:ListStacks", "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } } ] }

進一步了解