AWSMigrationHubStrategyCollector
Description: Grants permissions to allow communication with the AWS Migration Hub Strategy Recommendations service, read/write access to S3 buckets related to the service, Amazon API Gateway access to upload logs and metrics to AWS, AWS Secrets Manager access to fetch credentials, and any related services.
AWSMigrationHubStrategyCollector
is an AWS managed policy.
Using this policy
You can attach AWSMigrationHubStrategyCollector
to your users, groups, and roles.
Policy details
-
Type: AWS managed policy
-
Creation time: October 19, 2021, 20:15 UTC
-
Edited time: April 01, 2024, 16:21 UTC
-
ARN:
arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector
Policy version
Policy version: v6 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "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}" } } } ] }