Skip to main content
IAM Policy Map

AmazonEKSLocalOutpostServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Allows Amazon EKS Local to call AWS services on your behalf.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonEKSLocalOutpostServiceRolePolicy
Default version
v3
Created
Last edited
Services
ec2, iam, outposts, secretsmanager, ssm, ssmmessages

Control-plane actions (35)

By access level: 11 List, 4 Read, 2 Tagging, 18 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC222 of 83411 List, 1 Read, 1 Tagging, 9 Write; 11 restricted, 8 conditionalec2:AuthorizeSecurityGroupIngress, ec2:CreateNetworkInterface, ec2:CreateSecurityGroup, ec2:CreateTags, ec2:DeleteNetworkInterface, ec2:DeleteSecurityGroup, ec2:DescribeAddresses, ec2:DescribeImages, ec2:DescribeInstances, ec2:DescribeNetworkInterfaceAttribute, ec2:DescribeNetworkInterfaces, ec2:DescribePlacementGroups and 10 more
IAM4 of 1901 Read, 3 Write; 4 restricted, 1 conditionaliam:DeleteInstanceProfile, iam:GetInstanceProfile, iam:PassRole, iam:RemoveRoleFromInstanceProfile
Outposts1 of 441 Read; 0 restricted, 0 conditionaloutposts:GetOutpost
Secrets Manager4 of 271 Read, 1 Tagging, 2 Write; 4 restricted, 3 conditionalsecretsmanager:CreateSecret, secretsmanager:DeleteSecret, secretsmanager:DescribeSecret, secretsmanager:TagResource
Systems Manager3 of 1643 Write; 1 restricted, 0 conditionalssm:ResumeSession, ssm:StartSession, ssm:TerminateSession
SSM Messages1 of 41 Write; 1 restricted, 0 conditionalssmmessages:OpenDataChannel
EC2: 22 actions
  • ec2:AuthorizeSecurityGroupIngress (Write)
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateSecurityGroup (Write)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteSecurityGroup (Write)
  • ec2:DescribeAddresses (List)
  • ec2:DescribeImages (List)
  • ec2:DescribeInstances (List)
  • ec2:DescribeNetworkInterfaceAttribute (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribePlacementGroups (List)
  • ec2:DescribeRouteTables (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcAttribute (List)
  • ec2:DescribeVpcs (List)
  • ec2:GetConsoleOutput (Read)
  • ec2:ModifyNetworkInterfaceAttribute (Write)
  • ec2:RevokeSecurityGroupIngress (Write)
  • ec2:RunInstances (Write)
  • ec2:TerminateInstances (Write)
IAM: 4 actions
  • iam:DeleteInstanceProfile (Write)
  • iam:GetInstanceProfile (Read)
  • iam:PassRole (Write)
  • iam:RemoveRoleFromInstanceProfile (Write)
Outposts: 1 actions
  • outposts:GetOutpost (Read)
Secrets Manager: 4 actions
  • secretsmanager:CreateSecret (Write)
  • secretsmanager:DeleteSecret (Write)
  • secretsmanager:DescribeSecret (Read)
  • secretsmanager:TagResource (Tagging)
Systems Manager: 3 actions
  • ssm:ResumeSession (Write)
  • ssm:StartSession (Write)
  • ssm:TerminateSession (Write)
SSM Messages: 1 actions
  • ssmmessages:OpenDataChannel (Write)

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 20 write, tagging or permissions-management actions, short of full control of any service.
  • Grants iam:PassRole, but only for scoped roles or under conditions (for example iam:PassedToService).

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:DescribeVpcs",
        "ec2:DescribeSubnets",
        "ec2:DescribeRouteTables",
        "ec2:DescribeAddresses",
        "ec2:DescribeImages",
        "ec2:DescribeInstances",
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeNetworkInterfaceAttribute",
        "ec2:DescribeSecurityGroups",
        "ec2:DescribeVpcAttribute",
        "ec2:DescribePlacementGroups"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterface"
      ],
      "Resource": "arn:aws:ec2:*:*:network-interface/*",
      "Condition": {
        "StringLike": {
          "aws:RequestTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterface"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:subnet/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:ModifyNetworkInterfaceAttribute"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:instance/*",
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:network-interface/*"
      ],
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:CreateSecurityGroup"
      ],
      "Resource": "arn:aws:ec2:*:*:security-group/*",
      "Condition": {
        "StringLike": {
          "aws:RequestTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:CreateSecurityGroup"
      ],
      "Resource": "arn:aws:ec2:*:*:vpc/*"
    },
    {
      "Effect": "Allow",
      "Action": "ec2:RunInstances",
      "Resource": "arn:aws:ec2:*:*:instance/*",
      "Condition": {
        "StringLike": {
          "aws:RequestTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "ec2:RunInstances",
      "Resource": [
        "arn:aws:ec2:*:*:volume/*",
        "arn:aws:ec2:*:*:image/*",
        "arn:aws:ec2:*:*:launch-template/*",
        "arn:aws:ec2:*:*:network-interface/*",
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:subnet/*",
        "arn:aws:ec2:*:*:placement-group/*"
      ]
    },
    {
      "Effect": "Allow",
      "Action": [
        "ec2:AuthorizeSecurityGroupIngress",
        "ec2:RevokeSecurityGroupIngress",
        "ec2:DeleteNetworkInterface",
        "ec2:DeleteSecurityGroup",
        "ec2:TerminateInstances",
        "ec2:GetConsoleOutput"
      ],
      "Resource": "*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "ec2:CreateTags",
      "Resource": [
        "arn:aws:ec2:*:*:security-group/*",
        "arn:aws:ec2:*:*:network-interface/*",
        "arn:aws:ec2:*:*:instance/*"
      ],
      "Condition": {
        "ForAnyValue:StringLike": {
          "aws:TagKeys": [
            "kubernetes.io/cluster/*",
            "eks*"
          ]
        },
        "StringEquals": {
          "ec2:CreateAction": [
            "CreateNetworkInterface",
            "CreateSecurityGroup",
            "RunInstances"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:TagResource"
      ],
      "Resource": "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*",
      "Condition": {
        "ForAnyValue:StringLike": {
          "aws:TagKeys": [
            "kubernetes.io/cluster/*",
            "eks*"
          ]
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "secretsmanager:CreateSecret"
      ],
      "Resource": "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*",
      "Condition": {
        "StringLike": {
          "aws:RequestTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "secretsmanager:DeleteSecret",
      "Resource": "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*",
      "Condition": {
        "StringLike": {
          "aws:ResourceTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": "secretsmanager:DescribeSecret",
      "Resource": "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:PassRole"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "iam:PassedToService": "ec2.amazonaws.com"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "iam:GetInstanceProfile",
        "iam:DeleteInstanceProfile",
        "iam:RemoveRoleFromInstanceProfile"
      ],
      "Resource": "arn:aws:iam::*:instance-profile/eks-local-*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:StartSession"
      ],
      "Resource": "arn:aws:ec2:*:*:instance/*",
      "Condition": {
        "StringLike": {
          "ssm:resourceTag/eks-local:controlplane-name": "*"
        }
      }
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:StartSession"
      ],
      "Resource": "arn:aws:ssm:*::document/AmazonEKS-ControlPlaneInstanceProxy"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssmmessages:OpenDataChannel"
      ],
      "Resource": "arn:aws:ssm:*:*:session/*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "ssm:ResumeSession",
        "ssm:TerminateSession"
      ],
      "Resource": "*"
    },
    {
      "Effect": "Allow",
      "Action": [
        "outposts:GetOutpost"
      ],
      "Resource": "*"
    }
  ]
}

Version history

Current version v3, edited by AWS on 2025-06-26. 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.