connect:DeleteInstance

Write

connect:DeleteInstance is a Write access-level action in the connect service. Grants permission to delete an Amazon Connect instance. When you remove an instance, the link to an existing AWS directory is also removed

Resource types

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

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

Condition keys

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

aws:ResourceTag/${TagKey} String

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

Dependent actions

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

Example IAM policy

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

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

Related actions in connect

View all connect actions →