本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
AWSMigrationHubStrategyCollector
說明:授予許可以允許與 AWS Migration Hub 策略建議服務通訊、與服務相關的 S3 儲存貯體的讀取/寫入存取權、Amazon API Gateway 存取上傳日誌和指標 AWS、 AWS Secrets Manager 以擷取登入資料的存取權,以及任何相關服務。
AWSMigrationHubStrategyCollector
是AWS 受管理的策略。
使用此政策
您可以附加AWSMigrationHubStrategyCollector
至您的使用者、群組和角色。
政策詳情
-
類型: AWS 受管理的策略
-
創建時間:2021 年 10 月 19 日, 世界標準時間 20:15
-
編輯時間:世界標準時間 2024 年 4 月 1 日, 16:21
-
ARN:
arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector
政策版本
策略版本:v6(預設值)
原則的預設版本是定義原則權限的版本。當具有策略的使用者或角色發出要求以存取 AWS 資源時,請 AWS 檢查原則的預設版本,以決定是否允許該要求。
政策文件
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "MHSRAllowS3Resources", "Effect" : "Allow", "Action" : [ "s3:GetObject", "s3:PutObject", "s3:GetBucketAcl", "s3:CreateBucket", "s3:PutEncryptionConfiguration", "s3:PutBucketPublicAccessBlock", "s3:PutBucketVersioning", "s3:PutLifecycleConfiguration", "s3:ListBucket", "s3:GetBucketLocation" ], "Resource" : "arn:aws:s3:::migrationhub-strategy-*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "MHSRAllowS3ListBucket", "Effect" : "Allow", "Action" : [ "s3:ListAllMyBuckets" ], "Resource" : "arn:aws:s3:::*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "MHSRAllowMetricsAndLogs", "Effect" : "Allow", "Action" : [ "application-transformation:PutMetricData", "application-transformation:PutLogData", "application-transformation:StartPortingCompatibilityAssessment", "application-transformation:GetPortingCompatibilityAssessment", "application-transformation:StartPortingRecommendationAssessment", "application-transformation:GetPortingRecommendationAssessment" ], "Resource" : "*" }, { "Sid" : "MHSRAllowExecuteAPI", "Effect" : "Allow", "Action" : [ "execute-api:Invoke", "execute-api:ManageConnections" ], "Resource" : [ "arn:aws:execute-api:*:*:*/prod/*/put-log-data", "arn:aws:execute-api:*:*:*/prod/*/put-metric-data" ] }, { "Sid" : "MHSRAllowCollectorAPI", "Effect" : "Allow", "Action" : [ "migrationhub-strategy:RegisterCollector", "migrationhub-strategy:GetAntiPattern", "migrationhub-strategy:GetMessage", "migrationhub-strategy:SendMessage", "migrationhub-strategy:ListAntiPatterns", "migrationhub-strategy:ListJarArtifacts", "migrationhub-strategy:UpdateCollectorConfiguration", "migrationhub-strategy:PutLogData", "migrationhub-strategy:PutMetricData" ], "Resource" : "arn:aws:migrationhub-strategy:*:*:*" }, { "Sid" : "MHSRAllowSecretsManager", "Effect" : "Allow", "Action" : [ "secretsmanager:GetSecretValue" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:migrationhub-strategy-*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } } ] }