AWSPanoramaApplianceServiceRolePolicy - AWS 托管策略

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

AWSPanoramaApplianceServiceRolePolicy

描述:允许 AWS Panorama Appliance 将日志上传到 Amazon CloudWatch,并从为与 AWS Panorama 一起使用而创建的 Amazon S3 接入点获取对象。

AWSPanoramaApplianceServiceRolePolicy 是一项 AWS 托管式策略

使用此策略

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

策略详细信息

  • 类型:服务角色策略

  • 创建时间:2021 年 10 月 20 日 12:14 UTC

  • 编辑时间:2023 年 1 月 17 日 21:32 UTC

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

策略版本

策略版本:v2(默认)

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

JSON 策略文档

{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "PanoramaDeviceCreateLogStream", "Effect" : "Allow", "Action" : [ "logs:CreateLogStream", "logs:DescribeLogStreams", "logs:PutLogEvents" ], "Resource" : [ "arn:aws:logs:*:*:log-group:/aws/panorama_device*:log-stream:*", "arn:aws:logs:*:*:log-group:/aws/panorama/devices/*" ] }, { "Sid" : "PanoramaDeviceCreateLogGroup", "Effect" : "Allow", "Action" : "logs:CreateLogGroup", "Resource" : [ "arn:aws:logs:*:*:log-group:/aws/panorama_device*", "arn:aws:logs:*:*:log-group:/aws/panorama/devices/*" ] }, { "Sid" : "PanoramaDevicePutMetric", "Effect" : "Allow", "Action" : "cloudwatch:PutMetricData", "Resource" : "*", "Condition" : { "StringEquals" : { "cloudwatch:namespace" : "PanoramaDeviceMetrics" } } }, { "Sid" : "PanoramaDeviceS3Access", "Effect" : "Allow", "Action" : [ "s3:GetObject", "s3:ListBucket", "s3:GetObjectVersion" ], "Resource" : [ "arn:aws:s3:::*-nodepackage-store-*", "arn:aws:s3:::*-application-payload-store-*", "arn:aws:s3:*:*:accesspoint/panorama*" ], "Condition" : { "StringLike" : { "s3:DataAccessPointArn" : "arn:aws:s3:*:*:accesspoint/panorama*" } } } ] }

了解更多信息