inspector2:DeleteConnector

Write

inspector2:DeleteConnector is a Write access-level action in the inspector2 service. Grants permission to delete a connector configured for scanning resources from a third-party cloud provider

Resource types

ARNs that inspector2:DeleteConnector can be scoped to in an IAM policy.

arn:${Partition}:inspector2:${Region}:${Account}:connector/${ConnectorId}
Connector

Condition keys

Keys you can use in the Condition block of a policy that grants inspector2:DeleteConnector.

aws:ResourceTag/${TagKey} String

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

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowInspector2DeleteConnector",
      "Effect": "Allow",
      "Action": "inspector2:DeleteConnector",
      "Resource": "*"
    }
  ]
}

Related actions in inspector2

View all inspector2 actions →