cases:DeleteRelatedItem

Write

cases:DeleteRelatedItem is a Write access-level action in the cases service. Grants permission to delete the related item associated to the case in the case domain

Resource types

ARNs that cases:DeleteRelatedItem can be scoped to in an IAM policy.

arn:${Partition}:cases:${Region}:${Account}:domain/${DomainId}/case/${CaseId}
Case
arn:${Partition}:cases:${Region}:${Account}:domain/${DomainId}
Domain
arn:${Partition}:cases:${Region}:${Account}:domain/${DomainId}/case/${CaseId}/related-item/${RelatedItemId}
RelatedItem

Condition keys

Keys you can use in the Condition block of a policy that grants cases:DeleteRelatedItem.

aws:ResourceTag/${TagKey} String

Filters access by tags associated with the resource

cases:CreatedBy String

Filters access by who created the the resource (user ARN or custom entity)

cases:RelatedItemType String

Filters access by the type of related item. Possible values: Contact, Comment, File, Sla, ConnectCase, Custom

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCasesDeleteRelatedItem",
      "Effect": "Allow",
      "Action": "cases:DeleteRelatedItem",
      "Resource": "*"
    }
  ]
}

Related actions in cases

View all cases actions →