cloudwatch:PutLogAlarm

Write

cloudwatch:PutLogAlarm is a Write access-level action in the cloudwatch service. Grants permission to create or update a log-based alarm and associate it with a CloudWatch Logs Insights scheduled query

Resource types

ARNs that cloudwatch:PutLogAlarm can be scoped to in an IAM policy.

arn:${Partition}:cloudwatch:${Region}:${Account}:alarm:${AlarmName}
alarm

Condition keys

Keys you can use in the Condition block of a policy that grants cloudwatch:PutLogAlarm.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Dependent actions

To use cloudwatch:PutLogAlarm you may also need to grant:

Example IAM policy

A minimal policy that allows cloudwatch:PutLogAlarm. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCloudwatchPutLogAlarm",
      "Effect": "Allow",
      "Action": "cloudwatch:PutLogAlarm",
      "Resource": "*"
    }
  ]
}

Related actions in cloudwatch

View all cloudwatch actions →