Updating Amazon Config Rules
You can use the Amazon Config console or the Amazon SDKs to update your rules.
Updating Rules (Console)
The Rules page shows your rules and their current compliance results in a table. The result for each rule is Evaluating... until Amazon Config finishes evaluating your resources against the rule. You can update the results with the refresh button. When Amazon Config finishes evaluations, you can see the rules and resource types that are compliant or noncompliant. For more information, see Viewing Compliance Information and Evaluation Results for your Amazon Resources.
Note
Amazon Config evaluates only the resource types that it is recording. For example, if you add the cloudtrail-enabled rule but don't record the CloudTrail trail resource type, Amazon Config can't evaluate whether the trails in your account are compliant or noncompliant. For more information, see Recording Amazon Resources.
To update a rule
Sign in to the Amazon Web Services Management Console and open the Amazon Config console at https://console.amazonaws.cn/config/
. -
In the Amazon Web Services Management Console menu, verify that the region selector is set to a region that supports Amazon Config rules. For the list of supported regions, see Amazon Config Regions and Endpoints in the Amazon Web Services General Reference.
-
In the left navigation, choose Rules.
-
Choose a rule and Edit rule for the rule that you want to update.
-
Modify the settings on the Edit rule page to change your rule as needed.
-
Choose Save.
Updating Rules (Amazon SDKs)
If you are updating a rule that you added previously,
you can specify the rule by ConfigRuleName
,
ConfigRuleId
, or ConfigRuleArn
in the ConfigRule
data type that you use in this request.
You use the same PutConfigRule
command that you use when adding a rule.
The following code examples show how to use PutConfigRule
.