connect:DeleteAttachedFile

Write

connect:DeleteAttachedFile is a Write access-level action in the connect service. Grants permission to delete an attached file from an Amazon Connect instance

Resource types

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

arn:${Partition}:connect:${Region}:${Account}:instance/${InstanceId}/file/${FileId}
attached-file

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Dependent actions

To use connect:DeleteAttachedFile you may also need to grant:

Example IAM policy

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

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

Related actions in connect

View all connect actions →