Skip to main content
IAM Policy Map

AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess

AdminAWS managedActivePermissions reviewedShow on mapCompare

Summary

Grants full access to AWS Migration Hub Refactor Spaces and other AWS related services except AWS Transit Gateway and EC2 security groups not required when using environments without a network bridge. This policy also excludes permissions required for AWS Lambda and AWS Resource Access Manager as they can be scoped down based on tags.

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

Identity

ARN
arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess
Default version
v3
Created
Last edited
Services
apigateway, cloudformation, ec2, elasticloadbalancing, iam, organizations, refactor-spaces

Control-plane actions (57)

By access level: 7 List, 1 Permissions management, 17 Read, 5 Tagging, 27 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
API Gateway6 of 441 Permissions management, 1 Read, 4 Write; 6 restricted, 5 conditionalapigateway:DELETE, apigateway:GET, apigateway:PATCH, apigateway:POST, apigateway:PUT, apigateway:UpdateRestApiPolicy
CloudFormation2 of 1041 Tagging, 1 Write; 1 restricted, 0 conditionalcloudformation:CreateStack, cloudformation:TagResource
EC29 of 8346 List, 1 Tagging, 2 Write; 2 restricted, 2 conditionalec2:CreateVpcEndpointServiceConfiguration, ec2:DeleteTags, ec2:DeleteVpcEndpointServiceConfigurations, ec2:DescribeAccountAttributes, ec2:DescribeInternetGateways, ec2:DescribeSubnets, ec2:DescribeTags, ec2:DescribeVpcEndpointServiceConfigurations, ec2:DescribeVpcs
ELB14 of 771 List, 4 Read, 1 Tagging, 8 Write; 9 restricted, 5 conditionalelasticloadbalancing:AddTags, elasticloadbalancing:CreateListener, elasticloadbalancing:CreateLoadBalancer, elasticloadbalancing:CreateLoadBalancerListeners, elasticloadbalancing:CreateTargetGroup, elasticloadbalancing:DeleteListener, elasticloadbalancing:DeleteLoadBalancer, elasticloadbalancing:DeleteTargetGroup, elasticloadbalancing:DescribeListeners, elasticloadbalancing:DescribeLoadBalancers, elasticloadbalancing:DescribeTags, elasticloadbalancing:DescribeTargetGroups and 2 more
IAM1 of 1901 Write; 1 restricted, 1 conditionaliam:CreateServiceLinkedRole
Organizations1 of 631 Read; 0 restricted, 0 conditionalorganizations:DescribeOrganization
Migration Hub Refactor SpacesAll 24 actions (see the Migration Hub Refactor Spaces page)11 Read, 2 Tagging, 11 Write; 0 restricted, 0 conditionalrefactor-spaces:*
API Gateway: 6 actions
  • apigateway:DELETE (Write)
  • apigateway:GET (Read)
  • apigateway:PATCH (Write)
  • apigateway:POST (Write)
  • apigateway:PUT (Write)
  • apigateway:UpdateRestApiPolicy (Permissions management)
CloudFormation: 2 actions
  • cloudformation:CreateStack (Write)
  • cloudformation:TagResource (Tagging)
