You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/client-config-service/src/ConfigService.ts
+61-39Lines changed: 61 additions & 39 deletions
Original file line number
Diff line number
Diff line change
@@ -2867,7 +2867,10 @@ export class ConfigService extends ConfigServiceClient {
2867
2867
* <p>Returns a list of conformance pack compliance scores.
2868
2868
* A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack.
2869
2869
* This metric provides you with a high-level view of the compliance state of your conformance packs, and can be used to identify, investigate, and understand
2870
-
* compliance deviations in your conformance packs.</p>
2870
+
* the level of compliance in your conformance packs.</p>
2871
+
* <note>
2872
+
* <p>Conformance packs with no evaluation results will have a compliance score of <code>INSUFFICIENT_DATA</code>.</p>
* Repository</a>) is a policy-as-code language that allows you to write policies that
3062
+
* are enforced by Config Custom Policy rules. Lambda uses custom code that you upload to
3063
+
* evaluate a custom rule. If you are adding a new Custom Lambda rule,
3064
+
* you first need to create an Lambda function that the rule invokes to evaluate
3065
+
* your resources. When you use <code>PutConfigRule</code> to add a Custom Lambda rule to Config, you must specify the Amazon Resource
3066
+
* Name (ARN) that Lambda assigns to the function. You specify the ARN
3067
+
* in the <code>SourceIdentifier</code> key. This key is part of the
3068
+
* <code>Source</code> object, which is part of the
3069
+
* <code>ConfigRule</code> object. </p>
3070
+
*
3071
+
* <p>Managed rules are predefined,
3072
+
* customizable rules created by Config. For a list of managed rules, see
3073
+
* <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">List of Config
3074
+
* Managed Rules</a>. If you are adding an Config managed rule, you must specify the
3075
+
* rule's identifier for the <code>SourceIdentifier</code> key.</p>
3076
+
*
3064
3077
* <p>For any new rule that you add, specify the
3065
3078
* <code>ConfigRuleName</code> in the <code>ConfigRule</code>
3066
3079
* object. Do not specify the <code>ConfigRuleArn</code> or the
@@ -3070,10 +3083,6 @@ export class ConfigService extends ConfigServiceClient {
3070
3083
* <code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the
3071
3084
* <code>ConfigRule</code> data type that you use in this
3072
3085
* request.</p>
3073
-
* <p>For information on how many Config rules you can have per account,
3074
-
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
3075
-
* <b>Service Limits</b>
3076
-
* </a> in the Config Developer Guide.</p>
3077
3086
*
3078
3087
* <p>For more information about developing and using Config
3079
3088
* rules, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating Amazon Web Services resource Configurations with Config</a>
@@ -3123,7 +3132,7 @@ export class ConfigService extends ConfigServiceClient {
3123
3132
* <p>If your source type is an organization, you must be signed in to the management account or a registered delegated administrator and all the features must be enabled in your organization.
3124
3133
* If the caller is a management account, Config calls <code>EnableAwsServiceAccess</code> API to enable integration between Config and Organizations.
3125
3134
* If the caller is a registered delegated administrator, Config calls <code>ListDelegatedAdministrators</code> API to verify whether the caller is a valid delegated administrator.</p>
3126
-
* <p>To register a delegated administrator, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/set-up-aggregator-cli.html#register-a-delegated-administrator-cli">Register a Delegated Administrator</a> in the Config developer guide. </p>
3135
+
* <p>To register a delegated administrator, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/set-up-aggregator-cli.html#register-a-delegated-administrator-cli">Register a Delegated Administrator</a> in the <i>Config developer guide</i>. </p>
3127
3136
* </note>
3128
3137
*/
3129
3138
publicputConfigurationAggregator(
@@ -3206,8 +3215,8 @@ export class ConfigService extends ConfigServiceClient {
3206
3215
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
3207
3216
* <b>Service Limits</b>
3208
3217
* </a> in the Config Developer Guide.</p>
3209
-
* <p>This API creates a servicelinked role <code>AWSServiceRoleForConfigConforms</code> in your account.
3210
-
* The servicelinked role is created only when the role does not exist in your account. </p>
3218
+
* <p>This API creates a service-linked role <code>AWSServiceRoleForConfigConforms</code> in your account.
3219
+
* The service-linked role is created only when the role does not exist in your account. </p>
3211
3220
* <note>
3212
3221
* <p>You must specify either the <code>TemplateS3Uri</code> or the <code>TemplateBody</code> parameter, but not both.
3213
3222
* If you provide both Config uses the <code>TemplateS3Uri</code> parameter and ignores the <code>TemplateBody</code> parameter.</p>
@@ -3358,29 +3367,42 @@ export class ConfigService extends ConfigServiceClient {
3358
3367
}
3359
3368
3360
3369
/**
3361
-
* <p>Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your
3370
+
* <p>Adds or updates an Config rule for your entire organization to evaluate if your Amazon Web Services resources comply with your
3362
3371
* desired configurations. For information on how many organization Config rules you can have per account,
3363
3372
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
3364
3373
* <b>Service Limits</b>
3365
-
* </a> in the Config Developer Guide.</p>
3374
+
* </a> in the <i>Config Developer Guide</i>.</p>
3366
3375
* <p> Only a master account and a delegated administrator can create or update an organization Config rule.
3367
3376
* When calling this API with a delegated administrator, you must ensure Organizations
3368
3377
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
3369
-
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a servicelinked
3378
+
* <p>This API enables organization service access through the <code>EnableAWSServiceAccess</code> action and creates a service-linked
3370
3379
* role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
3371
-
* The servicelinked role is created only when the role does not exist in the caller account.
3380
+
* The service-linked role is created only when the role does not exist in the caller account.
3372
3381
* Config verifies the existence of role with <code>GetRole</code> action.</p>
3373
3382
* <p>To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
3374
3383
* <code>register-delegated-administrator</code> for <code>config-multiaccountsetup.amazonaws.com</code>. </p>
3375
-
* <p>You can use this action to create both Config custom rules and Config managed rules.
3376
-
* If you are adding a new Config custom rule, you must first create Lambda function in the master account or a delegated
3377
-
* administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed-account that can be assumed by the Lambda function.
3378
-
* When you use the <code>PutOrganizationConfigRule</code> action to add the rule to Config, you must
3379
-
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.
3380
-
* If you are adding an Config managed rule, specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
3384
+
*
3385
+
* <p>There are two types of rules: Config Custom Rules and Config Managed Rules.
3386
+
* You can use <code>PutOrganizationConfigRule</code> to create both Config custom rules and Config managed rules.</p>
3387
+
*
3388
+
* <p>Custom rules are rules that you can create using either Guard or Lambda functions.
* Repository</a>) is a policy-as-code language that allows you to write policies that
3391
+
* are enforced by Config Custom Policy rules. Lambda uses custom code that you upload to
3392
+
* evaluate a custom rule. If you are adding a new Custom Lambda rule, you first need to create an Lambda function in the master account or a delegated
3393
+
* administrator that the rule invokes to evaluate your resources. You also need to create an IAM role in the managed account that can be assumed by the Lambda function.
3394
+
* When you use <code>PutOrganizationConfigRule</code> to add a Custom Lambda rule to Config, you must
3395
+
* specify the Amazon Resource Name (ARN) that Lambda assigns to the function.</p>
3396
+
*
3397
+
* <p>Managed rules are predefined,
3398
+
* customizable rules created by Config. For a list of managed rules, see
3399
+
* <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">List of Config
3400
+
* Managed Rules</a>. If you are adding an Config managed rule, you must specify the rule's identifier for the <code>RuleIdentifier</code> key.</p>
3401
+
*
3402
+
*
3381
3403
* <note>
3382
3404
* <p>Prerequisite: Ensure you call <code>EnableAllFeatures</code> API to enable all features in an organization.</p>
3383
-
* <p>Specify either <code>OrganizationCustomRuleMetadata</code> or <code>OrganizationManagedRuleMetadata</code>.</p>
3405
+
* <p>Make sure to specify one of either <code>OrganizationCustomPolicyRuleMetadata</code> for Custom Policy rules, <code>OrganizationCustomRuleMetadata</code> for Custom Lambda rules, or <code>OrganizationManagedRuleMetadata</code> for managed rules.</p>
3384
3406
* </note>
3385
3407
*/
3386
3408
publicputOrganizationConfigRule(
@@ -3422,8 +3444,8 @@ export class ConfigService extends ConfigServiceClient {
3422
3444
* <code>ListDelegatedAdministrator</code> permissions are added. An organization can have up to 3 delegated administrators.</p>
3423
3445
* <p>This API enables organization service access for <code>config-multiaccountsetup.amazonaws.com</code>
3424
3446
* through the <code>EnableAWSServiceAccess</code> action and creates a
3425
-
* servicelinked role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
3426
-
* The servicelinked role is created only when the role does not exist in the caller account.
3447
+
* service-linked role <code>AWSServiceRoleForConfigMultiAccountSetup</code> in the master or delegated administrator account of your organization.
3448
+
* The service-linked role is created only when the role does not exist in the caller account.
3427
3449
* To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization
3428
3450
* <code>register-delegate-admin</code> for <code>config-multiaccountsetup.amazonaws.com</code>.</p>
3429
3451
*
@@ -3715,7 +3737,7 @@ export class ConfigService extends ConfigServiceClient {
3715
3737
* <p>For more information about query components, see the
* <p>Returns a list of conformance pack compliance scores.
34
34
* A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack.
35
35
* This metric provides you with a high-level view of the compliance state of your conformance packs, and can be used to identify, investigate, and understand
36
-
* compliance deviations in your conformance packs.</p>
36
+
* the level of compliance in your conformance packs.</p>
37
+
* <note>
38
+
* <p>Conformance packs with no evaluation results will have a compliance score of <code>INSUFFICIENT_DATA</code>.</p>
39
+
* </note>
37
40
* @example
38
41
* Use a bare-bones client and the command you need to make an API call.
* <code>ConfigRuleId</code>, or <code>ConfigRuleArn</code> in the
50
60
* <code>ConfigRule</code> data type that you use in this
51
61
* request.</p>
52
-
* <p>For information on how many Config rules you can have per account,
53
-
* see <a href="https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html">
54
-
* <b>Service Limits</b>
55
-
* </a> in the Config Developer Guide.</p>
56
62
*
57
63
* <p>For more information about developing and using Config
58
64
* rules, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html">Evaluating Amazon Web Services resource Configurations with Config</a>
0 commit comments