本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
CloudWatchAgentServerPolicy
描述: AmazonCloudWatchAgent 在服务器上使用所需的权限
CloudWatchAgentServerPolicy
是一项 AWS 托管式策略。
使用此策略
您可以将 CloudWatchAgentServerPolicy
附加到您的用户、组和角色。
策略详细信息
-
类型: AWS 托管策略
-
创建时间:2018 年 3 月 7 日 01:06 UTC
-
编辑时间:2024 年 2 月 6 日 16:37 UTC
-
ARN:
arn:aws:iam::aws:policy/CloudWatchAgentServerPolicy
策略版本
策略版本:v3 (默认值)
此策略的默认版本是定义策略权限的版本。当使用该策略的用户或角色请求访问 AWS 资源时, AWS 会检查策略的默认版本以确定是否允许该请求。
JSON 策略文档
{ "Version" : "2012-10-17", "Statement" : [ { "Sid" : "CWACloudWatchServerPermissions", "Effect" : "Allow", "Action" : [ "cloudwatch:PutMetricData", "ec2:DescribeVolumes", "ec2:DescribeTags", "logs:PutLogEvents", "logs:PutRetentionPolicy", "logs:DescribeLogStreams", "logs:DescribeLogGroups", "logs:CreateLogStream", "logs:CreateLogGroup", "xray:PutTraceSegments", "xray:PutTelemetryRecords", "xray:GetSamplingRules", "xray:GetSamplingTargets", "xray:GetSamplingStatisticSummaries" ], "Resource" : "*" }, { "Sid" : "CWASSMServerPermissions", "Effect" : "Allow", "Action" : [ "ssm:GetParameter" ], "Resource" : "arn:aws:ssm:*:*:parameter/AmazonCloudWatch-*" } ] }