Skip to content

Deletes a CSPM connector

Description

Deletes a CSPM connector. When you delete a connector, Security Hub CSPM stops ingesting findings and resource data from the connected cloud provider environment.

Usage

securityhub_delete_connector(ConnectorId)

Arguments

  • ConnectorId

    [required] The unique identifier of the connector to delete.

Value

A list with the following syntax:

list(
  EnablementStatus = "ENABLED"|"PENDING_ENABLEMENT"|"PENDING_UPDATE"|"PENDING_DELETION"
)

Request syntax

svc$delete_connector(
  ConnectorId = "string"
)