AmazonSecurityLakeMetastoreManager - AWS 托管策略

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

AmazonSecurityLakeMetastoreManager

描述:亚马逊 SecurityLake 元存储管理器 lambda 的政策,该政策允许访问 cloudwatch、S3、Glue 和 SQS。

AmazonSecurityLakeMetastoreManager 是一项 AWS 托管式策略

使用此策略

您可以将 AmazonSecurityLakeMetastoreManager 附加到您的用户、组和角色。

策略详细信息

  • 类型:服务角色策略

  • 创建时间:2024 年 1 月 23 日 15:26 UTC

  • 编辑时间:2024 年 4 月 1 日 20:04 UTC

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

策略版本

策略版本:v2 (默认值)

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

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "AllowWriteLambdaLogs", "Effect" : "Allow", "Action" : [ "logs:CreateLogStream", "logs:PutLogEvents", "logs:CreateLogGroup" ], "Resource" : [ "arn:aws:logs:*:*:log-group:/aws/lambda/AmazonSecurityLake*", "arn:aws:logs:*:*:/aws/lambda/AmazonSecurityLake*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowGlueManage", "Effect" : "Allow", "Action" : [ "glue:CreatePartition", "glue:BatchCreatePartition", "glue:GetTable", "glue:UpdateTable" ], "Resource" : [ "arn:aws:glue:*:*:table/amazon_security_lake_glue_db*/*", "arn:aws:glue:*:*:database/amazon_security_lake_glue_db*", "arn:aws:glue:*:*:catalog" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowToReadFromSqs", "Effect" : "Allow", "Action" : [ "sqs:ReceiveMessage", "sqs:DeleteMessage", "sqs:GetQueueAttributes" ], "Resource" : [ "arn:aws:sqs:*:*:AmazonSecurityLake*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowMetaDataReadWrite", "Effect" : "Allow", "Action" : [ "s3:ListBucket", "s3:PutObject", "s3:GetObject" ], "Resource" : [ "arn:aws:s3:::aws-security-data-lake*" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } }, { "Sid" : "AllowMetaDataCleanup", "Effect" : "Allow", "Action" : [ "s3:DeleteObject" ], "Resource" : [ "arn:aws:s3:::aws-security-data-lake*/metadata/*.avro", "arn:aws:s3:::aws-security-data-lake*/metadata/*.metadata.json" ], "Condition" : { "StringEquals" : { "aws:ResourceAccount" : "${aws:PrincipalAccount}" } } } ] }

了解更多信息