AmazonSageMakerNotebooksServiceRolePolicy - AWS 托管策略

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

AmazonSageMakerNotebooksServiceRolePolicy

描述:Amazon SageMaker 笔记本服务关联角色的托管策略

AmazonSageMakerNotebooksServiceRolePolicy 是一项 AWS 托管式策略

使用此策略

此附加到服务相关角色的策略允许服务代表您执行操作。您无法将此策略附加到您的用户、组或角色。

策略详细信息

  • 类型:服务相关角色策略

  • 创建时间:2019 年 10 月 18 日 20:27 UTC

  • 编辑时间:世界标准时间 2024 年 11 月 14 日 20:33

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

策略版本

策略版本:v10 (默认值)

此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowFSxDescribe", "Effect" : "Allow", "Action" : [ "fsx:DescribeFileSystems" ], "Resource" : "*", "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowSageMakerDeleteApp", "Effect" : "Allow", "Action" : [ "sagemaker:DeleteApp" ], "Resource" : "arn:aws:sagemaker:*:*:app/*" }, { "Sid" : "AllowEFSAccessPointCreation", "Effect" : "Allow", "Action" : "elasticfilesystem:CreateAccessPoint", "Resource" : "arn:aws:elasticfilesystem:*:*:file-system/*", "Condition" : { "StringLike" : { "aws:ResourceTag/ManagedByAmazonSageMakerResource" : "*", "aws:RequestTag/ManagedByAmazonSageMakerResource" : "*" } } }, { "Sid" : "AllowEFSAccessPointDeletion", "Effect" : "Allow", "Action" : [ "elasticfilesystem:DeleteAccessPoint" ], "Resource" : "arn:aws:elasticfilesystem:*:*:access-point/*", "Condition" : { "StringLike" : { "aws:ResourceTag/ManagedByAmazonSageMakerResource" : "*" } } }, { "Sid" : "AllowEFSCreation", "Effect" : "Allow", "Action" : "elasticfilesystem:CreateFileSystem", "Resource" : "*", "Condition" : { "StringLike" : { "aws:RequestTag/ManagedByAmazonSageMakerResource" : "*" } } }, { "Sid" : "AllowEFSMountWithDeletion", "Effect" : "Allow", "Action" : [ "elasticfilesystem:CreateMountTarget", "elasticfilesystem:DeleteFileSystem", "elasticfilesystem:DeleteMountTarget" ], "Resource" : "*", "Condition" : { "StringLike" : { "aws:ResourceTag/ManagedByAmazonSageMakerResource" : "*" } } }, { "Sid" : "AllowEFSDescribe", "Effect" : "Allow", "Action" : [ "elasticfilesystem:DescribeAccessPoints", "elasticfilesystem:DescribeFileSystems", "elasticfilesystem:DescribeMountTargets" ], "Resource" : "*" }, { "Sid" : "AllowEFSTagging", "Effect" : "Allow", "Action" : "elasticfilesystem:TagResource", "Resource" : [ "arn:aws:elasticfilesystem:*:*:access-point/*", "arn:aws:elasticfilesystem:*:*:file-system/*" ], "Condition" : { "StringLike" : { "aws:ResourceTag/ManagedByAmazonSageMakerResource" : "*" } } }, { "Sid" : "AllowEC2Tagging", "Effect" : "Allow", "Action" : "ec2:CreateTags", "Resource" : [ "arn:aws:ec2:*:*:network-interface/*", "arn:aws:ec2:*:*:security-group/*" ] }, { "Sid" : "AllowEC2Operations", "Effect" : "Allow", "Action" : [ "ec2:CreateNetworkInterface", "ec2:CreateSecurityGroup", "ec2:DeleteNetworkInterface", "ec2:DescribeDhcpOptions", "ec2:DescribeNetworkInterfaces", "ec2:DescribeSecurityGroups", "ec2:DescribeSubnets", "ec2:DescribeVpcs", "ec2:ModifyNetworkInterfaceAttribute" ], "Resource" : "*" }, { "Sid" : "AllowEC2AuthZ", "Effect" : "Allow", "Action" : [ "ec2:AuthorizeSecurityGroupEgress", "ec2:AuthorizeSecurityGroupIngress", "ec2:CreateNetworkInterfacePermission", "ec2:DeleteNetworkInterfacePermission", "ec2:DeleteSecurityGroup", "ec2:RevokeSecurityGroupEgress", "ec2:RevokeSecurityGroupIngress" ], "Resource" : "*", "Condition" : { "StringLike" : { "ec2:ResourceTag/ManagedByAmazonSageMakerResource" : "*" } } }, { "Sid" : "AllowIdcOperations", "Effect" : "Allow", "Action" : [ "sso:CreateManagedApplicationInstance", "sso:DeleteManagedApplicationInstance", "sso:GetManagedApplicationInstance" ], "Resource" : "*" }, { "Sid" : "AllowSagemakerProfileCreation", "Effect" : "Allow", "Action" : [ "sagemaker:CreateUserProfile", "sagemaker:DescribeUserProfile" ], "Resource" : "*" }, { "Sid" : "AllowSagemakerSpaceOperationsForCanvasManagedSpaces", "Effect" : "Allow", "Action" : [ "sagemaker:CreateSpace", "sagemaker:DescribeSpace", "sagemaker:DeleteSpace", "sagemaker:ListTags" ], "Resource" : "arn:aws:sagemaker:*:*:space/*/CanvasManagedSpace-*" }, { "Sid" : "AllowSagemakerAddTagsForAppManagedSpaces", "Effect" : "Allow", "Action" : [ "sagemaker:AddTags" ], "Resource" : "arn:aws:sagemaker:*:*:space/*/CanvasManagedSpace-*", "Condition" : { "StringEquals" : { "sagemaker:TaggingAction" : "CreateSpace" } } } ] }

了解更多信息