cloudwatch:DeleteAccessGrant

Permissions management

cloudwatch:DeleteAccessGrant is a Permissions management access-level action in the cloudwatch service. Grants permission to delete an access grant

Resource types

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

arn:${Partition}:cloudwatch:${Region}:${Account}:access-grant/${GrantId} required
access-grant

Condition keys

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

cloudwatch:HasAccessGrant String

Filters access by the presence of access grants associated with the request

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

Example IAM policy

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

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

Related actions in cloudwatch

View all cloudwatch actions →