EC2: 9 actions
  • ec2:CreateVpcEndpointServiceConfiguration (Write)
  • ec2:DeleteTags (Tagging)
  • ec2:DeleteVpcEndpointServiceConfigurations (Write)
  • ec2:DescribeAccountAttributes (List)
  • ec2:DescribeInternetGateways (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeTags (List)
  • ec2:DescribeVpcEndpointServiceConfigurations (List)
  • ec2:DescribeVpcs (List)
ELB: 14 actions
  • elasticloadbalancing:AddTags (Tagging)
  • elasticloadbalancing:CreateListener (Write)
  • elasticloadbalancing:CreateLoadBalancer (Write)
  • elasticloadbalancing:CreateLoadBalancerListeners (Write)
  • elasticloadbalancing:CreateTargetGroup (Write)
  • elasticloadbalancing:DeleteListener (Write)
  • elasticloadbalancing:DeleteLoadBalancer (Write)
  • elasticloadbalancing:DeleteTargetGroup (Write)
  • elasticloadbalancing:DescribeListeners (Read)
  • elasticloadbalancing:DescribeLoadBalancers (List)
  • elasticloadbalancing:DescribeTags (Read)
  • elasticloadbalancing:DescribeTargetGroups (Read)
  • elasticloadbalancing:DescribeTargetHealth (Read)
  • elasticloadbalancing:RegisterTargets (Write)
IAM: 1 actions
  • iam:CreateServiceLinkedRole (Write)
Organizations: 1 actions
  • organizations:DescribeOrganization (Read)

Data-plane actions (0)

By access level: none.

This policy grants no actions in this plane.

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 at least 80% of the write and permissions-management actions of: refactor-spaces (11 of 11).

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": "RefactorSpaces",
      "Effect": "Allow",
      "Action": [
        "refactor-spaces:*"
      ],
      "Resource": "*"
    },
    {
      "Sid": "EC2Describe",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeSubnets",
        "ec2:DescribeVpcEndpointServiceConfigurations",
        "ec2:DescribeVpcs",
        "ec2:DescribeTags",
        "ec2:DescribeAccountAttributes",
        "ec2:DescribeInternetGateways"
      ],
      "Resource": "*"
    },
    {
      "Sid": "VpcEndpointServiceConfigurationCreate",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateVpcEndpointServiceConfiguration"
      ],
      "Resource": "*"
    },
    {
      "Sid": "EC2TagsDelete",
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteTags"
      ],
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:environment-id": "false"
        }
      }
    },
    {
      "Sid": "VpcEndpointServiceConfigurationDelete",
      "Effect": "Allow",
      "Action": "ec2:DeleteVpcEndpointServiceConfigurations",
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:application-id": "false"
        }
      }
    },
    {
      "Sid": "ELBLoadBalancerCreate",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:AddTags",
        "elasticloadbalancing:CreateLoadBalancer"
      ],
      "Resource": "arn:*:elasticloadbalancing:*:*:loadbalancer/net/refactor-spaces-nlb-*",
      "Condition": {
        "Null": {
          "aws:RequestTag/refactor-spaces:application-id": "false"
        }
      }
    },
    {
      "Sid": "ELBDescribe",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:DescribeLoadBalancers",
        "elasticloadbalancing:DescribeTags",
        "elasticloadbalancing:DescribeTargetHealth",
        "elasticloadbalancing:DescribeTargetGroups",
        "elasticloadbalancing:DescribeListeners"
      ],
      "Resource": "*"
    },
    {
      "Sid": "ELBModify",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:RegisterTargets",
        "elasticloadbalancing:CreateLoadBalancerListeners",
        "elasticloadbalancing:CreateListener",
        "elasticloadbalancing:DeleteListener",
        "elasticloadbalancing:DeleteTargetGroup"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/refactor-spaces:route-id": [
            "*"
          ]
        }
      }
    },
    {
      "Sid": "ELBLoadBalancerDelete",
      "Effect": "Allow",
      "Action": "elasticloadbalancing:DeleteLoadBalancer",
      "Resource": "arn:*:elasticloadbalancing:*:*:loadbalancer/net/refactor-spaces-nlb-*"
    },
    {
      "Sid": "ELBListenerCreate",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:AddTags",
        "elasticloadbalancing:CreateListener"
      ],
      "Resource": [
        "arn:*:elasticloadbalancing:*:*:loadbalancer/net/refactor-spaces-nlb-*",
        "arn:*:elasticloadbalancing:*:*:listener/net/refactor-spaces-nlb-*"
      ],
      "Condition": {
        "Null": {
          "aws:RequestTag/refactor-spaces:route-id": "false"
        }
      }
    },
    {
      "Sid": "ELBListenerDelete",
      "Effect": "Allow",
      "Action": "elasticloadbalancing:DeleteListener",
      "Resource": "arn:*:elasticloadbalancing:*:*:listener/net/refactor-spaces-nlb-*"
    },
    {
      "Sid": "ELBTargetGroupModify",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:DeleteTargetGroup",
        "elasticloadbalancing:RegisterTargets"
      ],
      "Resource": "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*"
    },
    {
      "Sid": "ELBTargetGroupCreate",
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:AddTags",
        "elasticloadbalancing:CreateTargetGroup"
      ],
      "Resource": "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*",
      "Condition": {
        "Null": {
          "aws:RequestTag/refactor-spaces:route-id": "false"
        }
      }
    },
    {
      "Sid": "APIGatewayModify",
      "Effect": "Allow",
      "Action": [
        "apigateway:GET",
        "apigateway:DELETE",
        "apigateway:PATCH",
        "apigateway:POST",
        "apigateway:PUT",
        "apigateway:UpdateRestApiPolicy"
      ],
      "Resource": [
        "arn:aws:apigateway:*::/restapis",
        "arn:aws:apigateway:*::/restapis/*",
        "arn:aws:apigateway:*::/vpclinks",
        "arn:aws:apigateway:*::/vpclinks/*",
        "arn:aws:apigateway:*::/tags",
        "arn:aws:apigateway:*::/tags/*"
      ],
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:application-id": "false"
        }
      }
    },
    {
      "Sid": "APIGatewayVpcLinksGet",
      "Effect": "Allow",
      "Action": "apigateway:GET",
      "Resource": [
        "arn:aws:apigateway:*::/vpclinks",
        "arn:aws:apigateway:*::/vpclinks/*"
      ]
    },
    {
      "Sid": "OrganizationDescribe",
      "Effect": "Allow",
      "Action": [
        "organizations:DescribeOrganization"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CloudformationStackCreate",
      "Effect": "Allow",
      "Action": [
        "cloudformation:CreateStack"
      ],
      "Resource": "*"
    },
    {
      "Sid": "CloudformationStackTag",
      "Effect": "Allow",
      "Action": [
        "cloudformation:TagResource"
      ],
      "Resource": "arn:aws:cloudformation:*:*:stack/*"
    },
    {
      "Sid": "CreateRefactorSpacesSLR",
      "Effect": "Allow",
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "refactor-spaces.amazonaws.com"
        }
      }
    },
    {
      "Sid": "CreateELBSLR",
      "Effect": "Allow",
      "Action": "iam:CreateServiceLinkedRole",
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:AWSServiceName": "elasticloadbalancing.amazonaws.com"
        }
      }
    }
  ]
}

Version history

Current version v3, edited by AWS on 2024-04-11. 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/AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess

CloudFormation

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

Terraform

resource "aws_iam_role_policy_attachment" "awsmigrationhubrefactorspaces_environmentswithoutbridgesfullaccess" {
  role       = aws_iam_role.example.name
  policy_arn = "arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess"
}

CDK (TypeScript)

role.addManagedPolicy(
  iam.ManagedPolicy.fromAwsManagedPolicyName("AWSMigrationHubRefactorSpaces-EnvironmentsWithoutBridgesFullAccess"),
);

Sources

Pending editorial review. No editorial sources are listed yet.