aws-sdk 2.1099.0 → 2.1102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,19 +84,19 @@ declare class ConfigService extends Service {
84
84
  */
85
85
  deleteEvaluationResults(callback?: (err: AWSError, data: ConfigService.Types.DeleteEvaluationResultsResponse) => void): Request<ConfigService.Types.DeleteEvaluationResultsResponse, AWSError>;
86
86
  /**
87
- * Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account and a delegated administrator account can delete an organization config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
87
+ * Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization. Only a master account and a delegated administrator account can delete an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
88
88
  */
89
89
  deleteOrganizationConfigRule(params: ConfigService.Types.DeleteOrganizationConfigRuleRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90
90
  /**
91
- * Deletes the specified organization config rule and all of its evaluation results from all member accounts in that organization. Only a master account and a delegated administrator account can delete an organization config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
91
+ * Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization. Only a master account and a delegated administrator account can delete an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.
92
92
  */
93
93
  deleteOrganizationConfigRule(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94
94
  /**
95
- * Deletes the specified organization conformance pack and all of the config rules and remediation actions from all member accounts in that organization. Only a master account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
95
+ * Deletes the specified organization conformance pack and all of the Config rules and remediation actions from all member accounts in that organization. Only a master account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
96
96
  */
97
97
  deleteOrganizationConformancePack(params: ConfigService.Types.DeleteOrganizationConformancePackRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98
98
  /**
99
- * Deletes the specified organization conformance pack and all of the config rules and remediation actions from all member accounts in that organization. Only a master account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
99
+ * Deletes the specified organization conformance pack and all of the Config rules and remediation actions from all member accounts in that organization. Only a master account or a delegated administrator account can delete an organization conformance pack. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. Config sets the state of a conformance pack to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a conformance pack while it is in this state.
100
100
  */
101
101
  deleteOrganizationConformancePack(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
102
  /**
@@ -284,19 +284,19 @@ declare class ConfigService extends Service {
284
284
  */
285
285
  describeDeliveryChannels(callback?: (err: AWSError, data: ConfigService.Types.DescribeDeliveryChannelsResponse) => void): Request<ConfigService.Types.DescribeDeliveryChannelsResponse, AWSError>;
286
286
  /**
287
- * Provides organization config rule deployment status for an organization. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.
287
+ * Provides organization Config rule deployment status for an organization. The status is not considered successful until organization Config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization Config rule names. It is only applicable, when you request all the organization Config rules.
288
288
  */
289
289
  describeOrganizationConfigRuleStatuses(params: ConfigService.Types.DescribeOrganizationConfigRuleStatusesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse, AWSError>;
290
290
  /**
291
- * Provides organization config rule deployment status for an organization. The status is not considered successful until organization config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.
291
+ * Provides organization Config rule deployment status for an organization. The status is not considered successful until organization Config rule is successfully deployed in all the member accounts with an exception of excluded accounts. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization Config rule names. It is only applicable, when you request all the organization Config rules.
292
292
  */
293
293
  describeOrganizationConfigRuleStatuses(callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRuleStatusesResponse, AWSError>;
294
294
  /**
295
- * Returns a list of organization config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.
295
+ * Returns a list of organization Config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization Config rule names. It is only applicable, when you request all the organization Config rules.
296
296
  */
297
297
  describeOrganizationConfigRules(params: ConfigService.Types.DescribeOrganizationConfigRulesRequest, callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRulesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRulesResponse, AWSError>;
298
298
  /**
299
- * Returns a list of organization config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization config rule names. It is only applicable, when you request all the organization config rules.
299
+ * Returns a list of organization Config rules. When you specify the limit and the next token, you receive a paginated response. Limit and next token are not applicable if you specify organization Config rule names. It is only applicable, when you request all the organization Config rules.
300
300
  */
301
301
  describeOrganizationConfigRules(callback?: (err: AWSError, data: ConfigService.Types.DescribeOrganizationConfigRulesResponse) => void): Request<ConfigService.Types.DescribeOrganizationConfigRulesResponse, AWSError>;
302
302
  /**
@@ -439,6 +439,14 @@ declare class ConfigService extends Service {
439
439
  * Returns compliance details for the conformance pack based on the cumulative compliance results of all the rules in that conformance pack.
440
440
  */
441
441
  getConformancePackComplianceSummary(callback?: (err: AWSError, data: ConfigService.Types.GetConformancePackComplianceSummaryResponse) => void): Request<ConfigService.Types.GetConformancePackComplianceSummaryResponse, AWSError>;
442
+ /**
443
+ * Returns the policy definition containing the logic for your Config Custom Policy rule.
444
+ */
445
+ getCustomRulePolicy(params: ConfigService.Types.GetCustomRulePolicyRequest, callback?: (err: AWSError, data: ConfigService.Types.GetCustomRulePolicyResponse) => void): Request<ConfigService.Types.GetCustomRulePolicyResponse, AWSError>;
446
+ /**
447
+ * Returns the policy definition containing the logic for your Config Custom Policy rule.
448
+ */
449
+ getCustomRulePolicy(callback?: (err: AWSError, data: ConfigService.Types.GetCustomRulePolicyResponse) => void): Request<ConfigService.Types.GetCustomRulePolicyResponse, AWSError>;
442
450
  /**
443
451
  * Returns the resource types, the number of each resource type, and the total number of resources that Config is recording in this region for your Amazon Web Services account. Example Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets. You make a call to the GetDiscoveredResourceCounts action and specify that you want all resource types. Config returns the following: The resource types (EC2 instances, IAM users, and S3 buckets). The number of each resource type (25, 20, and 15). The total number of all resources (60). The response is paginated. By default, Config lists 100 ResourceCount objects on each page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations: You are a new Config customer. You just enabled resource recording. It might take a few minutes for Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
444
452
  */
@@ -448,11 +456,11 @@ declare class ConfigService extends Service {
448
456
  */
449
457
  getDiscoveredResourceCounts(callback?: (err: AWSError, data: ConfigService.Types.GetDiscoveredResourceCountsResponse) => void): Request<ConfigService.Types.GetDiscoveredResourceCountsResponse, AWSError>;
450
458
  /**
451
- * Returns detailed status for each member account within an organization for a given organization config rule.
459
+ * Returns detailed status for each member account within an organization for a given organization Config rule.
452
460
  */
453
461
  getOrganizationConfigRuleDetailedStatus(params: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusRequest, callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse, AWSError>;
454
462
  /**
455
- * Returns detailed status for each member account within an organization for a given organization config rule.
463
+ * Returns detailed status for each member account within an organization for a given organization Config rule.
456
464
  */
457
465
  getOrganizationConfigRuleDetailedStatus(callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConfigRuleDetailedStatusResponse, AWSError>;
458
466
  /**
@@ -463,6 +471,14 @@ declare class ConfigService extends Service {
463
471
  * Returns detailed status for each member account within an organization for a given organization conformance pack.
464
472
  */
465
473
  getOrganizationConformancePackDetailedStatus(callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationConformancePackDetailedStatusResponse) => void): Request<ConfigService.Types.GetOrganizationConformancePackDetailedStatusResponse, AWSError>;
474
+ /**
475
+ * Returns the policy definition containing the logic for your organization Config Custom Policy rule.
476
+ */
477
+ getOrganizationCustomRulePolicy(params: ConfigService.Types.GetOrganizationCustomRulePolicyRequest, callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationCustomRulePolicyResponse) => void): Request<ConfigService.Types.GetOrganizationCustomRulePolicyResponse, AWSError>;
478
+ /**
479
+ * Returns the policy definition containing the logic for your organization Config Custom Policy rule.
480
+ */
481
+ getOrganizationCustomRulePolicy(callback?: (err: AWSError, data: ConfigService.Types.GetOrganizationCustomRulePolicyResponse) => void): Request<ConfigService.Types.GetOrganizationCustomRulePolicyResponse, AWSError>;
466
482
  /**
467
483
  * Returns a list of ConfigurationItems for the specified resource. The list contains details about each state of the resource during the specified time interval. If you specified a retention period to retain your ConfigurationItems between a minimum of 30 days and a maximum of 7 years (2557 days), Config returns the ConfigurationItems for the specified retention period. The response is paginated. By default, Config returns a limit of 10 configuration items per page. You can customize this number with the limit parameter. The response includes a nextToken string. To get the next page of results, run the request again and specify the string for the nextToken parameter. Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken.
468
484
  */
@@ -576,11 +592,11 @@ declare class ConfigService extends Service {
576
592
  */
577
593
  putExternalEvaluation(callback?: (err: AWSError, data: ConfigService.Types.PutExternalEvaluationResponse) => void): Request<ConfigService.Types.PutExternalEvaluationResponse, AWSError>;
578
594
  /**
579
- * Adds or updates organization config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your desired configurations. Only a master account and a delegated administrator can create or update an organization config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole action. To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com. You can use this action to create both custom Config rules and Config managed rules. If you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated 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. When you use the PutOrganizationConfigRule action to add the rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function. If you are adding an Config managed rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that Config supports is 150 and 3 delegated administrator per organization. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
595
+ * Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your desired configurations. Only a master account and a delegated administrator can create or update an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole action. To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com. You can use this action to create both custom Config rules and Config managed rules. If you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated 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. When you use the PutOrganizationConfigRule action to add the rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function. If you are adding an Config managed rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
580
596
  */
581
597
  putOrganizationConfigRule(params: ConfigService.Types.PutOrganizationConfigRuleRequest, callback?: (err: AWSError, data: ConfigService.Types.PutOrganizationConfigRuleResponse) => void): Request<ConfigService.Types.PutOrganizationConfigRuleResponse, AWSError>;
582
598
  /**
583
- * Adds or updates organization config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your desired configurations. Only a master account and a delegated administrator can create or update an organization config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole action. To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com. You can use this action to create both custom Config rules and Config managed rules. If you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated 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. When you use the PutOrganizationConfigRule action to add the rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function. If you are adding an Config managed rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization config rules that Config supports is 150 and 3 delegated administrator per organization. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
599
+ * Adds or updates organization Config rule for your entire organization evaluating whether your Amazon Web Services resources comply with your desired configurations. Only a master account and a delegated administrator can create or update an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added. This API enables organization service access through the EnableAWSServiceAccess action and creates a service linked role AWSServiceRoleForConfigMultiAccountSetup in the master or delegated administrator account of your organization. The service linked role is created only when the role does not exist in the caller account. Config verifies the existence of role with GetRole action. To use this API with delegated administrator, register a delegated administrator by calling Amazon Web Services Organization register-delegated-administrator for config-multiaccountsetup.amazonaws.com. You can use this action to create both custom Config rules and Config managed rules. If you are adding a new custom Config rule, you must first create Lambda function in the master account or a delegated 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. When you use the PutOrganizationConfigRule action to add the rule to Config, you must specify the Amazon Resource Name (ARN) that Lambda assigns to the function. If you are adding an Config managed rule, specify the rule's identifier for the RuleIdentifier key. The maximum number of organization Config rules that Config supports is 150 and 3 delegated administrator per organization. Prerequisite: Ensure you call EnableAllFeatures API to enable all features in an organization. Specify either OrganizationCustomRuleMetadata or OrganizationManagedRuleMetadata.
584
600
  */
585
601
  putOrganizationConfigRule(callback?: (err: AWSError, data: ConfigService.Types.PutOrganizationConfigRuleResponse) => void): Request<ConfigService.Types.PutOrganizationConfigRuleResponse, AWSError>;
586
602
  /**
@@ -1262,9 +1278,21 @@ declare namespace ConfigService {
1262
1278
  */
1263
1279
  LastErrorMessage?: String;
1264
1280
  /**
1265
- * Indicates whether Config has evaluated your resources against the rule at least once. true - Config has evaluated your Amazon Web Services resources against the rule at least once. false - Config has not once finished evaluating your Amazon Web Services resources against the rule.
1281
+ * Indicates whether Config has evaluated your resources against the rule at least once. true - Config has evaluated your Amazon Web Services resources against the rule at least once. false - Config has not finished evaluating your Amazon Web Services resources against the rule at least once.
1266
1282
  */
1267
1283
  FirstEvaluationStarted?: Boolean;
1284
+ /**
1285
+ * The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either Successful or Failed.
1286
+ */
1287
+ LastDebugLogDeliveryStatus?: String;
1288
+ /**
1289
+ * The reason Config was not able to deliver a debug log. This is for the last failed attempt to retrieve a debug log for your Config Custom Policy rules.
1290
+ */
1291
+ LastDebugLogDeliveryStatusReason?: String;
1292
+ /**
1293
+ * The time Config last attempted to deliver a debug log for your Config Custom Policy rules.
1294
+ */
1295
+ LastDebugLogDeliveryTime?: _Date;
1268
1296
  }
1269
1297
  export type ConfigRuleEvaluationStatusList = ConfigRuleEvaluationStatus[];
1270
1298
  export type ConfigRuleName = string;
@@ -1574,7 +1602,7 @@ declare namespace ConfigService {
1574
1602
  export type ConformancePackNamesToSummarizeList = ConformancePackName[];
1575
1603
  export interface ConformancePackRuleCompliance {
1576
1604
  /**
1577
- * Name of the config rule.
1605
+ * Name of the Config rule.
1578
1606
  */
1579
1607
  ConfigRuleName?: ConfigRuleName;
1580
1608
  /**
@@ -1627,7 +1655,22 @@ declare namespace ConfigService {
1627
1655
  export type ConformancePackStatusReason = string;
1628
1656
  export type ControlsList = StringWithCharLimit128[];
1629
1657
  export type CosmosPageLimit = number;
1658
+ export interface CustomPolicyDetails {
1659
+ /**
1660
+ * The runtime system for your Config Custom Policy rule. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
1661
+ */
1662
+ PolicyRuntime: PolicyRuntime;
1663
+ /**
1664
+ * The policy definition containing the logic for your Config Custom Policy rule.
1665
+ */
1666
+ PolicyText: PolicyText;
1667
+ /**
1668
+ * The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.
1669
+ */
1670
+ EnableDebugLogDelivery?: Boolean;
1671
+ }
1630
1672
  export type _Date = Date;
1673
+ export type DebugLogDeliveryAccounts = AccountId[];
1631
1674
  export interface DeleteAggregationAuthorizationRequest {
1632
1675
  /**
1633
1676
  * The 12-digit account ID of the account authorized to aggregate data.
@@ -1678,7 +1721,7 @@ declare namespace ConfigService {
1678
1721
  }
1679
1722
  export interface DeleteOrganizationConfigRuleRequest {
1680
1723
  /**
1681
- * The name of organization config rule that you want to delete.
1724
+ * The name of organization Config rule that you want to delete.
1682
1725
  */
1683
1726
  OrganizationConfigRuleName: OrganizationConfigRuleName;
1684
1727
  }
@@ -2171,7 +2214,7 @@ declare namespace ConfigService {
2171
2214
  }
2172
2215
  export interface DescribeOrganizationConfigRuleStatusesRequest {
2173
2216
  /**
2174
- * The names of organization config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.
2217
+ * The names of organization Config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.
2175
2218
  */
2176
2219
  OrganizationConfigRuleNames?: OrganizationConfigRuleNames;
2177
2220
  /**
@@ -2195,11 +2238,11 @@ declare namespace ConfigService {
2195
2238
  }
2196
2239
  export interface DescribeOrganizationConfigRulesRequest {
2197
2240
  /**
2198
- * The names of organization config rules for which you want details. If you do not specify any names, Config returns details for all your organization config rules.
2241
+ * The names of organization Config rules for which you want details. If you do not specify any names, Config returns details for all your organization Config rules.
2199
2242
  */
2200
2243
  OrganizationConfigRuleNames?: OrganizationConfigRuleNames;
2201
2244
  /**
2202
- * The maximum number of organization config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.
2245
+ * The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.
2203
2246
  */
2204
2247
  Limit?: CosmosPageLimit;
2205
2248
  /**
@@ -2822,6 +2865,18 @@ declare namespace ConfigService {
2822
2865
  */
2823
2866
  NextToken?: NextToken;
2824
2867
  }
2868
+ export interface GetCustomRulePolicyRequest {
2869
+ /**
2870
+ * The name of your Config Custom Policy rule.
2871
+ */
2872
+ ConfigRuleName?: ConfigRuleName;
2873
+ }
2874
+ export interface GetCustomRulePolicyResponse {
2875
+ /**
2876
+ * The policy definition containing the logic for your Config Custom Policy rule.
2877
+ */
2878
+ PolicyText?: PolicyText;
2879
+ }
2825
2880
  export interface GetDiscoveredResourceCountsRequest {
2826
2881
  /**
2827
2882
  * The comma-separated list that specifies the resource types that you want Config to return (for example, "AWS::EC2::Instance", "AWS::IAM::User"). If a value for resourceTypes is not specified, Config returns all resource types that Config is recording in the region for your account. If the configuration recorder is turned off, Config returns an empty list of ResourceCount objects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list of ResourceCount objects.
@@ -2852,7 +2907,7 @@ declare namespace ConfigService {
2852
2907
  }
2853
2908
  export interface GetOrganizationConfigRuleDetailedStatusRequest {
2854
2909
  /**
2855
- * The name of organization config rule for which you want status details for member accounts.
2910
+ * The name of your organization Config rule for which you want status details for member accounts.
2856
2911
  */
2857
2912
  OrganizationConfigRuleName: OrganizationConfigRuleName;
2858
2913
  /**
@@ -2906,6 +2961,18 @@ declare namespace ConfigService {
2906
2961
  */
2907
2962
  NextToken?: String;
2908
2963
  }
2964
+ export interface GetOrganizationCustomRulePolicyRequest {
2965
+ /**
2966
+ * The name of your organization Config Custom Policy rule.
2967
+ */
2968
+ OrganizationConfigRuleName: OrganizationConfigRuleName;
2969
+ }
2970
+ export interface GetOrganizationCustomRulePolicyResponse {
2971
+ /**
2972
+ * The policy definition containing the logic for your organization Config Custom Policy rule.
2973
+ */
2974
+ PolicyText?: PolicyText;
2975
+ }
2909
2976
  export interface GetResourceConfigHistoryRequest {
2910
2977
  /**
2911
2978
  * The resource type.
@@ -3095,19 +3162,19 @@ declare namespace ConfigService {
3095
3162
  */
3096
3163
  AccountId: AccountId;
3097
3164
  /**
3098
- * The name of config rule deployed in the member account.
3165
+ * The name of Config rule deployed in the member account.
3099
3166
  */
3100
3167
  ConfigRuleName: StringWithCharLimit64;
3101
3168
  /**
3102
- * Indicates deployment status for config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. Config sets the state of the rule to: CREATE_SUCCESSFUL when config rule has been created in the member account. CREATE_IN_PROGRESS when config rule is being created in the member account. CREATE_FAILED when config rule creation has failed in the member account. DELETE_FAILED when config rule deletion has failed in the member account. DELETE_IN_PROGRESS when config rule is being deleted in the member account. DELETE_SUCCESSFUL when config rule has been deleted in the member account. UPDATE_SUCCESSFUL when config rule has been updated in the member account. UPDATE_IN_PROGRESS when config rule is being updated in the member account. UPDATE_FAILED when config rule deletion has failed in the member account.
3169
+ * Indicates deployment status for Config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. Config sets the state of the rule to: CREATE_SUCCESSFUL when Config rule has been created in the member account. CREATE_IN_PROGRESS when Config rule is being created in the member account. CREATE_FAILED when Config rule creation has failed in the member account. DELETE_FAILED when Config rule deletion has failed in the member account. DELETE_IN_PROGRESS when Config rule is being deleted in the member account. DELETE_SUCCESSFUL when Config rule has been deleted in the member account. UPDATE_SUCCESSFUL when Config rule has been updated in the member account. UPDATE_IN_PROGRESS when Config rule is being updated in the member account. UPDATE_FAILED when Config rule deletion has failed in the member account.
3103
3170
  */
3104
3171
  MemberAccountRuleStatus: MemberAccountRuleStatus;
3105
3172
  /**
3106
- * An error code that is returned when config rule creation or deletion failed in the member account.
3173
+ * An error code that is returned when Config rule creation or deletion failed in the member account.
3107
3174
  */
3108
3175
  ErrorCode?: String;
3109
3176
  /**
3110
- * An error message indicating that config rule account creation or deletion has failed due to an error in the member account.
3177
+ * An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.
3111
3178
  */
3112
3179
  ErrorMessage?: String;
3113
3180
  /**
@@ -3135,11 +3202,11 @@ declare namespace ConfigService {
3135
3202
  }
3136
3203
  export interface OrganizationConfigRule {
3137
3204
  /**
3138
- * The name that you assign to organization config rule.
3205
+ * The name that you assign to organization Config rule.
3139
3206
  */
3140
3207
  OrganizationConfigRuleName: OrganizationConfigRuleName;
3141
3208
  /**
3142
- * Amazon Resource Name (ARN) of organization config rule.
3209
+ * Amazon Resource Name (ARN) of organization Config rule.
3143
3210
  */
3144
3211
  OrganizationConfigRuleArn: StringWithCharLimit256;
3145
3212
  /**
@@ -3151,32 +3218,36 @@ declare namespace ConfigService {
3151
3218
  */
3152
3219
  OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
3153
3220
  /**
3154
- * A comma-separated list of accounts excluded from organization config rule.
3221
+ * A comma-separated list of accounts excluded from organization Config rule.
3155
3222
  */
3156
3223
  ExcludedAccounts?: ExcludedAccounts;
3157
3224
  /**
3158
3225
  * The timestamp of the last update.
3159
3226
  */
3160
3227
  LastUpdateTime?: _Date;
3228
+ /**
3229
+ * An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
3230
+ */
3231
+ OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadataNoPolicy;
3161
3232
  }
3162
3233
  export type OrganizationConfigRuleDetailedStatus = MemberAccountStatus[];
3163
3234
  export type OrganizationConfigRuleName = string;
3164
3235
  export type OrganizationConfigRuleNames = StringWithCharLimit64[];
3165
3236
  export interface OrganizationConfigRuleStatus {
3166
3237
  /**
3167
- * The name that you assign to organization config rule.
3238
+ * The name that you assign to organization Config rule.
3168
3239
  */
3169
3240
  OrganizationConfigRuleName: OrganizationConfigRuleName;
3170
3241
  /**
3171
- * Indicates deployment status of an organization config rule. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in all the member accounts. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in all the member accounts. Additionally, config rule status is updated when one or more member accounts join or leave an organization. Config rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com. Config sets the state of the rule to: CREATE_SUCCESSFUL when an organization config rule has been successfully created in all the member accounts. CREATE_IN_PROGRESS when an organization config rule creation is in progress. CREATE_FAILED when an organization config rule creation failed in one or more member accounts within that organization. DELETE_FAILED when an organization config rule deletion failed in one or more member accounts within that organization. DELETE_IN_PROGRESS when an organization config rule deletion is in progress. DELETE_SUCCESSFUL when an organization config rule has been successfully deleted from all the member accounts. UPDATE_SUCCESSFUL when an organization config rule has been successfully updated in all the member accounts. UPDATE_IN_PROGRESS when an organization config rule update is in progress. UPDATE_FAILED when an organization config rule update failed in one or more member accounts within that organization.
3242
+ * Indicates deployment status of an organization Config rule. When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts. When master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in all the member accounts. Additionally, Config rule status is updated when one or more member accounts join or leave an organization. Config rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com. Config sets the state of the rule to: CREATE_SUCCESSFUL when an organization Config rule has been successfully created in all the member accounts. CREATE_IN_PROGRESS when an organization Config rule creation is in progress. CREATE_FAILED when an organization Config rule creation failed in one or more member accounts within that organization. DELETE_FAILED when an organization Config rule deletion failed in one or more member accounts within that organization. DELETE_IN_PROGRESS when an organization Config rule deletion is in progress. DELETE_SUCCESSFUL when an organization Config rule has been successfully deleted from all the member accounts. UPDATE_SUCCESSFUL when an organization Config rule has been successfully updated in all the member accounts. UPDATE_IN_PROGRESS when an organization Config rule update is in progress. UPDATE_FAILED when an organization Config rule update failed in one or more member accounts within that organization.
3172
3243
  */
3173
3244
  OrganizationRuleStatus: OrganizationRuleStatus;
3174
3245
  /**
3175
- * An error code that is returned when organization config rule creation or deletion has failed.
3246
+ * An error code that is returned when organization Config rule creation or deletion has failed.
3176
3247
  */
3177
3248
  ErrorCode?: String;
3178
3249
  /**
3179
- * An error message indicating that organization config rule creation or deletion failed due to an error.
3250
+ * An error message indicating that organization Config rule creation or deletion failed due to an error.
3180
3251
  */
3181
3252
  ErrorMessage?: String;
3182
3253
  /**
@@ -3186,6 +3257,8 @@ declare namespace ConfigService {
3186
3257
  }
3187
3258
  export type OrganizationConfigRuleStatuses = OrganizationConfigRuleStatus[];
3188
3259
  export type OrganizationConfigRuleTriggerType = "ConfigurationItemChangeNotification"|"OversizedConfigurationItemChangeNotification"|"ScheduledNotification"|string;
3260
+ export type OrganizationConfigRuleTriggerTypeNoSN = "ConfigurationItemChangeNotification"|"OversizedConfigurationItemChangeNotification"|string;
3261
+ export type OrganizationConfigRuleTriggerTypeNoSNs = OrganizationConfigRuleTriggerTypeNoSN[];
3189
3262
  export type OrganizationConfigRuleTriggerTypes = OrganizationConfigRuleTriggerType[];
3190
3263
  export type OrganizationConfigRules = OrganizationConfigRule[];
3191
3264
  export interface OrganizationConformancePack {
@@ -3271,9 +3344,97 @@ declare namespace ConfigService {
3271
3344
  }
3272
3345
  export type OrganizationConformancePackStatuses = OrganizationConformancePackStatus[];
3273
3346
  export type OrganizationConformancePacks = OrganizationConformancePack[];
3347
+ export interface OrganizationCustomPolicyRuleMetadata {
3348
+ /**
3349
+ * The description that you provide for your organization Config Custom Policy rule.
3350
+ */
3351
+ Description?: StringWithCharLimit256Min0;
3352
+ /**
3353
+ * The type of notification that initiates Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change-initiated notification types: ConfigurationItemChangeNotification - Initiates an evaluation when Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Initiates an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.
3354
+ */
3355
+ OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSNs;
3356
+ /**
3357
+ * A string, in JSON format, that is passed to your organization Config Custom Policy rule.
3358
+ */
3359
+ InputParameters?: StringWithCharLimit2048;
3360
+ /**
3361
+ * The maximum frequency with which Config runs evaluations for a rule. Your Config Custom Policy rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
3362
+ */
3363
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
3364
+ /**
3365
+ * The type of the Amazon Web Services resource that was evaluated.
3366
+ */
3367
+ ResourceTypesScope?: ResourceTypesScope;
3368
+ /**
3369
+ * The ID of the Amazon Web Services resource that was evaluated.
3370
+ */
3371
+ ResourceIdScope?: StringWithCharLimit768;
3372
+ /**
3373
+ * One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
3374
+ */
3375
+ TagKeyScope?: StringWithCharLimit128;
3376
+ /**
3377
+ * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
3378
+ */
3379
+ TagValueScope?: StringWithCharLimit256;
3380
+ /**
3381
+ * The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
3382
+ */
3383
+ PolicyRuntime: PolicyRuntime;
3384
+ /**
3385
+ * The policy definition containing the logic for your organization Config Custom Policy rule.
3386
+ */
3387
+ PolicyText: PolicyText;
3388
+ /**
3389
+ * A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.
3390
+ */
3391
+ DebugLogDeliveryAccounts?: DebugLogDeliveryAccounts;
3392
+ }
3393
+ export interface OrganizationCustomPolicyRuleMetadataNoPolicy {
3394
+ /**
3395
+ * The description that you provide for your organization Config Custom Policy rule.
3396
+ */
3397
+ Description?: StringWithCharLimit256Min0;
3398
+ /**
3399
+ * The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types: ConfigurationItemChangeNotification - Triggers an evaluation when Config delivers a configuration item as a result of a resource change. OversizedConfigurationItemChangeNotification - Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.
3400
+ */
3401
+ OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSNs;
3402
+ /**
3403
+ * A string, in JSON format, that is passed to your organization Config Custom Policy rule.
3404
+ */
3405
+ InputParameters?: StringWithCharLimit2048;
3406
+ /**
3407
+ * The maximum frequency with which Config runs evaluations for a rule. Your Config Custom Policy rule is triggered when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties.
3408
+ */
3409
+ MaximumExecutionFrequency?: MaximumExecutionFrequency;
3410
+ /**
3411
+ * The type of the Amazon Web Services resource that was evaluated.
3412
+ */
3413
+ ResourceTypesScope?: ResourceTypesScope;
3414
+ /**
3415
+ * The ID of the Amazon Web Services resource that was evaluated.
3416
+ */
3417
+ ResourceIdScope?: StringWithCharLimit768;
3418
+ /**
3419
+ * One part of a key-value pair that make up a tag. A key is a general label that acts like a category for more specific tag values.
3420
+ */
3421
+ TagKeyScope?: StringWithCharLimit128;
3422
+ /**
3423
+ * The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
3424
+ */
3425
+ TagValueScope?: StringWithCharLimit256;
3426
+ /**
3427
+ * The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
3428
+ */
3429
+ PolicyRuntime?: PolicyRuntime;
3430
+ /**
3431
+ * A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.
3432
+ */
3433
+ DebugLogDeliveryAccounts?: DebugLogDeliveryAccounts;
3434
+ }
3274
3435
  export interface OrganizationCustomRuleMetadata {
3275
3436
  /**
3276
- * The description that you provide for organization config rule.
3437
+ * The description that you provide for your organization Config rule.
3277
3438
  */
3278
3439
  Description?: StringWithCharLimit256Min0;
3279
3440
  /**
@@ -3285,7 +3446,7 @@ declare namespace ConfigService {
3285
3446
  */
3286
3447
  OrganizationConfigRuleTriggerTypes: OrganizationConfigRuleTriggerTypes;
3287
3448
  /**
3288
- * A string, in JSON format, that is passed to organization config rule Lambda function.
3449
+ * A string, in JSON format, that is passed to your organization Config rule Lambda function.
3289
3450
  */
3290
3451
  InputParameters?: StringWithCharLimit2048;
3291
3452
  /**
@@ -3311,7 +3472,7 @@ declare namespace ConfigService {
3311
3472
  }
3312
3473
  export interface OrganizationManagedRuleMetadata {
3313
3474
  /**
3314
- * The description that you provide for organization config rule.
3475
+ * The description that you provide for your organization Config rule.
3315
3476
  */
3316
3477
  Description?: StringWithCharLimit256Min0;
3317
3478
  /**
@@ -3319,7 +3480,7 @@ declare namespace ConfigService {
3319
3480
  */
3320
3481
  RuleIdentifier: StringWithCharLimit256;
3321
3482
  /**
3322
- * A string, in JSON format, that is passed to organization config rule Lambda function.
3483
+ * A string, in JSON format, that is passed to your organization Config rule Lambda function.
3323
3484
  */
3324
3485
  InputParameters?: StringWithCharLimit2048;
3325
3486
  /**
@@ -3356,7 +3517,7 @@ declare namespace ConfigService {
3356
3517
  }
3357
3518
  export type OrganizationResourceStatus = "CREATE_SUCCESSFUL"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"DELETE_SUCCESSFUL"|"DELETE_FAILED"|"DELETE_IN_PROGRESS"|"UPDATE_SUCCESSFUL"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED"|string;
3358
3519
  export type OrganizationRuleStatus = "CREATE_SUCCESSFUL"|"CREATE_IN_PROGRESS"|"CREATE_FAILED"|"DELETE_SUCCESSFUL"|"DELETE_FAILED"|"DELETE_IN_PROGRESS"|"UPDATE_SUCCESSFUL"|"UPDATE_IN_PROGRESS"|"UPDATE_FAILED"|string;
3359
- export type Owner = "CUSTOM_LAMBDA"|"AWS"|string;
3520
+ export type Owner = "CUSTOM_LAMBDA"|"AWS"|"CUSTOM_POLICY"|string;
3360
3521
  export type PageSizeLimit = number;
3361
3522
  export type ParameterName = string;
3362
3523
  export type ParameterValue = string;
@@ -3372,6 +3533,8 @@ declare namespace ConfigService {
3372
3533
  }
3373
3534
  export type PendingAggregationRequestList = PendingAggregationRequest[];
3374
3535
  export type Percentage = number;
3536
+ export type PolicyRuntime = string;
3537
+ export type PolicyText = string;
3375
3538
  export interface PutAggregationAuthorizationRequest {
3376
3539
  /**
3377
3540
  * The 12-digit account ID of the account authorized to aggregate data.
@@ -3442,7 +3605,7 @@ declare namespace ConfigService {
3442
3605
  */
3443
3606
  TemplateS3Uri?: TemplateS3Uri;
3444
3607
  /**
3445
- * A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. You can only use a YAML template with two resource types: config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).
3608
+ * A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes. You can only use a YAML template with two resource types: Config rule (AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).
3446
3609
  */
3447
3610
  TemplateBody?: TemplateBody;
3448
3611
  /**
@@ -3504,7 +3667,7 @@ declare namespace ConfigService {
3504
3667
  }
3505
3668
  export interface PutOrganizationConfigRuleRequest {
3506
3669
  /**
3507
- * The name that you assign to an organization config rule.
3670
+ * The name that you assign to an organization Config rule.
3508
3671
  */
3509
3672
  OrganizationConfigRuleName: OrganizationConfigRuleName;
3510
3673
  /**
@@ -3516,13 +3679,17 @@ declare namespace ConfigService {
3516
3679
  */
3517
3680
  OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
3518
3681
  /**
3519
- * A comma-separated list of accounts that you want to exclude from an organization config rule.
3682
+ * A comma-separated list of accounts that you want to exclude from an organization Config rule.
3520
3683
  */
3521
3684
  ExcludedAccounts?: ExcludedAccounts;
3685
+ /**
3686
+ * An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
3687
+ */
3688
+ OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadata;
3522
3689
  }
3523
3690
  export interface PutOrganizationConfigRuleResponse {
3524
3691
  /**
3525
- * The Amazon Resource Name (ARN) of an organization config rule.
3692
+ * The Amazon Resource Name (ARN) of an organization Config rule.
3526
3693
  */
3527
3694
  OrganizationConfigRuleArn?: StringWithCharLimit256;
3528
3695
  }
@@ -3924,7 +4091,7 @@ declare namespace ConfigService {
3924
4091
  }
3925
4092
  export type ResourceKeys = ResourceKey[];
3926
4093
  export type ResourceName = string;
3927
- export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::EC2::RegisteredHAInstance"|"AWS::EC2::NatGateway"|"AWS::EC2::EgressOnlyInternetGateway"|"AWS::EC2::VPCEndpoint"|"AWS::EC2::VPCEndpointService"|"AWS::EC2::FlowLog"|"AWS::EC2::VPCPeeringConnection"|"AWS::Elasticsearch::Domain"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBCluster"|"AWS::RDS::DBClusterSnapshot"|"AWS::RDS::EventSubscription"|"AWS::S3::Bucket"|"AWS::S3::AccountPublicAccessBlock"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::SSM::ManagedInstanceInventory"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|"AWS::ElasticLoadBalancing::LoadBalancer"|"AWS::AutoScaling::AutoScalingGroup"|"AWS::AutoScaling::LaunchConfiguration"|"AWS::AutoScaling::ScalingPolicy"|"AWS::AutoScaling::ScheduledAction"|"AWS::DynamoDB::Table"|"AWS::CodeBuild::Project"|"AWS::WAF::RateBasedRule"|"AWS::WAF::Rule"|"AWS::WAF::RuleGroup"|"AWS::WAF::WebACL"|"AWS::WAFRegional::RateBasedRule"|"AWS::WAFRegional::Rule"|"AWS::WAFRegional::RuleGroup"|"AWS::WAFRegional::WebACL"|"AWS::CloudFront::Distribution"|"AWS::CloudFront::StreamingDistribution"|"AWS::Lambda::Function"|"AWS::NetworkFirewall::Firewall"|"AWS::NetworkFirewall::FirewallPolicy"|"AWS::NetworkFirewall::RuleGroup"|"AWS::ElasticBeanstalk::Application"|"AWS::ElasticBeanstalk::ApplicationVersion"|"AWS::ElasticBeanstalk::Environment"|"AWS::WAFv2::WebACL"|"AWS::WAFv2::RuleGroup"|"AWS::WAFv2::IPSet"|"AWS::WAFv2::RegexPatternSet"|"AWS::WAFv2::ManagedRuleSet"|"AWS::XRay::EncryptionConfig"|"AWS::SSM::AssociationCompliance"|"AWS::SSM::PatchCompliance"|"AWS::Shield::Protection"|"AWS::ShieldRegional::Protection"|"AWS::Config::ConformancePackCompliance"|"AWS::Config::ResourceCompliance"|"AWS::ApiGateway::Stage"|"AWS::ApiGateway::RestApi"|"AWS::ApiGatewayV2::Stage"|"AWS::ApiGatewayV2::Api"|"AWS::CodePipeline::Pipeline"|"AWS::ServiceCatalog::CloudFormationProvisionedProduct"|"AWS::ServiceCatalog::CloudFormationProduct"|"AWS::ServiceCatalog::Portfolio"|"AWS::SQS::Queue"|"AWS::KMS::Key"|"AWS::QLDB::Ledger"|"AWS::SecretsManager::Secret"|"AWS::SNS::Topic"|"AWS::SSM::FileData"|"AWS::Backup::BackupPlan"|"AWS::Backup::BackupSelection"|"AWS::Backup::BackupVault"|"AWS::Backup::RecoveryPoint"|"AWS::ECR::Repository"|"AWS::ECS::Cluster"|"AWS::ECS::Service"|"AWS::ECS::TaskDefinition"|"AWS::EFS::AccessPoint"|"AWS::EFS::FileSystem"|"AWS::EKS::Cluster"|"AWS::OpenSearch::Domain"|"AWS::EC2::TransitGateway"|"AWS::Kinesis::Stream"|"AWS::Kinesis::StreamConsumer"|"AWS::CodeDeploy::Application"|"AWS::CodeDeploy::DeploymentConfig"|"AWS::CodeDeploy::DeploymentGroup"|"AWS::EC2::LaunchTemplate"|"AWS::ECR::PublicRepository"|string;
4094
+ export type ResourceType = "AWS::EC2::CustomerGateway"|"AWS::EC2::EIP"|"AWS::EC2::Host"|"AWS::EC2::Instance"|"AWS::EC2::InternetGateway"|"AWS::EC2::NetworkAcl"|"AWS::EC2::NetworkInterface"|"AWS::EC2::RouteTable"|"AWS::EC2::SecurityGroup"|"AWS::EC2::Subnet"|"AWS::CloudTrail::Trail"|"AWS::EC2::Volume"|"AWS::EC2::VPC"|"AWS::EC2::VPNConnection"|"AWS::EC2::VPNGateway"|"AWS::EC2::RegisteredHAInstance"|"AWS::EC2::NatGateway"|"AWS::EC2::EgressOnlyInternetGateway"|"AWS::EC2::VPCEndpoint"|"AWS::EC2::VPCEndpointService"|"AWS::EC2::FlowLog"|"AWS::EC2::VPCPeeringConnection"|"AWS::Elasticsearch::Domain"|"AWS::IAM::Group"|"AWS::IAM::Policy"|"AWS::IAM::Role"|"AWS::IAM::User"|"AWS::ElasticLoadBalancingV2::LoadBalancer"|"AWS::ACM::Certificate"|"AWS::RDS::DBInstance"|"AWS::RDS::DBSubnetGroup"|"AWS::RDS::DBSecurityGroup"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBCluster"|"AWS::RDS::DBClusterSnapshot"|"AWS::RDS::EventSubscription"|"AWS::S3::Bucket"|"AWS::S3::AccountPublicAccessBlock"|"AWS::Redshift::Cluster"|"AWS::Redshift::ClusterSnapshot"|"AWS::Redshift::ClusterParameterGroup"|"AWS::Redshift::ClusterSecurityGroup"|"AWS::Redshift::ClusterSubnetGroup"|"AWS::Redshift::EventSubscription"|"AWS::SSM::ManagedInstanceInventory"|"AWS::CloudWatch::Alarm"|"AWS::CloudFormation::Stack"|"AWS::ElasticLoadBalancing::LoadBalancer"|"AWS::AutoScaling::AutoScalingGroup"|"AWS::AutoScaling::LaunchConfiguration"|"AWS::AutoScaling::ScalingPolicy"|"AWS::AutoScaling::ScheduledAction"|"AWS::DynamoDB::Table"|"AWS::CodeBuild::Project"|"AWS::WAF::RateBasedRule"|"AWS::WAF::Rule"|"AWS::WAF::RuleGroup"|"AWS::WAF::WebACL"|"AWS::WAFRegional::RateBasedRule"|"AWS::WAFRegional::Rule"|"AWS::WAFRegional::RuleGroup"|"AWS::WAFRegional::WebACL"|"AWS::CloudFront::Distribution"|"AWS::CloudFront::StreamingDistribution"|"AWS::Lambda::Function"|"AWS::NetworkFirewall::Firewall"|"AWS::NetworkFirewall::FirewallPolicy"|"AWS::NetworkFirewall::RuleGroup"|"AWS::ElasticBeanstalk::Application"|"AWS::ElasticBeanstalk::ApplicationVersion"|"AWS::ElasticBeanstalk::Environment"|"AWS::WAFv2::WebACL"|"AWS::WAFv2::RuleGroup"|"AWS::WAFv2::IPSet"|"AWS::WAFv2::RegexPatternSet"|"AWS::WAFv2::ManagedRuleSet"|"AWS::XRay::EncryptionConfig"|"AWS::SSM::AssociationCompliance"|"AWS::SSM::PatchCompliance"|"AWS::Shield::Protection"|"AWS::ShieldRegional::Protection"|"AWS::Config::ConformancePackCompliance"|"AWS::Config::ResourceCompliance"|"AWS::ApiGateway::Stage"|"AWS::ApiGateway::RestApi"|"AWS::ApiGatewayV2::Stage"|"AWS::ApiGatewayV2::Api"|"AWS::CodePipeline::Pipeline"|"AWS::ServiceCatalog::CloudFormationProvisionedProduct"|"AWS::ServiceCatalog::CloudFormationProduct"|"AWS::ServiceCatalog::Portfolio"|"AWS::SQS::Queue"|"AWS::KMS::Key"|"AWS::QLDB::Ledger"|"AWS::SecretsManager::Secret"|"AWS::SNS::Topic"|"AWS::SSM::FileData"|"AWS::Backup::BackupPlan"|"AWS::Backup::BackupSelection"|"AWS::Backup::BackupVault"|"AWS::Backup::RecoveryPoint"|"AWS::ECR::Repository"|"AWS::ECS::Cluster"|"AWS::ECS::Service"|"AWS::ECS::TaskDefinition"|"AWS::EFS::AccessPoint"|"AWS::EFS::FileSystem"|"AWS::EKS::Cluster"|"AWS::OpenSearch::Domain"|"AWS::EC2::TransitGateway"|"AWS::Kinesis::Stream"|"AWS::Kinesis::StreamConsumer"|"AWS::CodeDeploy::Application"|"AWS::CodeDeploy::DeploymentConfig"|"AWS::CodeDeploy::DeploymentGroup"|"AWS::EC2::LaunchTemplate"|"AWS::ECR::PublicRepository"|"AWS::GuardDuty::Detector"|string;
3928
4095
  export type ResourceTypeList = ResourceType[];
3929
4096
  export type ResourceTypeString = string;
3930
4097
  export type ResourceTypes = StringWithCharLimit256[];
@@ -4034,17 +4201,21 @@ declare namespace ConfigService {
4034
4201
  }
4035
4202
  export interface Source {
4036
4203
  /**
4037
- * Indicates whether Amazon Web Services or the customer owns and manages the Config rule.
4204
+ * Indicates whether Amazon Web Services or the customer owns and manages the Config rule. Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see Config Managed Rules in the Config developer guide. Config Custom Rules are rules that you can develop either with Guard (CUSTOM_POLICY) or Lambda (CUSTOM_LAMBDA). For more information, see Config Custom Rules in the Config developer guide.
4038
4205
  */
4039
4206
  Owner: Owner;
4040
4207
  /**
4041
- * For Config managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see Using Config managed rules. For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name.
4208
+ * For Config Managed rules, a predefined identifier from a list. For example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see List of Config Managed Rules. For Config Custom Lambda rules, the identifier is the Amazon Resource Name (ARN) of the rule's Lambda function, such as arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name. For Config Custom Policy rules, this field will be ignored.
4042
4209
  */
4043
- SourceIdentifier: StringWithCharLimit256;
4210
+ SourceIdentifier?: StringWithCharLimit256;
4044
4211
  /**
4045
- * Provides the source and type of the event that causes Config to evaluate your Amazon Web Services resources.
4212
+ * Provides the source and the message types that cause Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic. If the owner is set to CUSTOM_POLICY, the only acceptable values for the Config rule trigger message type are ConfigurationItemChangeNotification and OversizedConfigurationItemChangeNotification.
4046
4213
  */
4047
4214
  SourceDetails?: SourceDetails;
4215
+ /**
4216
+ * Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to CUSTOM_POLICY.
4217
+ */
4218
+ CustomPolicyDetails?: CustomPolicyDetails;
4048
4219
  }
4049
4220
  export interface SourceDetail {
4050
4221
  /**
@@ -4119,7 +4290,7 @@ declare namespace ConfigService {
4119
4290
  */
4120
4291
  AccountId?: AccountId;
4121
4292
  /**
4122
- * Indicates deployment status for config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. Config sets the state of the rule to: CREATE_SUCCESSFUL when config rule has been created in the member account. CREATE_IN_PROGRESS when config rule is being created in the member account. CREATE_FAILED when config rule creation has failed in the member account. DELETE_FAILED when config rule deletion has failed in the member account. DELETE_IN_PROGRESS when config rule is being deleted in the member account. DELETE_SUCCESSFUL when config rule has been deleted in the member account. UPDATE_SUCCESSFUL when config rule has been updated in the member account. UPDATE_IN_PROGRESS when config rule is being updated in the member account. UPDATE_FAILED when config rule deletion has failed in the member account.
4293
+ * Indicates deployment status for Config rule in the member account. When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in the member account. When master account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in the member account. Config rule status is deleted when the master account deletes OrganizationConfigRule and disables service access for config-multiaccountsetup.amazonaws.com. Config sets the state of the rule to: CREATE_SUCCESSFUL when Config rule has been created in the member account. CREATE_IN_PROGRESS when Config rule is being created in the member account. CREATE_FAILED when Config rule creation has failed in the member account. DELETE_FAILED when Config rule deletion has failed in the member account. DELETE_IN_PROGRESS when Config rule is being deleted in the member account. DELETE_SUCCESSFUL when Config rule has been deleted in the member account. UPDATE_SUCCESSFUL when Config rule has been updated in the member account. UPDATE_IN_PROGRESS when Config rule is being updated in the member account. UPDATE_FAILED when Config rule deletion has failed in the member account.
4123
4294
  */
4124
4295
  MemberAccountRuleStatus?: MemberAccountRuleStatus;
4125
4296
  }