AwsGlueSessionUserRestrictedNotebookPolicy - AWS 受管政策

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

AwsGlueSessionUserRestrictedNotebookPolicy

描述︰提供權限,讓使用者只能建立和使用與使用者相關聯的記事本工作階段。此原則也包含明確允許使用者傳遞受限 Glue 工作階段角色的權限。

AwsGlueSessionUserRestrictedNotebookPolicyAWS 受管理的策略

使用此政策

您可以附加AwsGlueSessionUserRestrictedNotebookPolicy至您的使用者、群組和角色。

政策詳情

  • 類型: AWS 受管理的策略

  • 創作時間:二 ○ 二二二年四月十八日,下午三時 UTC

  • 編輯時間:二 ○ 二四年八月十五日,晚上七時五十一 UTC

  • ARN: arn:aws:iam::aws:policy/AwsGlueSessionUserRestrictedNotebookPolicy

政策版本

策略版本:v3(預設值)

原則的預設版本是定義原則權限的版本。當具有該策略的使用者或角色發出要求以存取 AWS 資源時,請 AWS 檢查原則的預設版本以決定是否允許該要求。

JSON政策文件

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "NotebokAllowActions0", "Effect" : "Allow", "Action" : [ "glue:CreateSession" ], "Resource" : [ "arn:aws:glue:*:*:session/*" ], "Condition" : { "StringEquals" : { "aws:RequestTag/owner" : "${aws:PrincipalTag/owner}" }, "ForAnyValue:StringEquals" : { "aws:TagKeys" : [ "owner" ] } } }, { "Sid" : "AllowGlueTaggingAction", "Effect" : "Allow", "Action" : [ "glue:TagResource" ], "Resource" : "arn:aws:glue:*:*:session/*", "Condition" : { "StringEquals" : { "aws:ResourceTag/owner" : "${aws:PrincipalTag/owner}", "aws:RequestTag/owner" : "${aws:PrincipalTag/owner}" } } }, { "Sid" : "NotebookAllowActions1", "Effect" : "Allow", "Action" : [ "glue:StartCompletion", "glue:GetCompletion" ], "Resource" : [ "arn:aws:glue:*:*:completion/*" ] }, { "Sid" : "NotebookAllowActions2", "Effect" : "Allow", "Action" : [ "glue:RunStatement", "glue:GetStatement", "glue:ListStatements", "glue:CancelStatement", "glue:StopSession", "glue:DeleteSession", "glue:GetSession" ], "Resource" : [ "arn:aws:glue:*:*:session/*" ], "Condition" : { "StringEquals" : { "aws:ResourceTag/owner" : "${aws:PrincipalTag/owner}" } } }, { "Sid" : "NotebookAllowActions3", "Effect" : "Allow", "Action" : [ "glue:ListSessions" ], "Resource" : [ "*" ] }, { "Sid" : "NotebookDenyActions", "Effect" : "Deny", "Action" : [ "glue:UntagResource", "tag:TagResources", "tag:UntagResources" ], "Resource" : [ "arn:aws:glue:*:*:session/*" ], "Condition" : { "ForAnyValue:StringEquals" : { "aws:TagKeys" : [ "owner" ] } } }, { "Sid" : "NotebookPassRole", "Effect" : "Allow", "Action" : [ "iam:PassRole" ], "Resource" : [ "arn:aws:iam::*:role/service-role/AwsGlueSessionServiceRoleUserRestrictedForNotebook*", "arn:aws:iam::*:role/AwsGlueSessionUserRestrictedNotebookServiceRole*" ], "Condition" : { "StringLike" : { "iam:PassedToService" : [ "glue.amazonaws.com" ] } } } ] }

進一步了解