AmazonSageMakerNotebooksServiceRolePolicy - AWS 受管政策

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

AmazonSageMakerNotebooksServiceRolePolicy

說明:Amazon SageMaker Notebooks 的服務連結角色受管政策

AmazonSageMakerNotebooksServiceRolePolicyAWS 受管政策

使用此政策

此政策會連接至服務連結角色,讓服務代表您執行動作。您無法將此政策連接至使用者、群組或角色。

政策詳細資訊

  • 類型:服務連結角色政策

  • 建立時間:2019 年 10 月 18 日 20:27 UTC

  • 編輯時間:2024 年 11 月 14 日 20:33 UTC

  • 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" } } } ] }

進一步了解