The following code examples show how to use DeleteConfigRule
.
- AWS CLI
-
To delete an AWS Config rule
The following command deletes an AWS Config rule named
MyConfigRule
:aws configservice delete-config-rule --config-rule-name
MyConfigRule
-
For API details, see DeleteConfigRule
in AWS CLI Command Reference.
-
For a complete list of AWS SDK developer guides and code examples, see Using AWS Config with an AWS SDK. This topic also includes information about getting started and details about previous SDK versions.