Skip to main content
IAM Policy Map

AWSMigrationHubStrategyCollector

OperatorAWS managedActivePermissions reviewedShow on mapCompare

Summary

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.

Permissions imported from the AWS Managed Policy Reference Guide; other sections pending editorial review.

Identity

ARN
arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector
Default version
v6
Created
Last edited
Services
application-transformation, execute-api, migrationhub-strategy, s3, secretsmanager

Control-plane actions (26)

By access level: 3 List, 1 Permissions management, 7 Read, 15 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
Application Transformation Service6 of 142 Read, 4 Write; 0 restricted, 0 conditionalapplication-transformation:GetPortingCompatibilityAssessment, application-transformation:GetPortingRecommendationAssessment, application-transformation:PutLogData, application-transformation:PutMetricData, application-transformation:StartPortingCompatibilityAssessment, application-transformation:StartPortingRecommendationAssessment
ExecuteAPI2 of 32 Write; 2 restricted, 0 conditionalexecute-api:Invoke, execute-api:ManageConnections
Migration Hub Strategy Recommendations9 of 312 List, 2 Read, 5 Write; 9 restricted, 0 conditionalmigrationhub-strategy:GetAntiPattern, migrationhub-strategy:GetMessage, migrationhub-strategy:ListAntiPatterns, migrationhub-strategy:ListJarArtifacts, migrationhub-strategy:PutLogData, migrationhub-strategy:PutMetricData, migrationhub-strategy:RegisterCollector, migrationhub-strategy:SendMessage, migrationhub-strategy:UpdateCollectorConfiguration
S38 of 1551 List, 1 Permissions management, 2 Read, 4 Write; 8 restricted, 8 conditionals3:CreateBucket, s3:GetBucketAcl, s3:GetBucketLocation, s3:ListAllMyBuckets, s3:PutBucketPublicAccessBlock, s3:PutBucketVersioning, s3:PutEncryptionConfiguration, s3:PutLifecycleConfiguration
Secrets Manager1 of 271 Read; 1 restricted, 1 conditionalsecretsmanager:GetSecretValue
Application Transformation Service: 6 actions
  • application-transformation:GetPortingCompatibilityAssessment (Read)
  • application-transformation:GetPortingRecommendationAssessment (Read)
  • application-transformation:PutLogData (Write)
  • application-transformation:PutMetricData (Write)
  • application-transformation:StartPortingCompatibilityAssessment (Write)
  • application-transformation:StartPortingRecommendationAssessment (Write)
ExecuteAPI: 2 actions
  • execute-api:Invoke (Write)
  • execute-api:ManageConnections (Write)
Migration Hub Strategy Recommendations: 9 actions
  • migrationhub-strategy:GetAntiPattern (Read)
  • migrationhub-strategy:GetMessage (Read)
  • migrationhub-strategy:ListAntiPatterns (List)
  • migrationhub-strategy:ListJarArtifacts (List)
  • migrationhub-strategy:PutLogData (Write)
  • migrationhub-strategy:PutMetricData (Write)
  • migrationhub-strategy:RegisterCollector (Write)
  • migrationhub-strategy:SendMessage (Write)
  • migrationhub-strategy:UpdateCollectorConfiguration (Write)
S3: 8 actions
  • s3:CreateBucket (Write)
  • s3:GetBucketAcl (Read)
  • s3:GetBucketLocation (Read)
  • s3:ListAllMyBuckets (List)
  • s3:PutBucketPublicAccessBlock (Permissions management)
  • s3:PutBucketVersioning (Write)
  • s3:PutEncryptionConfiguration (Write)
  • s3:PutLifecycleConfiguration (Write)
Secrets Manager: 1 actions
  • secretsmanager:GetSecretValue (Read)

Data-plane actions (3)

By access level: 1 List, 1 Read, 1 Write.

Data-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
S33 of 251 List, 1 Read, 1 Write; 3 restricted, 3 conditionals3:GetObject, s3:ListBucket, s3:PutObject
S3: 3 actions
  • s3:GetObject (Read)
  • s3:ListBucket (List)
  • s3:PutObject (Write)

Excluded and conditional actions

No patterns are excluded by NotAction or Deny statements.

Resource scope and attachment

Resource scope across granted actions: mixed.

Can be attached: Yes, to users, groups and roles.

Why this tier

  • Grants 17 write, tagging or permissions-management actions, short of full control of any service.
  • Grants data-plane write actions on a data store, but only for scoped resources or under conditions.

Guidance

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Same service

Same domain

Frequently asked questions

Pending editorial review. The permission data on this page comes straight from AWS; this section will be filled in once a reviewed guide exists.

Policy JSON

Download policy.json

{
  "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}"
        }
      }
    }
  ]
}

Version history

Current version v6, edited by AWS on 2024-04-01. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

AWS CLI

aws iam attach-role-policy --role-name ROLE_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector

CloudFormation

Resources:
  ExampleRole:
    Type: AWS::IAM::Role
    Properties:
      AssumeRolePolicyDocument: {}  # replace with your trust policy
      ManagedPolicyArns:
        - arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector

Terraform

resource "aws_iam_role_policy_attachment" "awsmigrationhubstrategycollector" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSMigrationHubStrategyCollector"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSMigrationHubStrategyCollector"),
);

Sources

Pending editorial review. No editorial sources are listed yet.