Skip to content

Commit 4863805

Browse files
author
awstools
committed
feat(client-config-service): Updated ResourceType enum with new resource types onboarded by AWS Config as of June 2025
1 parent 08fc8d3 commit 4863805

24 files changed

+359
-214
lines changed

clients/client-config-service/src/commands/AssociateResourceTypesCommand.ts

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/BatchGetAggregateResourceConfigCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/BatchGetResourceConfigCommand.ts

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

clients/client-config-service/src/commands/DeleteConfigRuleCommand.ts

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,27 @@ export interface DeleteConfigRuleCommandOutput extends __MetadataBearer {}
3939
* <code>DescribeConfigRules</code> request.</p>
4040
* <note>
4141
* <p>
42-
* <b>Recommendation: Consider excluding the <code>AWS::Config::ResourceCompliance</code> resource type from recording before deleting rules</b>
42+
* <b>Recommendation: Stop recording resource compliance before deleting rules</b>
4343
* </p>
44-
* <p>Deleting rules creates configuration items (CIs) for <code>AWS::Config::ResourceCompliance</code>
45-
* that can affect your costs for the configuration recorder. If you are deleting rules which evaluate a large number of resource types,
44+
* <p>It is highly recommended that you stop recording for the <code>AWS::Config::ResourceCompliance</code> resource type before you delete rules in your account.
45+
* Deleting rules creates CIs for <code>AWS::Config::ResourceCompliance</code> and can affect your Config <a href="https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html">configuration recorder</a> costs.
46+
*
47+
* If you are deleting rules which evaluate a large number of resource types,
4648
* this can lead to a spike in the number of CIs recorded.</p>
47-
* <p>To avoid the associated costs, you can opt to disable recording
48-
* for the <code>AWS::Config::ResourceCompliance</code> resource type before deleting rules, and re-enable recording after the rules have been deleted.</p>
49-
* <p>However, since deleting rules is an asynchronous process, it might take an hour or more to complete. During the time
50-
* when recording is disabled for <code>AWS::Config::ResourceCompliance</code>, rule evaluations will not be recorded in the associated resource’s history.</p>
49+
* <p>Best practice:</p>
50+
* <ol>
51+
* <li>
52+
* <p>Stop recording <code>AWS::Config::ResourceCompliance</code>
53+
* </p>
54+
* </li>
55+
* <li>
56+
* <p>Delete rule(s)</p>
57+
* </li>
58+
* <li>
59+
* <p>Turn on recording for <code>AWS::Config::ResourceCompliance</code>
60+
* </p>
61+
* </li>
62+
* </ol>
5163
* </note>
5264
* @example
5365
* Use a bare-bones client and the command you need to make an API call.

clients/client-config-service/src/commands/DeleteConformancePackCommand.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,6 @@ export interface DeleteConformancePackCommandOutput extends __MetadataBearer {}
3232
* conformance pack.</p>
3333
* <p>Config sets the conformance pack to <code>DELETE_IN_PROGRESS</code> until the deletion is complete.
3434
* You cannot update a conformance pack while it is in this state.</p>
35-
* <note>
36-
* <p>
37-
* <b>Recommendation: Consider excluding the <code>AWS::Config::ResourceCompliance</code> resource type from recording before deleting rules</b>
38-
* </p>
39-
* <p>Deleting rules creates configuration items (CIs) for <code>AWS::Config::ResourceCompliance</code>
40-
* that can affect your costs for the configuration recorder. If you are deleting rules which evaluate a large number of resource types,
41-
* this can lead to a spike in the number of CIs recorded.</p>
42-
* <p>To avoid the associated costs, you can opt to disable recording
43-
* for the <code>AWS::Config::ResourceCompliance</code> resource type before deleting rules, and re-enable recording after the rules have been deleted.</p>
44-
* <p>However, since deleting rules is an asynchronous process, it might take an hour or more to complete. During the time
45-
* when recording is disabled for <code>AWS::Config::ResourceCompliance</code>, rule evaluations will not be recorded in the associated resource’s history.</p>
46-
* </note>
4735
* @example
4836
* Use a bare-bones client and the command you need to make an API call.
4937
* ```javascript

clients/client-config-service/src/commands/DeleteOrganizationConfigRuleCommand.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,6 @@ export interface DeleteOrganizationConfigRuleCommandOutput extends __MetadataBea
3737
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
3838
* <p>Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete.
3939
* You cannot update a rule while it is in this state.</p>
40-
* <note>
41-
* <p>
42-
* <b>Recommendation: Consider excluding the <code>AWS::Config::ResourceCompliance</code> resource type from recording before deleting rules</b>
43-
* </p>
44-
* <p>Deleting rules creates configuration items (CIs) for <code>AWS::Config::ResourceCompliance</code>
45-
* that can affect your costs for the configuration recorder. If you are deleting rules which evaluate a large number of resource types,
46-
* this can lead to a spike in the number of CIs recorded.</p>
47-
* <p>To avoid the associated costs, you can opt to disable recording
48-
* for the <code>AWS::Config::ResourceCompliance</code> resource type before deleting rules, and re-enable recording after the rules have been deleted.</p>
49-
* <p>However, since deleting rules is an asynchronous process, it might take an hour or more to complete. During the time
50-
* when recording is disabled for <code>AWS::Config::ResourceCompliance</code>, rule evaluations will not be recorded in the associated resource’s history.</p>
51-
* </note>
5240
* @example
5341
* Use a bare-bones client and the command you need to make an API call.
5442
* ```javascript

clients/client-config-service/src/commands/DeleteOrganizationConformancePackCommand.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,6 @@ export interface DeleteOrganizationConformancePackCommandOutput extends __Metada
3838
* <code>ListDelegatedAdministrator</code> permissions are added.</p>
3939
* <p>Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete.
4040
* You cannot update a conformance pack while it is in this state. </p>
41-
* <note>
42-
* <p>
43-
* <b>Recommendation: Consider excluding the <code>AWS::Config::ResourceCompliance</code> resource type from recording before deleting rules</b>
44-
* </p>
45-
* <p>Deleting rules creates configuration items (CIs) for <code>AWS::Config::ResourceCompliance</code>
46-
* that can affect your costs for the configuration recorder. If you are deleting rules which evaluate a large number of resource types,
47-
* this can lead to a spike in the number of CIs recorded.</p>
48-
* <p>To avoid the associated costs, you can opt to disable recording
49-
* for the <code>AWS::Config::ResourceCompliance</code> resource type before deleting rules, and re-enable recording after the rules have been deleted.</p>
50-
* <p>However, since deleting rules is an asynchronous process, it might take an hour or more to complete. During the time
51-
* when recording is disabled for <code>AWS::Config::ResourceCompliance</code>, rule evaluations will not be recorded in the associated resource’s history.</p>
52-
* </note>
5341
* @example
5442
* Use a bare-bones client and the command you need to make an API call.
5543
* ```javascript

0 commit comments

Comments
 (0)