instance-cloudwatch-policy.json 630 B

12345678910111213141516171819202122232425
  1. {
  2. "Version": "2012-10-17",
  3. "Statement": [
  4. {
  5. "Effect": "Allow",
  6. "Action": [
  7. "cloudwatch:PutMetricData",
  8. "ec2:DescribeVolumes",
  9. "ec2:DescribeTags",
  10. "logs:PutLogEvents",
  11. "logs:DescribeLogStreams",
  12. "logs:DescribeLogGroups",
  13. "logs:CreateLogStream"
  14. ],
  15. "Resource": "*"
  16. },
  17. {
  18. "Effect": "Allow",
  19. "Action": [
  20. "ssm:GetParameter"
  21. ],
  22. "Resource": "${ssm_parameter_arn}/*"
  23. }
  24. ]
  25. }