Skip to content

Delete Configuration Policy

securityhub_delete_configuration_policy R Documentation

Deletes a configuration policy

Description

Deletes a configuration policy. Only the Security Hub delegated administrator can invoke this operation from the home Region. For the deletion to succeed, you must first disassociate a configuration policy from target accounts, organizational units, or the root by invoking the start_configuration_policy_disassociation operation.

Usage

securityhub_delete_configuration_policy(Identifier)

Arguments

Identifier

[required] The Amazon Resource Name (ARN) or universally unique identifier (UUID) of the configuration policy.

Value

An empty list.

Request syntax

svc$delete_configuration_policy(
  Identifier = "string"
)

Examples

## Not run: 
# This operation deletes the specified configuration policy.
svc$delete_configuration_policy(
  Identifier = "arn:aws:securityhub:us-east-1:123456789012:configuration-po..."
)

## End(Not run)