AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteConfigRule operation. Deletes the specified Config rule and all of its evaluation results.

Config sets the state of a rule to DELETING until the deletion is complete. You cannot update a rule while it is in this state. If you make a PutConfigRule or DeleteConfigRule request for the rule, you will receive a ResourceInUseException.

You can check the state of a rule by using the DescribeConfigRules request.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ConfigService.AmazonConfigServiceRequest
      Amazon.ConfigService.Model.DeleteConfigRuleRequest

Namespace: Amazon.ConfigService.Model
Assembly: AWSSDK.ConfigService.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteConfigRuleRequest : AmazonConfigServiceRequest
         IAmazonWebServiceRequest

The DeleteConfigRuleRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteConfigRuleRequest()

Properties

NameTypeDescription
Public Property ConfigRuleName System.String

Gets and sets the property ConfigRuleName.

The name of the Config rule that you want to delete.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5