AWSMigrationHubRefactorSpacesFullAccess
Summary
Grants full access to AWS MigrationHub Refactor Spaces, AWS MigrationHub Refactor Spaces console features and other related AWS services except 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/AWSMigrationHubRefactorSpacesFullAccess- Default version
- v6
- Created
- Last edited
- Services
- apigateway, cloudformation, ec2, elasticloadbalancing, iam, organizations, refactor-spaces
Control-plane actions (72)
By access level: 12 List, 1 Permissions management, 17 Read, 5 Tagging, 37 Write.
| Service | Granted | Access levels and limits | Granted by |
|---|---|---|---|
| API Gateway | 6 of 44 | 1 Permissions management, 1 Read, 4 Write; 6 restricted, 5 conditional | apigateway:DELETE, apigateway:GET, apigateway:PATCH, apigateway:POST, apigateway:PUT, apigateway:UpdateRestApiPolicy |
| CloudFormation | 2 of 104 | 1 Tagging, 1 Write; 1 restricted, 0 conditional | cloudformation:CreateStack, cloudformation:TagResource |
| EC2 | 24 of 834 | 11 List, 1 Tagging, 12 Write; 12 restricted, 12 conditional | ec2:AuthorizeSecurityGroupIngress, ec2:CreateRoute, ec2:CreateSecurityGroup, ec2:CreateTransitGateway, ec2:CreateTransitGatewayVpcAttachment, ec2:CreateVpcEndpointServiceConfiguration, ec2:DeleteRoute, ec2:DeleteSecurityGroup, ec2:DeleteTags, ec2:DeleteTransitGateway, ec2:DeleteTransitGatewayVpcAttachment, ec2:DeleteVpcEndpointServiceConfigurations and 12 more |
| ELB | 14 of 77 | 1 List, 4 Read, 1 Tagging, 8 Write; 9 restricted, 5 conditional | elasticloadbalancing: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 |
| IAM | 1 of 190 | 1 Write; 1 restricted, 1 conditional | iam:CreateServiceLinkedRole |
| Organizations | 1 of 63 | 1 Read; 0 restricted, 0 conditional | organizations:DescribeOrganization |
| Migration Hub Refactor Spaces | All 24 actions (see the Migration Hub Refactor Spaces page) | 11 Read, 2 Tagging, 11 Write; 0 restricted, 0 conditional | refactor-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: 24 actions
- ec2:AuthorizeSecurityGroupIngress (Write)
- ec2:CreateRoute (Write)
- ec2:CreateSecurityGroup (Write)
- ec2:CreateTransitGateway (Write)
- ec2:CreateTransitGatewayVpcAttachment (Write)
- ec2:CreateVpcEndpointServiceConfiguration (Write)
- ec2:DeleteRoute (Write)
- ec2:DeleteSecurityGroup (Write)
- ec2:DeleteTags (Tagging)
- ec2:DeleteTransitGateway (Write)
- ec2:DeleteTransitGatewayVpcAttachment (Write)
- ec2:DeleteVpcEndpointServiceConfigurations (Write)
- ec2:DescribeAccountAttributes (List)
- ec2:DescribeInternetGateways (List)
- ec2:DescribeNetworkInterfaces (List)
- ec2:DescribeRouteTables (List)
- ec2:DescribeSecurityGroups (List)
- ec2:DescribeSubnets (List)
- ec2:DescribeTags (List)
- ec2:DescribeTransitGatewayVpcAttachments (List)
- ec2:DescribeTransitGateways (List)
- ec2:DescribeVpcEndpointServiceConfigurations (List)
- ec2:DescribeVpcs (List)
- ec2:RevokeSecurityGroupIngress (Write)
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.
Related policies
Same service
- AdministratorAccess-AWSElasticBeanstalk
- AIDevOpsReleaseManagementVPCPolicy
- AmazonAppStreamServiceAccess
- AmazonBioDiscoveryServiceLinkedRolePolicy
- AmazonDataZoneEnvironmentRolePermissionsBoundary
- AmazonDataZoneProjectDeploymentPermissionsBoundary
- AmazonDataZoneProjectRolePermissionsBoundary
- AmazonDataZoneSageMakerProvisioningRolePolicy
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
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "RefactorSpaces",
"Effect": "Allow",
"Action": [
"refactor-spaces:*"
],
"Resource": "*"
},
{
"Sid": "EC2Describe",
"Effect": "Allow",
"Action": [
"ec2:DescribeNetworkInterfaces",
"ec2:DescribeRouteTables",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcEndpointServiceConfigurations",
"ec2:DescribeVpcs",
"ec2:DescribeTransitGatewayVpcAttachments",
"ec2:DescribeTransitGateways",
"ec2:DescribeTags",
"ec2:DescribeAccountAttributes",
"ec2:DescribeInternetGateways"
],
"Resource": "*"
},
{
"Sid": "RequestTagTransitGatewayCreate",
"Effect": "Allow",
"Action": [
"ec2:CreateTransitGateway",
"ec2:CreateSecurityGroup",
"ec2:CreateTransitGatewayVpcAttachment"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:RequestTag/refactor-spaces:environment-id": "false"
}
}
},
{
"Sid": "ResourceTagTransitGatewayCreate",
"Effect": "Allow",
"Action": [
"ec2:CreateTransitGateway",
"ec2:CreateSecurityGroup",
"ec2:CreateTransitGatewayVpcAttachment"
],
"Resource": "*",
"Condition": {
"Null": {
"aws:ResourceTag/refactor-spaces:environment-id": "false"
}
}
},
{
"Sid": "VpcEndpointServiceConfigurationCreate",
"Effect": "Allow",
"Action": [
"ec2:CreateVpcEndpointServiceConfiguration"
],
"Resource": "*"
},
{
"Sid": "EC2NetworkingModify",
"Effect": "Allow",
"Action": [
"ec2:DeleteTransitGateway",
"ec2:AuthorizeSecurityGroupIngress",
"ec2:RevokeSecurityGroupIngress",
"ec2:DeleteSecurityGroup",
"ec2:DeleteTransitGatewayVpcAttachment",
"ec2:CreateRoute",
"ec2:DeleteRoute",
"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 v6, 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/AWSMigrationHubRefactorSpacesFullAccess
aws iam attach-user-policy --user-name USER_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpacesFullAccess
aws iam attach-group-policy --group-name GROUP_NAME --policy-arn arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpacesFullAccessCloudFormation
Resources:
ExampleRole:
Type: AWS::IAM::Role
Properties:
AssumeRolePolicyDocument: {} # replace with your trust policy
ManagedPolicyArns:
- arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpacesFullAccessTerraform
resource "aws_iam_role_policy_attachment" "awsmigrationhubrefactorspacesfullaccess" {
role = aws_iam_role.example.name
policy_arn = "arn:aws:iam::aws:policy/AWSMigrationHubRefactorSpacesFullAccess"
}CDK (TypeScript)
role.addManagedPolicy(
iam.ManagedPolicy.fromAwsManagedPolicyName("AWSMigrationHubRefactorSpacesFullAccess"),
);Sources
Pending editorial review. No editorial sources are listed yet.