connect:DeleteMetric

Write

connect:DeleteMetric is a Write access-level action in the connect service. Grants permission to delete a metric in an Amazon Connect instance

Resource types

ARNs that connect:DeleteMetric can be scoped to in an IAM policy.

arn:${Partition}:connect:${Region}:${Account}:instance/${InstanceId}/metric/${MetricId} required
metric

Condition keys

Keys you can use in the Condition block of a policy that grants connect:DeleteMetric.

aws:ResourceTag/${TagKey} String

Filters access by using tag key-value pairs attached to the resource

connect:InstanceId String

Filters access by restricting federation into specified Amazon Connect instances

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowConnectDeleteMetric",
      "Effect": "Allow",
      "Action": "connect:DeleteMetric",
      "Resource": "*"
    }
  ]
}

Related actions in connect

View all connect actions →