Skip to main content
IAM Policy Map

AmazonSageMakerInferenceServiceRolePolicy

OperatorService-linked roleActivePermissions reviewedShow on mapCompare

Summary

Managed policy for Service Linked Role for Amazon SageMaker Inference.

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

Identity

ARN
arn:aws:iam::aws:policy/aws-service-role/AmazonSageMakerInferenceServiceRolePolicy
Default version
v2
Created
Last edited
Services
ec2

Control-plane actions (10)

By access level: 5 List, 2 Permissions management, 1 Tagging, 2 Write.

Control-plane actions by service
ServiceGrantedAccess levels and limitsGranted by
EC210 of 8345 List, 2 Permissions management, 1 Tagging, 2 Write; 10 restricted, 10 conditionalec2:CreateNetworkInterface, ec2:CreateNetworkInterfacePermission, ec2:CreateTags, ec2:DeleteNetworkInterface, ec2:DeleteNetworkInterfacePermission, ec2:DescribeDhcpOptions, ec2:DescribeNetworkInterfaces, ec2:DescribeSecurityGroups, ec2:DescribeSubnets, ec2:DescribeVpcs
EC2: 10 actions
  • ec2:CreateNetworkInterface (Write)
  • ec2:CreateNetworkInterfacePermission (Permissions management)
  • ec2:CreateTags (Tagging)
  • ec2:DeleteNetworkInterface (Write)
  • ec2:DeleteNetworkInterfacePermission (Permissions management)
  • ec2:DescribeDhcpOptions (List)
  • ec2:DescribeNetworkInterfaces (List)
  • ec2:DescribeSecurityGroups (List)
  • ec2:DescribeSubnets (List)
  • ec2:DescribeVpcs (List)

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 5 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": [
    {
      "Sid": "CreateENIWithTag",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterface"
      ],
      "Condition": {
        "StringEquals": {
          "aws:RequestTag/AmazonSageMakerManaged": "true",
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      },
      "Resource": "arn:aws:ec2:*:*:network-interface/*"
    },
    {
      "Sid": "CreateENIInSubnetAndSG",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterface"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      },
      "Resource": [
        "arn:aws:ec2:*:*:subnet/*",
        "arn:aws:ec2:*:*:security-group/*"
      ]
    },
    {
      "Sid": "CreateENIPermission",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateNetworkInterfacePermission"
      ],
      "Condition": {
        "StringEquals": {
          "ec2:Permission": "INSTANCE-ATTACH",
          "aws:ResourceTag/AmazonSageMakerManaged": "true",
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      },
      "Resource": "arn:aws:ec2:*:*:network-interface/*"
    },
    {
      "Sid": "DeleteENITagScoped",
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteNetworkInterface"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/AmazonSageMakerManaged": "true",
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      },
      "Resource": "arn:aws:ec2:*:*:network-interface/*"
    },
    {
      "Sid": "DeleteENIPermissionTagScoped",
      "Effect": "Allow",
      "Action": [
        "ec2:DeleteNetworkInterfacePermission"
      ],
      "Condition": {
        "StringEquals": {
          "aws:ResourceTag/AmazonSageMakerManaged": "true",
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      },
      "Resource": "arn:aws:ec2:*:*:network-interface/*"
    },
    {
      "Sid": "TagOnCreateSageMakerResourcesForENI",
      "Effect": "Allow",
      "Action": [
        "ec2:CreateTags"
      ],
      "Resource": [
        "arn:aws:ec2:*:*:network-interface/*"
      ],
      "Condition": {
        "StringEquals": {
          "ec2:CreateAction": "CreateNetworkInterface",
          "aws:RequestTag/AmazonSageMakerManaged": "true",
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    },
    {
      "Sid": "DescribeNetworkResources",
      "Effect": "Allow",
      "Action": [
        "ec2:DescribeNetworkInterfaces",
        "ec2:DescribeVpcs",
        "ec2:DescribeDhcpOptions",
        "ec2:DescribeSubnets",
        "ec2:DescribeSecurityGroups"
      ],
      "Resource": "*",
      "Condition": {
        "StringEquals": {
          "aws:ResourceAccount": "${aws:PrincipalAccount}"
        }
      }
    }
  ]
}

Version history

Current version v2, edited by AWS on 2026-08-17. 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.