Skip to main content
IAM Policy Map

AWSMigrationHubRefactorSpacesServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Provides access to AWS Resources managed or used by AWS Migration Hub Refactor Spaces.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AWSMigrationHubRefactorSpacesServiceRolePolicy
Default version
v3
Created
Last edited
Services
apigateway, ec2, elasticloadbalancing, ram

Control-plane actions (35)

By access level: 6 List, 5 Read, 2 Tagging, 22 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
API Gateway5 of 441 Read, 4 Write; 5 restricted, 4 conditionalapigateway:DELETE, apigateway:GET, apigateway:PATCH, apigateway:POST, apigateway:PUT
EC214 of 8346 List, 1 Tagging, 7 Write; 8 restricted, 8 conditionalec2:AuthorizeSecurityGroupIngress, ec2:CreateRoute, ec2:DeleteRoute, ec2:DeleteSecurityGroup, ec2:DeleteTags, ec2:DeleteTransitGatewayVpcAttachment, ec2:DeleteVpcEndpointServiceConfigurations, ec2:DescribeNetworkInterfaces, ec2:DescribeRouteTables, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeTransitGatewayVpcAttachments and 2 more
ELB12 of 773 Read, 1 Tagging, 8 Write; 9 restricted, 5 conditionalelasticloadbalancing:AddTags, elasticloadbalancing:CreateListener, elasticloadbalancing:CreateLoadBalancerListeners, elasticloadbalancing:CreateTargetGroup, elasticloadbalancing:DeleteListener, elasticloadbalancing:DeleteLoadBalancer, elasticloadbalancing:DeleteTargetGroup, elasticloadbalancing:DeregisterTargets, elasticloadbalancing:DescribeListeners, elasticloadbalancing:DescribeTargetGroups, elasticloadbalancing:DescribeTargetHealth, elasticloadbalancing:RegisterTargets
Resource Access Manager4 of 391 Read, 3 Write; 3 restricted, 3 conditionalram:AssociateResourceShare, ram:DeleteResourceShare, ram:DisassociateResourceShare, ram:GetResourceShareAssociations
API Gateway: 5 actions
  • apigateway:DELETE (Write)
  • apigateway:GET (Read)
  • apigateway:PATCH (Write)
  • apigateway:POST (Write)
  • apigateway:PUT (Write)
EC2: 14 actions
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateRoute (Write)
  • ec2:DeleteRoute (Write)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DeleteTags (Tagging)
  • ec2:DeleteTransitGatewayVpcAttachment (Write)
  • ec2:DeleteVpcEndpointServiceConfigurations (Write)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeTransitGatewayVpcAttachments (List)
  • ec2:DescribeVpcEndpointServiceConfigurations (List)
  • ec2:RevokeSecurityGroupIngress (Write)
ELB: 12 actions
  • elasticloadbalancing:AddTags (Tagging)
  • elasticloadbalancing:CreateListener (Write)
  • elasticloadbalancing:CreateLoadBalancerListeners (Write)
  • elasticloadbalancing:CreateTargetGroup (Write)
  • elasticloadbalancing:DeleteListener (Write)
  • elasticloadbalancing:DeleteLoadBalancer (Write)
  • elasticloadbalancing:DeleteTargetGroup (Write)
  • elasticloadbalancing:DeregisterTargets (Write)
  • elasticloadbalancing:DescribeListeners (Read)
  • elasticloadbalancing:DescribeTargetGroups (Read)
  • elasticloadbalancing:DescribeTargetHealth (Read)
  • elasticloadbalancing:RegisterTargets (Write)
Resource Access Manager: 4 actions
  • ram:AssociateResourceShare (Write)
  • ram:DeleteResourceShare (Write)
  • ram:DisassociateResourceShare (Write)
  • ram:GetResourceShareAssociations (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: No (service-linked role policy).

Why this tier

  • Grants 24 write, tagging or permissions-management actions, short of full control of any service.

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": [
    {
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeRouteTables",
        "ec2:DescribeSubnets",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeVpcEndpointServiceConfigurations",
        "ec2:DescribeTransitGatewayVpcAttachments",
        "elasticloadbalancing:DescribeTargetHealth",
        "elasticloadbalancing:DescribeListeners",
        "elasticloadbalancing:DescribeTargetGroups",
        "ram:GetResourceShareAssociations"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:RevokeSecurityGroupIngress",
        "ec2:DeleteSecurityGroup",
        "ec2:DeleteTransitGatewayVpcAttachment",
        "ec2:CreateRoute",
        "ec2:DeleteRoute",
        "ec2:DeleteTags",
        "ram:DeleteResourceShare",
        "ram:AssociateResourceShare",
        "ram:DisassociateResourceShare"
      ],
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:environment-id": "false"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "ec2:DeleteVpcEndpointServiceConfigurations",
      "Resource": "*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:application-id": "false"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:RegisterTargets",
        "elasticloadbalancing:CreateLoadBalancerListeners",
        "elasticloadbalancing:CreateListener",
        "elasticloadbalancing:DeleteListener",
        "elasticloadbalancing:DeleteTargetGroup"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/refactor-spaces:route-id": [
            "*"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "apigateway:PUT",
        "apigateway:POST",
        "apigateway:GET",
        "apigateway:PATCH",
        "apigateway:DELETE"
      ],
      "Resource": [
        "arn:aws:apigateway:*::/restapis",
        "arn:aws:apigateway:*::/restapis/*",
        "arn:aws:apigateway:*::/vpclinks/*",
        "arn:aws:apigateway:*::/tags",
        "arn:aws:apigateway:*::/tags/*"
      ],
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:application-id": "false"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "apigateway:GET",
      "Resource": "arn:aws:apigateway:*::/vpclinks/*"
    },
    {
      "Effect": "Allow",
      "Action": "elasticloadbalancing:DeleteLoadBalancer",
      "Resource": "arn:*:elasticloadbalancing:*:*:loadbalancer/net/refactor-spaces-nlb-*"
    },
    {
      "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"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "elasticloadbalancing:DeleteListener",
      "Resource": "arn:*:elasticloadbalancing:*:*:listener/net/refactor-spaces-nlb-*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:DeleteTargetGroup",
        "elasticloadbalancing:RegisterTargets"
      ],
      "Resource": "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:DeregisterTargets"
      ],
      "Resource": "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*",
      "Condition": {
        "Null": {
          "aws:ResourceTag/refactor-spaces:route-id": "false"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "elasticloadbalancing:AddTags",
        "elasticloadbalancing:CreateTargetGroup"
      ],
      "Resource": "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*",
      "Condition": {
        "Null": {
          "aws:RequestTag/refactor-spaces:route-id": "false"
        }
      }
    }
  ]
}

Version history

Current version v3, edited by AWS on 2023-07-20. Version history is recorded from 2026-11-11. Earlier versions are in the IAM console under Policy versions.

Attach snippets

This policy cannot be attached to users, groups or roles, so there are no attach snippets.

Sources

Pending editorial review. No editorial sources are listed yet.