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
ARNs that cases:DeleteRelatedItem can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants cases:DeleteRelatedItem.
Filters access by tags associated with the resource
Filters access by who created the the resource (user ARN or custom entity)
Filters access by the type of related item. Possible values: Contact, Comment, File, Sla, ConnectCase, Custom
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": "*"
}
]
}