本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
AWSTransformInfrastructureExecutorAccessBatch
描述:向执行角色授予执行 T AWS ransform 持续现代化所需的权限,使其 CLI/agent 能够 assessments/transformations 使用 B AWS atch 运行,包括上传源代码、检索结果、监控批处理作业状态、读取日志和管理转换计划。
AWSTransformInfrastructureExecutorAccessBatch 是一项 AWS 托管式策略。
使用此策略
您可以将 AWSTransformInfrastructureExecutorAccessBatch 附加到您的用户、组和角色。
策略详细信息
-
类型: AWS 托管策略
-
创建时间:世界标准时间 2026 年 7 月 20 日 20:12
-
编辑时间:世界标准时间 2026 年 7 月 28 日 15:42
-
ARN:
arn:aws:iam::aws:policy/AWSTransformInfrastructureExecutorAccessBatch
策略版本
策略版本:v2(默认)
此策略的默认版本是定义策略权限的版本。当具有该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "LambdaInvokeATXFunctions", "Effect" : "Allow", "Action" : [ "lambda:InvokeFunction", "lambda:GetFunctionConfiguration" ], "Resource" : [ "arn:aws:lambda:*:*:function:atx-trigger-job-*", "arn:aws:lambda:*:*:function:atx-trigger-batch-jobs-*", "arn:aws:lambda:*:*:function:atx-get-job-status-*", "arn:aws:lambda:*:*:function:atx-get-batch-status-*", "arn:aws:lambda:*:*:function:atx-list-jobs-*", "arn:aws:lambda:*:*:function:atx-list-batches-*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "S3UploadSourceCode", "Effect" : "Allow", "Action" : [ "s3:PutObject", "s3:GetObject", "s3:ListBucket", "s3:AbortMultipartUpload" ], "Resource" : [ "arn:aws:s3:::atx-source-code-*", "arn:aws:s3:::atx-source-code-*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "S3DownloadResults", "Effect" : "Allow", "Action" : [ "s3:GetObject", "s3:ListBucket" ], "Resource" : [ "arn:aws:s3:::atx-custom-output-*", "arn:aws:s3:::atx-custom-output-*/*", "arn:aws:s3:::atx-ct-output-*", "arn:aws:s3:::atx-ct-output-*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "S3WriteBatchSidecar", "Effect" : "Allow", "Action" : [ "s3:PutObject", "s3:AbortMultipartUpload" ], "Resource" : [ "arn:aws:s3:::atx-custom-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" : "CloudWatchReadLogs", "Effect" : "Allow", "Action" : [ "logs:GetLogEvents", "logs:FilterLogEvents", "logs:DescribeLogStreams" ], "Resource" : [ "arn:aws:logs:*:*:log-group:/aws/batch/atx-transform*", "arn:aws:logs:*:*:log-group:/aws/batch/job*", "arn:aws:logs:*:*:log-group:AtxVpc*", "arn:aws:logs:*:*:log-group:/aws/lambda/atx-*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "CloudWatchDashboard", "Effect" : "Allow", "Action" : [ "cloudwatch:GetDashboard", "cloudwatch:ListDashboards" ], "Resource" : [ "arn:aws:cloudwatch::*:dashboard/ATX-Transform-CLI-Dashboard", "arn:aws:cloudwatch::*:dashboard/ATX-Transform-CLI-Dashboard-*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "BatchDescribe", "Effect" : "Allow", "Action" : [ "batch:DescribeComputeEnvironments", "batch:DescribeJobQueues", "batch:DescribeJobDefinitions", "batch:DescribeJobs", "batch:ListJobs" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "CheckInfrastructureStatus", "Effect" : "Allow", "Action" : "cloudformation:DescribeStacks", "Resource" : [ "arn:aws:cloudformation:*:*:stack/AtxInfrastructureStack/*", "arn:aws:cloudformation:*:*:stack/AtxInfrastructureStack-*/*", "arn:aws:cloudformation:*:*:stack/atx-*", "arn:aws:cloudformation:*:*:stack/atx-*/*", "arn:aws:cloudformation:*:*:stack/AtxSecurityAgentStack-*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SecretsManagerATXSecrets", "Effect" : "Allow", "Action" : [ "secretsmanager:GetSecretValue", "secretsmanager:DescribeSecret" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:atx/*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "SchedulerManage", "Effect" : "Allow", "Action" : [ "scheduler:CreateSchedule", "scheduler:DeleteSchedule", "scheduler:GetSchedule", "scheduler:UpdateSchedule", "scheduler:GetScheduleGroup", "scheduler:ListSchedules" ], "Resource" : [ "arn:aws:scheduler:*:*:schedule-group/atx-ct", "arn:aws:scheduler:*:*:schedule-group/atx-ct-*", "arn:aws:scheduler:*:*:schedule/atx-ct/*", "arn:aws:scheduler:*:*:schedule/atx-ct-*/*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "PassSchedulerRole", "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" : "EC2NetworkDiscovery", "Effect" : "Allow", "Action" : [ "ec2:DescribeVpcs", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "ec2:DescribeRouteTables", "ec2:DescribeNatGateways" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "IAMReadRoles", "Effect" : "Allow", "Action" : [ "iam:GetRole", "iam:ListAttachedRolePolicies", "iam:GetRolePolicy" ], "Resource" : [ "arn:aws:iam::*:role/ATX*", "arn:aws:iam::*:role/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}" } } } ] }