View a markdown version of this page

AmazonSageMakerInferenceServiceRolePolicy - AWS Managed Policy

AmazonSageMakerInferenceServiceRolePolicy

Description: Managed policy for Service Linked Role for Amazon SageMaker Inference.

AmazonSageMakerInferenceServiceRolePolicy is an AWS managed policy.

Using this policy

This policy is attached to a service-linked role that allows the service to perform actions on your behalf. You cannot attach this policy to your users, groups, or roles.

Policy details

  • Type: Service-linked role policy

  • Creation time: July 30, 2026, 19:42 UTC

  • Edited time: July 30, 2026, 19:42 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AmazonSageMakerInferenceServiceRolePolicy

Policy version

Policy version: v1 (default)

The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.

JSON policy document

{ "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:AuthorizedService" : "sagemaker.amazonaws.com", "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}" } } } ] }

Learn more