CloudWatchAgentServerPolicy
Description: Permissions required to use AmazonCloudWatchAgent on servers
CloudWatchAgentServerPolicy
is an AWS managed policy.
Using this policy
You can attach CloudWatchAgentServerPolicy
to your users, groups, and roles.
Policy details
-
Type: AWS managed policy
-
Creation time: March 07, 2018, 01:06 UTC
-
Edited time: February 06, 2024, 16:37 UTC
-
ARN:
arn:aws:iam::aws:policy/CloudWatchAgentServerPolicy
Policy version
Policy version: v3 (default)
The policy's default version is the version that defines the permissions for the policy. When a user or role with the policy makes a request to access an AWS resource, AWS checks the default version of the policy to determine whether to allow the request.
JSON policy document
{ "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-*" } ] }