@aws-sdk/client-config-service 3.55.0 → 3.56.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/ConfigService.js +30 -0
- package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
- package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +3 -3
- package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +3 -3
- package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/PutRemediationExceptionsCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +55 -54
- package/dist-cjs/models/models_1.js +49 -1
- package/dist-cjs/protocols/Aws_json1_1.js +243 -3
- package/dist-es/ConfigService.js +30 -0
- package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
- package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
- package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
- package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
- package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +35 -32
- package/dist-es/models/models_1.js +32 -0
- package/dist-es/protocols/Aws_json1_1.js +252 -3
- package/dist-types/ConfigService.d.ts +28 -14
- package/dist-types/ConfigServiceClient.d.ts +4 -2
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
- package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +4 -4
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +340 -236
- package/dist-types/models/models_1.d.ts +162 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/ConfigService.d.ts +10 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +119 -90
- package/dist-types/ts3.4/models/models_1.d.ts +91 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +9 -9
|
@@ -542,6 +542,7 @@ export declare enum ResourceType {
|
|
|
542
542
|
FlowLog = "AWS::EC2::FlowLog",
|
|
543
543
|
Function = "AWS::Lambda::Function",
|
|
544
544
|
Group = "AWS::IAM::Group",
|
|
545
|
+
GuardDutyDetector = "AWS::GuardDuty::Detector",
|
|
545
546
|
Host = "AWS::EC2::Host",
|
|
546
547
|
IPSetV2 = "AWS::WAFv2::IPSet",
|
|
547
548
|
Instance = "AWS::EC2::Instance",
|
|
@@ -1072,9 +1073,37 @@ export declare namespace Scope {
|
|
|
1072
1073
|
*/
|
|
1073
1074
|
const filterSensitiveLog: (obj: Scope) => any;
|
|
1074
1075
|
}
|
|
1076
|
+
/**
|
|
1077
|
+
* <p>Provides the runtime system, policy definition, and whether debug logging enabled. You can
|
|
1078
|
+
* specify the following CustomPolicyDetails parameter values
|
|
1079
|
+
* only
|
|
1080
|
+
* for Config Custom Policy rules.</p>
|
|
1081
|
+
*/
|
|
1082
|
+
export interface CustomPolicyDetails {
|
|
1083
|
+
/**
|
|
1084
|
+
* <p>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 <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
|
|
1085
|
+
* Repository</a>.</p>
|
|
1086
|
+
*/
|
|
1087
|
+
PolicyRuntime: string | undefined;
|
|
1088
|
+
/**
|
|
1089
|
+
* <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
1090
|
+
*/
|
|
1091
|
+
PolicyText: string | undefined;
|
|
1092
|
+
/**
|
|
1093
|
+
* <p>The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is <code>false</code>.</p>
|
|
1094
|
+
*/
|
|
1095
|
+
EnableDebugLogDelivery?: boolean;
|
|
1096
|
+
}
|
|
1097
|
+
export declare namespace CustomPolicyDetails {
|
|
1098
|
+
/**
|
|
1099
|
+
* @internal
|
|
1100
|
+
*/
|
|
1101
|
+
const filterSensitiveLog: (obj: CustomPolicyDetails) => any;
|
|
1102
|
+
}
|
|
1075
1103
|
export declare enum Owner {
|
|
1076
1104
|
Aws = "AWS",
|
|
1077
|
-
Custom_Lambda = "CUSTOM_LAMBDA"
|
|
1105
|
+
Custom_Lambda = "CUSTOM_LAMBDA",
|
|
1106
|
+
Custom_Policy = "CUSTOM_POLICY"
|
|
1078
1107
|
}
|
|
1079
1108
|
export declare enum EventSource {
|
|
1080
1109
|
Aws_Config = "aws.config"
|
|
@@ -1150,7 +1179,6 @@ export interface SourceDetail {
|
|
|
1150
1179
|
*
|
|
1151
1180
|
*
|
|
1152
1181
|
*
|
|
1153
|
-
*
|
|
1154
1182
|
* <note>
|
|
1155
1183
|
* <p>By default, rules with a periodic trigger are evaluated
|
|
1156
1184
|
* every 24 hours. To change the frequency, specify a valid value
|
|
@@ -1172,28 +1200,40 @@ export declare namespace SourceDetail {
|
|
|
1172
1200
|
const filterSensitiveLog: (obj: SourceDetail) => any;
|
|
1173
1201
|
}
|
|
1174
1202
|
/**
|
|
1175
|
-
* <p>Provides the
|
|
1176
|
-
* identifier, and the events that
|
|
1203
|
+
* <p>Provides the CustomPolicyDetails, the rule owner (Amazon Web Services or customer), the rule
|
|
1204
|
+
* identifier, and the events that cause the evaluation of your Amazon Web Services
|
|
1177
1205
|
* resources.</p>
|
|
1178
1206
|
*/
|
|
1179
1207
|
export interface Source {
|
|
1180
1208
|
/**
|
|
1181
1209
|
* <p>Indicates whether Amazon Web Services or the customer owns and manages the Config rule.</p>
|
|
1210
|
+
*
|
|
1211
|
+
* <p>Config Managed Rules are predefined rules owned by Amazon Web Services. For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html">Config Managed Rules</a> in the Config developer guide.</p>
|
|
1212
|
+
*
|
|
1213
|
+
* <p>Config Custom Rules are rules that you can develop either with Guard (<code>CUSTOM_POLICY</code>) or Lambda (<code>CUSTOM_LAMBDA</code>). For more information, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html">Config Custom Rules </a> in the Config developer guide.</p>
|
|
1182
1214
|
*/
|
|
1183
1215
|
Owner: Owner | string | undefined;
|
|
1184
1216
|
/**
|
|
1185
|
-
* <p>For Config
|
|
1217
|
+
* <p>For Config Managed rules, a predefined identifier from a
|
|
1186
1218
|
* list. For example, <code>IAM_PASSWORD_POLICY</code> is a managed
|
|
1187
|
-
* rule. To reference a managed rule, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/
|
|
1188
|
-
* <p>For
|
|
1219
|
+
* rule. To reference a managed rule, see <a href="https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html">List of Config Managed Rules</a>.</p>
|
|
1220
|
+
* <p>For Config Custom Lambda rules, the identifier is the Amazon Resource Name
|
|
1189
1221
|
* (ARN) of the rule's Lambda function, such as
|
|
1190
|
-
*
|
|
1222
|
+
* <code>arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name</code>.</p>
|
|
1223
|
+
*
|
|
1224
|
+
* <p>For Config Custom Policy rules, this field will be ignored.</p>
|
|
1191
1225
|
*/
|
|
1192
|
-
SourceIdentifier
|
|
1226
|
+
SourceIdentifier?: string;
|
|
1193
1227
|
/**
|
|
1194
|
-
* <p>Provides the source and
|
|
1228
|
+
* <p>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.</p>
|
|
1229
|
+
*
|
|
1230
|
+
* <p>If the owner is set to <code>CUSTOM_POLICY</code>, the only acceptable values for the Config rule trigger message type are <code>ConfigurationItemChangeNotification</code> and <code>OversizedConfigurationItemChangeNotification</code>.</p>
|
|
1195
1231
|
*/
|
|
1196
1232
|
SourceDetails?: SourceDetail[];
|
|
1233
|
+
/**
|
|
1234
|
+
* <p>Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to <code>CUSTOM_POLICY</code>.</p>
|
|
1235
|
+
*/
|
|
1236
|
+
CustomPolicyDetails?: CustomPolicyDetails;
|
|
1197
1237
|
}
|
|
1198
1238
|
export declare namespace Source {
|
|
1199
1239
|
/**
|
|
@@ -1386,11 +1426,11 @@ export declare enum ConfigRuleComplianceSummaryGroupKey {
|
|
|
1386
1426
|
AWS_REGION = "AWS_REGION"
|
|
1387
1427
|
}
|
|
1388
1428
|
/**
|
|
1389
|
-
* <p>Status information for your Config
|
|
1429
|
+
* <p>Status information for your Config Managed rules and Config Custom Policy rules. The
|
|
1390
1430
|
* status includes information such as the last time the rule ran, the
|
|
1391
1431
|
* last time it failed, and the related error for the last
|
|
1392
1432
|
* failure.</p>
|
|
1393
|
-
* <p>This action does not return status information about
|
|
1433
|
+
* <p>This action does not return status information about Config Custom Lambda rules.</p>
|
|
1394
1434
|
*/
|
|
1395
1435
|
export interface ConfigRuleEvaluationStatus {
|
|
1396
1436
|
/**
|
|
@@ -1455,12 +1495,26 @@ export interface ConfigRuleEvaluationStatus {
|
|
|
1455
1495
|
* </li>
|
|
1456
1496
|
* <li>
|
|
1457
1497
|
* <p>
|
|
1458
|
-
* <code>false</code> - Config has not
|
|
1459
|
-
*
|
|
1498
|
+
* <code>false</code> - Config has not finished evaluating your Amazon Web Services resources against the
|
|
1499
|
+
* rule
|
|
1500
|
+
* at least once.</p>
|
|
1460
1501
|
* </li>
|
|
1461
1502
|
* </ul>
|
|
1462
1503
|
*/
|
|
1463
1504
|
FirstEvaluationStarted?: boolean;
|
|
1505
|
+
/**
|
|
1506
|
+
* <p>The status of the last attempted delivery of a debug log for your Config Custom Policy rules. Either <code>Successful</code> or <code>Failed</code>.</p>
|
|
1507
|
+
*/
|
|
1508
|
+
LastDebugLogDeliveryStatus?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* <p>The reason Config was not able to deliver a debug log. This is for the last
|
|
1511
|
+
* failed attempt to retrieve a debug log for your Config Custom Policy rules.</p>
|
|
1512
|
+
*/
|
|
1513
|
+
LastDebugLogDeliveryStatusReason?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
* <p>The time Config last attempted to deliver a debug log for your Config Custom Policy rules.</p>
|
|
1516
|
+
*/
|
|
1517
|
+
LastDebugLogDeliveryTime?: Date;
|
|
1464
1518
|
}
|
|
1465
1519
|
export declare namespace ConfigRuleEvaluationStatus {
|
|
1466
1520
|
/**
|
|
@@ -2139,7 +2193,7 @@ export declare namespace ConformancePackEvaluationResult {
|
|
|
2139
2193
|
*/
|
|
2140
2194
|
export interface ConformancePackRuleCompliance {
|
|
2141
2195
|
/**
|
|
2142
|
-
* <p>Name of the
|
|
2196
|
+
* <p>Name of the Config rule.</p>
|
|
2143
2197
|
*/
|
|
2144
2198
|
ConfigRuleName?: string;
|
|
2145
2199
|
/**
|
|
@@ -2284,8 +2338,7 @@ export declare namespace DeleteConfigRuleRequest {
|
|
|
2284
2338
|
const filterSensitiveLog: (obj: DeleteConfigRuleRequest) => any;
|
|
2285
2339
|
}
|
|
2286
2340
|
/**
|
|
2287
|
-
* <p>
|
|
2288
|
-
* that the rule names are correct and try again.</p>
|
|
2341
|
+
* <p>The Config rule in the request is not valid. Verify that the rule is an Config Custom Policy rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.</p>
|
|
2289
2342
|
*/
|
|
2290
2343
|
export declare class NoSuchConfigRuleException extends __BaseException {
|
|
2291
2344
|
readonly name: "NoSuchConfigRuleException";
|
|
@@ -2308,10 +2361,10 @@ export declare class NoSuchConfigRuleException extends __BaseException {
|
|
|
2308
2361
|
* <p>For DeleteConfigRule, a remediation action is associated with the rule and Config cannot delete this rule. Delete the remediation action associated with the rule before deleting the rule and try your request again later.</p>
|
|
2309
2362
|
* </li>
|
|
2310
2363
|
* <li>
|
|
2311
|
-
* <p>For PutConfigOrganizationRule, organization
|
|
2364
|
+
* <p>For PutConfigOrganizationRule, organization Config rule deletion is in progress. Try your request again later.</p>
|
|
2312
2365
|
* </li>
|
|
2313
2366
|
* <li>
|
|
2314
|
-
* <p>For DeleteOrganizationConfigRule, organization
|
|
2367
|
+
* <p>For DeleteOrganizationConfigRule, organization Config rule creation is in progress. Try your request again later.</p>
|
|
2315
2368
|
* </li>
|
|
2316
2369
|
* <li>
|
|
2317
2370
|
* <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.</p>
|
|
@@ -2465,7 +2518,7 @@ export declare namespace DeleteEvaluationResultsResponse {
|
|
|
2465
2518
|
}
|
|
2466
2519
|
export interface DeleteOrganizationConfigRuleRequest {
|
|
2467
2520
|
/**
|
|
2468
|
-
* <p>The name of organization
|
|
2521
|
+
* <p>The name of organization Config rule that you want to delete.</p>
|
|
2469
2522
|
*/
|
|
2470
2523
|
OrganizationConfigRuleName: string | undefined;
|
|
2471
2524
|
}
|
|
@@ -2476,7 +2529,7 @@ export declare namespace DeleteOrganizationConfigRuleRequest {
|
|
|
2476
2529
|
const filterSensitiveLog: (obj: DeleteOrganizationConfigRuleRequest) => any;
|
|
2477
2530
|
}
|
|
2478
2531
|
/**
|
|
2479
|
-
* <p>
|
|
2532
|
+
* <p>The Config rule in the request is not valid. Verify that the rule is an organization Config Custom Policy rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.</p>
|
|
2480
2533
|
*/
|
|
2481
2534
|
export declare class NoSuchOrganizationConfigRuleException extends __BaseException {
|
|
2482
2535
|
readonly name: "NoSuchOrganizationConfigRuleException";
|
|
@@ -2590,7 +2643,7 @@ export declare namespace DeleteRemediationConfigurationResponse {
|
|
|
2590
2643
|
* <p>For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
|
|
2591
2644
|
* </li>
|
|
2592
2645
|
* <li>
|
|
2593
|
-
* <p>For PutOrganizationConfigRule, organization
|
|
2646
|
+
* <p>For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM <code>GetRole</code> action or create a service linked role.</p>
|
|
2594
2647
|
* </li>
|
|
2595
2648
|
* <li>
|
|
2596
2649
|
* <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions: </p>
|
|
@@ -3628,11 +3681,11 @@ export declare namespace DescribeDeliveryChannelStatusResponse {
|
|
|
3628
3681
|
}
|
|
3629
3682
|
export interface DescribeOrganizationConfigRulesRequest {
|
|
3630
3683
|
/**
|
|
3631
|
-
* <p>The names of organization
|
|
3684
|
+
* <p>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.</p>
|
|
3632
3685
|
*/
|
|
3633
3686
|
OrganizationConfigRuleNames?: string[];
|
|
3634
3687
|
/**
|
|
3635
|
-
* <p>The maximum number of organization
|
|
3688
|
+
* <p>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.</p>
|
|
3636
3689
|
*/
|
|
3637
3690
|
Limit?: number;
|
|
3638
3691
|
/**
|
|
@@ -3646,6 +3699,81 @@ export declare namespace DescribeOrganizationConfigRulesRequest {
|
|
|
3646
3699
|
*/
|
|
3647
3700
|
const filterSensitiveLog: (obj: DescribeOrganizationConfigRulesRequest) => any;
|
|
3648
3701
|
}
|
|
3702
|
+
export declare enum OrganizationConfigRuleTriggerTypeNoSN {
|
|
3703
|
+
CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
|
|
3704
|
+
OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification"
|
|
3705
|
+
}
|
|
3706
|
+
/**
|
|
3707
|
+
* <p>An object that specifies metadata for your organization Config Custom Policy rule including the runtime system in use, which accounts have debug logging enabled, and
|
|
3708
|
+
* other custom rule metadata such as resource type, resource ID of Amazon Web Services
|
|
3709
|
+
* resource, and organization trigger types that trigger Config to evaluate
|
|
3710
|
+
* Amazon Web Services resources against a rule.</p>
|
|
3711
|
+
*/
|
|
3712
|
+
export interface OrganizationCustomPolicyRuleMetadataNoPolicy {
|
|
3713
|
+
/**
|
|
3714
|
+
* <p>The description that you provide for your organization Config Custom Policy rule.</p>
|
|
3715
|
+
*/
|
|
3716
|
+
Description?: string;
|
|
3717
|
+
/**
|
|
3718
|
+
* <p>The type of notification that triggers Config to run an evaluation for a rule.
|
|
3719
|
+
* For Config Custom Policy rules, Config supports change
|
|
3720
|
+
* triggered notification types:</p>
|
|
3721
|
+
*
|
|
3722
|
+
* <ul>
|
|
3723
|
+
* <li>
|
|
3724
|
+
* <p>
|
|
3725
|
+
* <code>ConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers a configuration item as a result of a resource change.</p>
|
|
3726
|
+
* </li>
|
|
3727
|
+
* <li>
|
|
3728
|
+
* <p>
|
|
3729
|
+
* <code>OversizedConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers an oversized configuration item.
|
|
3730
|
+
* Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.</p>
|
|
3731
|
+
* </li>
|
|
3732
|
+
* </ul>
|
|
3733
|
+
*/
|
|
3734
|
+
OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
|
|
3735
|
+
/**
|
|
3736
|
+
* <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
|
|
3737
|
+
*/
|
|
3738
|
+
InputParameters?: string;
|
|
3739
|
+
/**
|
|
3740
|
+
* <p>The maximum frequency with which Config runs evaluations for a rule. Your
|
|
3741
|
+
* Config Custom Policy rule is triggered when Config delivers
|
|
3742
|
+
* the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
|
|
3743
|
+
*/
|
|
3744
|
+
MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
|
|
3745
|
+
/**
|
|
3746
|
+
* <p>The type of the Amazon Web Services resource that was evaluated.</p>
|
|
3747
|
+
*/
|
|
3748
|
+
ResourceTypesScope?: string[];
|
|
3749
|
+
/**
|
|
3750
|
+
* <p>The ID of the Amazon Web Services resource that was evaluated.</p>
|
|
3751
|
+
*/
|
|
3752
|
+
ResourceIdScope?: string;
|
|
3753
|
+
/**
|
|
3754
|
+
* <p>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.</p>
|
|
3755
|
+
*/
|
|
3756
|
+
TagKeyScope?: string;
|
|
3757
|
+
/**
|
|
3758
|
+
* <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
|
|
3759
|
+
*/
|
|
3760
|
+
TagValueScope?: string;
|
|
3761
|
+
/**
|
|
3762
|
+
* <p>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 <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
|
|
3763
|
+
* Repository</a>.</p>
|
|
3764
|
+
*/
|
|
3765
|
+
PolicyRuntime?: string;
|
|
3766
|
+
/**
|
|
3767
|
+
* <p>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.</p>
|
|
3768
|
+
*/
|
|
3769
|
+
DebugLogDeliveryAccounts?: string[];
|
|
3770
|
+
}
|
|
3771
|
+
export declare namespace OrganizationCustomPolicyRuleMetadataNoPolicy {
|
|
3772
|
+
/**
|
|
3773
|
+
* @internal
|
|
3774
|
+
*/
|
|
3775
|
+
const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadataNoPolicy) => any;
|
|
3776
|
+
}
|
|
3649
3777
|
export declare enum OrganizationConfigRuleTriggerType {
|
|
3650
3778
|
CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
|
|
3651
3779
|
OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification",
|
|
@@ -3658,7 +3786,7 @@ export declare enum OrganizationConfigRuleTriggerType {
|
|
|
3658
3786
|
*/
|
|
3659
3787
|
export interface OrganizationCustomRuleMetadata {
|
|
3660
3788
|
/**
|
|
3661
|
-
* <p>The description that you provide for organization
|
|
3789
|
+
* <p>The description that you provide for your organization Config rule.</p>
|
|
3662
3790
|
*/
|
|
3663
3791
|
Description?: string;
|
|
3664
3792
|
/**
|
|
@@ -3686,7 +3814,7 @@ export interface OrganizationCustomRuleMetadata {
|
|
|
3686
3814
|
*/
|
|
3687
3815
|
OrganizationConfigRuleTriggerTypes: (OrganizationConfigRuleTriggerType | string)[] | undefined;
|
|
3688
3816
|
/**
|
|
3689
|
-
* <p>A string, in JSON format, that is passed to organization
|
|
3817
|
+
* <p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>
|
|
3690
3818
|
*/
|
|
3691
3819
|
InputParameters?: string;
|
|
3692
3820
|
/**
|
|
@@ -3729,7 +3857,7 @@ export declare namespace OrganizationCustomRuleMetadata {
|
|
|
3729
3857
|
*/
|
|
3730
3858
|
export interface OrganizationManagedRuleMetadata {
|
|
3731
3859
|
/**
|
|
3732
|
-
* <p>The description that you provide for organization
|
|
3860
|
+
* <p>The description that you provide for your organization Config rule.</p>
|
|
3733
3861
|
*/
|
|
3734
3862
|
Description?: string;
|
|
3735
3863
|
/**
|
|
@@ -3739,7 +3867,7 @@ export interface OrganizationManagedRuleMetadata {
|
|
|
3739
3867
|
*/
|
|
3740
3868
|
RuleIdentifier: string | undefined;
|
|
3741
3869
|
/**
|
|
3742
|
-
* <p>A string, in JSON format, that is passed to organization
|
|
3870
|
+
* <p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>
|
|
3743
3871
|
*/
|
|
3744
3872
|
InputParameters?: string;
|
|
3745
3873
|
/**
|
|
@@ -3776,15 +3904,15 @@ export declare namespace OrganizationManagedRuleMetadata {
|
|
|
3776
3904
|
const filterSensitiveLog: (obj: OrganizationManagedRuleMetadata) => any;
|
|
3777
3905
|
}
|
|
3778
3906
|
/**
|
|
3779
|
-
* <p>An organization
|
|
3907
|
+
* <p>An organization Config rule that has information about Config rules that Config creates in member accounts.</p>
|
|
3780
3908
|
*/
|
|
3781
3909
|
export interface OrganizationConfigRule {
|
|
3782
3910
|
/**
|
|
3783
|
-
* <p>The name that you assign to organization
|
|
3911
|
+
* <p>The name that you assign to organization Config rule.</p>
|
|
3784
3912
|
*/
|
|
3785
3913
|
OrganizationConfigRuleName: string | undefined;
|
|
3786
3914
|
/**
|
|
3787
|
-
* <p>Amazon Resource Name (ARN) of organization
|
|
3915
|
+
* <p>Amazon Resource Name (ARN) of organization Config rule.</p>
|
|
3788
3916
|
*/
|
|
3789
3917
|
OrganizationConfigRuleArn: string | undefined;
|
|
3790
3918
|
/**
|
|
@@ -3796,13 +3924,20 @@ export interface OrganizationConfigRule {
|
|
|
3796
3924
|
*/
|
|
3797
3925
|
OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
|
|
3798
3926
|
/**
|
|
3799
|
-
* <p>A comma-separated list of accounts excluded from organization
|
|
3927
|
+
* <p>A comma-separated list of accounts excluded from organization Config rule.</p>
|
|
3800
3928
|
*/
|
|
3801
3929
|
ExcludedAccounts?: string[];
|
|
3802
3930
|
/**
|
|
3803
3931
|
* <p>The timestamp of the last update.</p>
|
|
3804
3932
|
*/
|
|
3805
3933
|
LastUpdateTime?: Date;
|
|
3934
|
+
/**
|
|
3935
|
+
* <p>An
|
|
3936
|
+
* object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
|
|
3937
|
+
* debug logging enabled, and other custom rule metadata, such as resource type, resource
|
|
3938
|
+
* ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
|
|
3939
|
+
*/
|
|
3940
|
+
OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadataNoPolicy;
|
|
3806
3941
|
}
|
|
3807
3942
|
export declare namespace OrganizationConfigRule {
|
|
3808
3943
|
/**
|
|
@@ -3828,7 +3963,7 @@ export declare namespace DescribeOrganizationConfigRulesResponse {
|
|
|
3828
3963
|
}
|
|
3829
3964
|
export interface DescribeOrganizationConfigRuleStatusesRequest {
|
|
3830
3965
|
/**
|
|
3831
|
-
* <p>The names of organization
|
|
3966
|
+
* <p>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.</p>
|
|
3832
3967
|
*/
|
|
3833
3968
|
OrganizationConfigRuleNames?: string[];
|
|
3834
3969
|
/**
|
|
@@ -3858,65 +3993,65 @@ export declare enum OrganizationRuleStatus {
|
|
|
3858
3993
|
UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL"
|
|
3859
3994
|
}
|
|
3860
3995
|
/**
|
|
3861
|
-
* <p>Returns the status for an organization
|
|
3996
|
+
* <p>Returns the status for an organization Config rule in an organization.</p>
|
|
3862
3997
|
*/
|
|
3863
3998
|
export interface OrganizationConfigRuleStatus {
|
|
3864
3999
|
/**
|
|
3865
|
-
* <p>The name that you assign to organization
|
|
4000
|
+
* <p>The name that you assign to organization Config rule.</p>
|
|
3866
4001
|
*/
|
|
3867
4002
|
OrganizationConfigRuleName: string | undefined;
|
|
3868
4003
|
/**
|
|
3869
|
-
* <p>Indicates deployment status of an organization
|
|
3870
|
-
* When master account calls PutOrganizationConfigRule action for the first time,
|
|
3871
|
-
* When master account calls PutOrganizationConfigRule action for the second time,
|
|
4004
|
+
* <p>Indicates deployment status of an organization Config rule.
|
|
4005
|
+
* When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts.
|
|
4006
|
+
* 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.
|
|
3872
4007
|
* Config rule status is deleted when the master account deletes OrganizationConfigRule in all the member accounts and disables service access for <code>config-multiaccountsetup.amazonaws.com</code>.</p>
|
|
3873
4008
|
* <p>Config sets the state of the rule to:</p>
|
|
3874
4009
|
* <ul>
|
|
3875
4010
|
* <li>
|
|
3876
4011
|
* <p>
|
|
3877
|
-
* <code>CREATE_SUCCESSFUL</code> when an organization
|
|
4012
|
+
* <code>CREATE_SUCCESSFUL</code> when an organization Config rule has been successfully created in all the member accounts. </p>
|
|
3878
4013
|
* </li>
|
|
3879
4014
|
* <li>
|
|
3880
4015
|
* <p>
|
|
3881
|
-
* <code>CREATE_IN_PROGRESS</code> when an organization
|
|
4016
|
+
* <code>CREATE_IN_PROGRESS</code> when an organization Config rule creation is in progress.</p>
|
|
3882
4017
|
* </li>
|
|
3883
4018
|
* <li>
|
|
3884
4019
|
* <p>
|
|
3885
|
-
* <code>CREATE_FAILED</code> when an organization
|
|
4020
|
+
* <code>CREATE_FAILED</code> when an organization Config rule creation failed in one or more member accounts within that organization.</p>
|
|
3886
4021
|
* </li>
|
|
3887
4022
|
* <li>
|
|
3888
4023
|
* <p>
|
|
3889
|
-
* <code>DELETE_FAILED</code> when an organization
|
|
4024
|
+
* <code>DELETE_FAILED</code> when an organization Config rule deletion failed in one or more member accounts within that organization.</p>
|
|
3890
4025
|
* </li>
|
|
3891
4026
|
* <li>
|
|
3892
4027
|
* <p>
|
|
3893
|
-
* <code>DELETE_IN_PROGRESS</code> when an organization
|
|
4028
|
+
* <code>DELETE_IN_PROGRESS</code> when an organization Config rule deletion is in progress.</p>
|
|
3894
4029
|
* </li>
|
|
3895
4030
|
* <li>
|
|
3896
4031
|
* <p>
|
|
3897
|
-
* <code>DELETE_SUCCESSFUL</code> when an organization
|
|
4032
|
+
* <code>DELETE_SUCCESSFUL</code> when an organization Config rule has been successfully deleted from all the member accounts.</p>
|
|
3898
4033
|
* </li>
|
|
3899
4034
|
* <li>
|
|
3900
4035
|
* <p>
|
|
3901
|
-
* <code>UPDATE_SUCCESSFUL</code> when an organization
|
|
4036
|
+
* <code>UPDATE_SUCCESSFUL</code> when an organization Config rule has been successfully updated in all the member accounts.</p>
|
|
3902
4037
|
* </li>
|
|
3903
4038
|
* <li>
|
|
3904
4039
|
* <p>
|
|
3905
|
-
* <code>UPDATE_IN_PROGRESS</code> when an organization
|
|
4040
|
+
* <code>UPDATE_IN_PROGRESS</code> when an organization Config rule update is in progress.</p>
|
|
3906
4041
|
* </li>
|
|
3907
4042
|
* <li>
|
|
3908
4043
|
* <p>
|
|
3909
|
-
* <code>UPDATE_FAILED</code> when an organization
|
|
4044
|
+
* <code>UPDATE_FAILED</code> when an organization Config rule update failed in one or more member accounts within that organization.</p>
|
|
3910
4045
|
* </li>
|
|
3911
4046
|
* </ul>
|
|
3912
4047
|
*/
|
|
3913
4048
|
OrganizationRuleStatus: OrganizationRuleStatus | string | undefined;
|
|
3914
4049
|
/**
|
|
3915
|
-
* <p>An error code that is returned when organization
|
|
4050
|
+
* <p>An error code that is returned when organization Config rule creation or deletion has failed.</p>
|
|
3916
4051
|
*/
|
|
3917
4052
|
ErrorCode?: string;
|
|
3918
4053
|
/**
|
|
3919
|
-
* <p>An error message indicating that organization
|
|
4054
|
+
* <p>An error message indicating that organization Config rule creation or deletion failed due to an error.</p>
|
|
3920
4055
|
*/
|
|
3921
4056
|
ErrorMessage?: string;
|
|
3922
4057
|
/**
|
|
@@ -5391,6 +5526,30 @@ export declare namespace GetConformancePackComplianceSummaryResponse {
|
|
|
5391
5526
|
*/
|
|
5392
5527
|
const filterSensitiveLog: (obj: GetConformancePackComplianceSummaryResponse) => any;
|
|
5393
5528
|
}
|
|
5529
|
+
export interface GetCustomRulePolicyRequest {
|
|
5530
|
+
/**
|
|
5531
|
+
* <p>The name of your Config Custom Policy rule.</p>
|
|
5532
|
+
*/
|
|
5533
|
+
ConfigRuleName?: string;
|
|
5534
|
+
}
|
|
5535
|
+
export declare namespace GetCustomRulePolicyRequest {
|
|
5536
|
+
/**
|
|
5537
|
+
* @internal
|
|
5538
|
+
*/
|
|
5539
|
+
const filterSensitiveLog: (obj: GetCustomRulePolicyRequest) => any;
|
|
5540
|
+
}
|
|
5541
|
+
export interface GetCustomRulePolicyResponse {
|
|
5542
|
+
/**
|
|
5543
|
+
* <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
5544
|
+
*/
|
|
5545
|
+
PolicyText?: string;
|
|
5546
|
+
}
|
|
5547
|
+
export declare namespace GetCustomRulePolicyResponse {
|
|
5548
|
+
/**
|
|
5549
|
+
* @internal
|
|
5550
|
+
*/
|
|
5551
|
+
const filterSensitiveLog: (obj: GetCustomRulePolicyResponse) => any;
|
|
5552
|
+
}
|
|
5394
5553
|
export interface GetDiscoveredResourceCountsRequest {
|
|
5395
5554
|
/**
|
|
5396
5555
|
* <p>The comma-separated list that specifies the resource types that
|
|
@@ -5511,7 +5670,7 @@ export declare enum MemberAccountRuleStatus {
|
|
|
5511
5670
|
UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL"
|
|
5512
5671
|
}
|
|
5513
5672
|
/**
|
|
5514
|
-
* <p>Status filter object to filter results based on specific member account ID or status type for an organization
|
|
5673
|
+
* <p>Status filter object to filter results based on specific member account ID or status type for an organization Config rule. </p>
|
|
5515
5674
|
*/
|
|
5516
5675
|
export interface StatusDetailFilters {
|
|
5517
5676
|
/**
|
|
@@ -5519,48 +5678,48 @@ export interface StatusDetailFilters {
|
|
|
5519
5678
|
*/
|
|
5520
5679
|
AccountId?: string;
|
|
5521
5680
|
/**
|
|
5522
|
-
* <p>Indicates deployment status for
|
|
5523
|
-
* When master account calls <code>PutOrganizationConfigRule</code> action for the first time,
|
|
5524
|
-
* When master account calls <code>PutOrganizationConfigRule</code> action for the second time,
|
|
5681
|
+
* <p>Indicates deployment status for Config rule in the member account.
|
|
5682
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the first time, Config rule status is created in the member account.
|
|
5683
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the second time, Config rule status is updated in the member account.
|
|
5525
5684
|
* Config rule status is deleted when the master account deletes <code>OrganizationConfigRule</code> and disables service access for <code>config-multiaccountsetup.amazonaws.com</code>.
|
|
5526
5685
|
* </p>
|
|
5527
5686
|
* <p>Config sets the state of the rule to:</p>
|
|
5528
5687
|
* <ul>
|
|
5529
5688
|
* <li>
|
|
5530
5689
|
* <p>
|
|
5531
|
-
* <code>CREATE_SUCCESSFUL</code> when
|
|
5690
|
+
* <code>CREATE_SUCCESSFUL</code> when Config rule has been created in the member account.</p>
|
|
5532
5691
|
* </li>
|
|
5533
5692
|
* <li>
|
|
5534
5693
|
* <p>
|
|
5535
|
-
* <code>CREATE_IN_PROGRESS</code> when
|
|
5694
|
+
* <code>CREATE_IN_PROGRESS</code> when Config rule is being created in the member account.</p>
|
|
5536
5695
|
* </li>
|
|
5537
5696
|
* <li>
|
|
5538
5697
|
* <p>
|
|
5539
|
-
* <code>CREATE_FAILED</code> when
|
|
5698
|
+
* <code>CREATE_FAILED</code> when Config rule creation has failed in the member account.</p>
|
|
5540
5699
|
* </li>
|
|
5541
5700
|
* <li>
|
|
5542
5701
|
* <p>
|
|
5543
|
-
* <code>DELETE_FAILED</code> when
|
|
5702
|
+
* <code>DELETE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5544
5703
|
* </li>
|
|
5545
5704
|
* <li>
|
|
5546
5705
|
* <p>
|
|
5547
|
-
* <code>DELETE_IN_PROGRESS</code> when
|
|
5706
|
+
* <code>DELETE_IN_PROGRESS</code> when Config rule is being deleted in the member account.</p>
|
|
5548
5707
|
* </li>
|
|
5549
5708
|
* <li>
|
|
5550
5709
|
* <p>
|
|
5551
|
-
* <code>DELETE_SUCCESSFUL</code> when
|
|
5710
|
+
* <code>DELETE_SUCCESSFUL</code> when Config rule has been deleted in the member account.</p>
|
|
5552
5711
|
* </li>
|
|
5553
5712
|
* <li>
|
|
5554
5713
|
* <p>
|
|
5555
|
-
* <code>UPDATE_SUCCESSFUL</code> when
|
|
5714
|
+
* <code>UPDATE_SUCCESSFUL</code> when Config rule has been updated in the member account.</p>
|
|
5556
5715
|
* </li>
|
|
5557
5716
|
* <li>
|
|
5558
5717
|
* <p>
|
|
5559
|
-
* <code>UPDATE_IN_PROGRESS</code> when
|
|
5718
|
+
* <code>UPDATE_IN_PROGRESS</code> when Config rule is being updated in the member account.</p>
|
|
5560
5719
|
* </li>
|
|
5561
5720
|
* <li>
|
|
5562
5721
|
* <p>
|
|
5563
|
-
* <code>UPDATE_FAILED</code> when
|
|
5722
|
+
* <code>UPDATE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5564
5723
|
* </li>
|
|
5565
5724
|
* </ul>
|
|
5566
5725
|
*/
|
|
@@ -5574,7 +5733,7 @@ export declare namespace StatusDetailFilters {
|
|
|
5574
5733
|
}
|
|
5575
5734
|
export interface GetOrganizationConfigRuleDetailedStatusRequest {
|
|
5576
5735
|
/**
|
|
5577
|
-
* <p>The name of organization
|
|
5736
|
+
* <p>The name of your organization Config rule for which you want status details for member accounts.</p>
|
|
5578
5737
|
*/
|
|
5579
5738
|
OrganizationConfigRuleName: string | undefined;
|
|
5580
5739
|
/**
|
|
@@ -5597,7 +5756,7 @@ export declare namespace GetOrganizationConfigRuleDetailedStatusRequest {
|
|
|
5597
5756
|
const filterSensitiveLog: (obj: GetOrganizationConfigRuleDetailedStatusRequest) => any;
|
|
5598
5757
|
}
|
|
5599
5758
|
/**
|
|
5600
|
-
* <p>Organization
|
|
5759
|
+
* <p>Organization Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.</p>
|
|
5601
5760
|
*/
|
|
5602
5761
|
export interface MemberAccountStatus {
|
|
5603
5762
|
/**
|
|
@@ -5605,62 +5764,62 @@ export interface MemberAccountStatus {
|
|
|
5605
5764
|
*/
|
|
5606
5765
|
AccountId: string | undefined;
|
|
5607
5766
|
/**
|
|
5608
|
-
* <p>The name of
|
|
5767
|
+
* <p>The name of Config rule deployed in the member account.</p>
|
|
5609
5768
|
*/
|
|
5610
5769
|
ConfigRuleName: string | undefined;
|
|
5611
5770
|
/**
|
|
5612
|
-
* <p>Indicates deployment status for
|
|
5613
|
-
* When master account calls <code>PutOrganizationConfigRule</code> action for the first time,
|
|
5614
|
-
* When master account calls <code>PutOrganizationConfigRule</code> action for the second time,
|
|
5771
|
+
* <p>Indicates deployment status for Config rule in the member account.
|
|
5772
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the first time, Config rule status is created in the member account.
|
|
5773
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the second time, Config rule status is updated in the member account.
|
|
5615
5774
|
* Config rule status is deleted when the master account deletes <code>OrganizationConfigRule</code> and disables service access for <code>config-multiaccountsetup.amazonaws.com</code>.
|
|
5616
5775
|
* </p>
|
|
5617
5776
|
* <p> Config sets the state of the rule to:</p>
|
|
5618
5777
|
* <ul>
|
|
5619
5778
|
* <li>
|
|
5620
5779
|
* <p>
|
|
5621
|
-
* <code>CREATE_SUCCESSFUL</code> when
|
|
5780
|
+
* <code>CREATE_SUCCESSFUL</code> when Config rule has been created in the member account. </p>
|
|
5622
5781
|
* </li>
|
|
5623
5782
|
* <li>
|
|
5624
5783
|
* <p>
|
|
5625
|
-
* <code>CREATE_IN_PROGRESS</code> when
|
|
5784
|
+
* <code>CREATE_IN_PROGRESS</code> when Config rule is being created in the member account.</p>
|
|
5626
5785
|
* </li>
|
|
5627
5786
|
* <li>
|
|
5628
5787
|
* <p>
|
|
5629
|
-
* <code>CREATE_FAILED</code> when
|
|
5788
|
+
* <code>CREATE_FAILED</code> when Config rule creation has failed in the member account.</p>
|
|
5630
5789
|
* </li>
|
|
5631
5790
|
* <li>
|
|
5632
5791
|
* <p>
|
|
5633
|
-
* <code>DELETE_FAILED</code> when
|
|
5792
|
+
* <code>DELETE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5634
5793
|
* </li>
|
|
5635
5794
|
* <li>
|
|
5636
5795
|
* <p>
|
|
5637
|
-
* <code>DELETE_IN_PROGRESS</code> when
|
|
5796
|
+
* <code>DELETE_IN_PROGRESS</code> when Config rule is being deleted in the member account.</p>
|
|
5638
5797
|
* </li>
|
|
5639
5798
|
* <li>
|
|
5640
5799
|
* <p>
|
|
5641
|
-
* <code>DELETE_SUCCESSFUL</code> when
|
|
5800
|
+
* <code>DELETE_SUCCESSFUL</code> when Config rule has been deleted in the member account. </p>
|
|
5642
5801
|
* </li>
|
|
5643
5802
|
* <li>
|
|
5644
5803
|
* <p>
|
|
5645
|
-
* <code>UPDATE_SUCCESSFUL</code> when
|
|
5804
|
+
* <code>UPDATE_SUCCESSFUL</code> when Config rule has been updated in the member account.</p>
|
|
5646
5805
|
* </li>
|
|
5647
5806
|
* <li>
|
|
5648
5807
|
* <p>
|
|
5649
|
-
* <code>UPDATE_IN_PROGRESS</code> when
|
|
5808
|
+
* <code>UPDATE_IN_PROGRESS</code> when Config rule is being updated in the member account.</p>
|
|
5650
5809
|
* </li>
|
|
5651
5810
|
* <li>
|
|
5652
5811
|
* <p>
|
|
5653
|
-
* <code>UPDATE_FAILED</code> when
|
|
5812
|
+
* <code>UPDATE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5654
5813
|
* </li>
|
|
5655
5814
|
* </ul>
|
|
5656
5815
|
*/
|
|
5657
5816
|
MemberAccountRuleStatus: MemberAccountRuleStatus | string | undefined;
|
|
5658
5817
|
/**
|
|
5659
|
-
* <p>An error code that is returned when
|
|
5818
|
+
* <p>An error code that is returned when Config rule creation or deletion failed in the member account.</p>
|
|
5660
5819
|
*/
|
|
5661
5820
|
ErrorCode?: string;
|
|
5662
5821
|
/**
|
|
5663
|
-
* <p>An error message indicating that
|
|
5822
|
+
* <p>An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.</p>
|
|
5664
5823
|
*/
|
|
5665
5824
|
ErrorMessage?: string;
|
|
5666
5825
|
/**
|
|
@@ -5886,6 +6045,30 @@ export declare namespace GetOrganizationConformancePackDetailedStatusResponse {
|
|
|
5886
6045
|
*/
|
|
5887
6046
|
const filterSensitiveLog: (obj: GetOrganizationConformancePackDetailedStatusResponse) => any;
|
|
5888
6047
|
}
|
|
6048
|
+
export interface GetOrganizationCustomRulePolicyRequest {
|
|
6049
|
+
/**
|
|
6050
|
+
* <p>The name of your organization Config Custom Policy rule. </p>
|
|
6051
|
+
*/
|
|
6052
|
+
OrganizationConfigRuleName: string | undefined;
|
|
6053
|
+
}
|
|
6054
|
+
export declare namespace GetOrganizationCustomRulePolicyRequest {
|
|
6055
|
+
/**
|
|
6056
|
+
* @internal
|
|
6057
|
+
*/
|
|
6058
|
+
const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyRequest) => any;
|
|
6059
|
+
}
|
|
6060
|
+
export interface GetOrganizationCustomRulePolicyResponse {
|
|
6061
|
+
/**
|
|
6062
|
+
* <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
6063
|
+
*/
|
|
6064
|
+
PolicyText?: string;
|
|
6065
|
+
}
|
|
6066
|
+
export declare namespace GetOrganizationCustomRulePolicyResponse {
|
|
6067
|
+
/**
|
|
6068
|
+
* @internal
|
|
6069
|
+
*/
|
|
6070
|
+
const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyResponse) => any;
|
|
6071
|
+
}
|
|
5889
6072
|
/**
|
|
5890
6073
|
* <p>The input for the <a>GetResourceConfigHistory</a>
|
|
5891
6074
|
* action.</p>
|
|
@@ -6506,7 +6689,7 @@ export declare class MaxNumberOfDeliveryChannelsExceededException extends __Base
|
|
|
6506
6689
|
constructor(opts: __ExceptionOptionType<MaxNumberOfDeliveryChannelsExceededException, __BaseException>);
|
|
6507
6690
|
}
|
|
6508
6691
|
/**
|
|
6509
|
-
* <p>You have reached the limit of the number of organization
|
|
6692
|
+
* <p>You have reached the limit of the number of organization Config rules you can create.</p>
|
|
6510
6693
|
*/
|
|
6511
6694
|
export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
|
|
6512
6695
|
readonly name: "MaxNumberOfOrganizationConfigRulesExceededException";
|
|
@@ -6594,6 +6777,82 @@ export declare class OrganizationConformancePackTemplateValidationException exte
|
|
|
6594
6777
|
*/
|
|
6595
6778
|
constructor(opts: __ExceptionOptionType<OrganizationConformancePackTemplateValidationException, __BaseException>);
|
|
6596
6779
|
}
|
|
6780
|
+
/**
|
|
6781
|
+
* <p>An
|
|
6782
|
+
* object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
|
|
6783
|
+
* debug logging enabled, and other custom rule metadata, such as resource type, resource
|
|
6784
|
+
* ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
|
|
6785
|
+
*/
|
|
6786
|
+
export interface OrganizationCustomPolicyRuleMetadata {
|
|
6787
|
+
/**
|
|
6788
|
+
* <p>The description that you provide for your organization Config Custom Policy rule.</p>
|
|
6789
|
+
*/
|
|
6790
|
+
Description?: string;
|
|
6791
|
+
/**
|
|
6792
|
+
* <p>The type of notification that initiates Config to run an evaluation for a rule.
|
|
6793
|
+
* For Config Custom Policy rules, Config supports change-initiated notification types:</p>
|
|
6794
|
+
*
|
|
6795
|
+
* <ul>
|
|
6796
|
+
* <li>
|
|
6797
|
+
* <p>
|
|
6798
|
+
* <code>ConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers a configuration item as a result of a resource
|
|
6799
|
+
* change.</p>
|
|
6800
|
+
* </li>
|
|
6801
|
+
* <li>
|
|
6802
|
+
* <p>
|
|
6803
|
+
* <code>OversizedConfigurationItemChangeNotification</code> - Initiates an evaluation when
|
|
6804
|
+
* Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the
|
|
6805
|
+
* notification exceeds the maximum size allowed by Amazon SNS.</p>
|
|
6806
|
+
* </li>
|
|
6807
|
+
* </ul>
|
|
6808
|
+
*/
|
|
6809
|
+
OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
|
|
6810
|
+
/**
|
|
6811
|
+
* <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
|
|
6812
|
+
*/
|
|
6813
|
+
InputParameters?: string;
|
|
6814
|
+
/**
|
|
6815
|
+
* <p>The maximum frequency with which Config runs evaluations for a rule. Your
|
|
6816
|
+
* Config Custom Policy rule is triggered when Config delivers
|
|
6817
|
+
* the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
|
|
6818
|
+
*/
|
|
6819
|
+
MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
|
|
6820
|
+
/**
|
|
6821
|
+
* <p>The type of the Amazon Web Services resource that was evaluated.</p>
|
|
6822
|
+
*/
|
|
6823
|
+
ResourceTypesScope?: string[];
|
|
6824
|
+
/**
|
|
6825
|
+
* <p>The ID of the Amazon Web Services resource that was evaluated.</p>
|
|
6826
|
+
*/
|
|
6827
|
+
ResourceIdScope?: string;
|
|
6828
|
+
/**
|
|
6829
|
+
* <p>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.</p>
|
|
6830
|
+
*/
|
|
6831
|
+
TagKeyScope?: string;
|
|
6832
|
+
/**
|
|
6833
|
+
* <p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).</p>
|
|
6834
|
+
*/
|
|
6835
|
+
TagValueScope?: string;
|
|
6836
|
+
/**
|
|
6837
|
+
* <p>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 <a href="https://github.com/aws-cloudformation/cloudformation-guard">Guard GitHub
|
|
6838
|
+
* Repository</a>.</p>
|
|
6839
|
+
*/
|
|
6840
|
+
PolicyRuntime: string | undefined;
|
|
6841
|
+
/**
|
|
6842
|
+
* <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
6843
|
+
*/
|
|
6844
|
+
PolicyText: string | undefined;
|
|
6845
|
+
/**
|
|
6846
|
+
* <p>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.</p>
|
|
6847
|
+
*/
|
|
6848
|
+
DebugLogDeliveryAccounts?: string[];
|
|
6849
|
+
}
|
|
6850
|
+
export declare namespace OrganizationCustomPolicyRuleMetadata {
|
|
6851
|
+
/**
|
|
6852
|
+
* @internal
|
|
6853
|
+
*/
|
|
6854
|
+
const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadata) => any;
|
|
6855
|
+
}
|
|
6597
6856
|
export interface PutAggregationAuthorizationRequest {
|
|
6598
6857
|
/**
|
|
6599
6858
|
* <p>The 12-digit account ID of the account authorized to aggregate data.</p>
|
|
@@ -6714,7 +6973,7 @@ export interface PutConformancePackRequest {
|
|
|
6714
6973
|
/**
|
|
6715
6974
|
* <p>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.</p>
|
|
6716
6975
|
* <note>
|
|
6717
|
-
* <p>You can only use a YAML template with two resource types:
|
|
6976
|
+
* <p>You can only use a YAML template with two resource types: Config rule (<code>AWS::Config::ConfigRule</code>) and a remediation action (<code>AWS::Config::RemediationConfiguration</code>).</p>
|
|
6718
6977
|
* </note>
|
|
6719
6978
|
*/
|
|
6720
6979
|
TemplateBody?: string;
|
|
@@ -6850,158 +7109,3 @@ export declare namespace PutExternalEvaluationResponse {
|
|
|
6850
7109
|
*/
|
|
6851
7110
|
const filterSensitiveLog: (obj: PutExternalEvaluationResponse) => any;
|
|
6852
7111
|
}
|
|
6853
|
-
export interface PutOrganizationConfigRuleRequest {
|
|
6854
|
-
/**
|
|
6855
|
-
* <p>The name that you assign to an organization config rule.</p>
|
|
6856
|
-
*/
|
|
6857
|
-
OrganizationConfigRuleName: string | undefined;
|
|
6858
|
-
/**
|
|
6859
|
-
* <p>An <code>OrganizationManagedRuleMetadata</code> object. </p>
|
|
6860
|
-
*/
|
|
6861
|
-
OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
|
|
6862
|
-
/**
|
|
6863
|
-
* <p>An <code>OrganizationCustomRuleMetadata</code> object.</p>
|
|
6864
|
-
*/
|
|
6865
|
-
OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
|
|
6866
|
-
/**
|
|
6867
|
-
* <p>A comma-separated list of accounts that you want to exclude from an organization config rule.</p>
|
|
6868
|
-
*/
|
|
6869
|
-
ExcludedAccounts?: string[];
|
|
6870
|
-
}
|
|
6871
|
-
export declare namespace PutOrganizationConfigRuleRequest {
|
|
6872
|
-
/**
|
|
6873
|
-
* @internal
|
|
6874
|
-
*/
|
|
6875
|
-
const filterSensitiveLog: (obj: PutOrganizationConfigRuleRequest) => any;
|
|
6876
|
-
}
|
|
6877
|
-
export interface PutOrganizationConfigRuleResponse {
|
|
6878
|
-
/**
|
|
6879
|
-
* <p>The Amazon Resource Name (ARN) of an organization config rule.</p>
|
|
6880
|
-
*/
|
|
6881
|
-
OrganizationConfigRuleArn?: string;
|
|
6882
|
-
}
|
|
6883
|
-
export declare namespace PutOrganizationConfigRuleResponse {
|
|
6884
|
-
/**
|
|
6885
|
-
* @internal
|
|
6886
|
-
*/
|
|
6887
|
-
const filterSensitiveLog: (obj: PutOrganizationConfigRuleResponse) => any;
|
|
6888
|
-
}
|
|
6889
|
-
export interface PutOrganizationConformancePackRequest {
|
|
6890
|
-
/**
|
|
6891
|
-
* <p>Name of the organization conformance pack you want to create.</p>
|
|
6892
|
-
*/
|
|
6893
|
-
OrganizationConformancePackName: string | undefined;
|
|
6894
|
-
/**
|
|
6895
|
-
* <p>Location of file containing the template body. The uri must point to the conformance pack template
|
|
6896
|
-
* (max size: 300 KB).</p>
|
|
6897
|
-
* <note>
|
|
6898
|
-
* <p>You must have access to read Amazon S3 bucket.</p>
|
|
6899
|
-
* </note>
|
|
6900
|
-
*/
|
|
6901
|
-
TemplateS3Uri?: string;
|
|
6902
|
-
/**
|
|
6903
|
-
* <p>A string containing full conformance pack template body. Structure containing the template body
|
|
6904
|
-
* with a minimum length of 1 byte and a maximum length of 51,200 bytes.</p>
|
|
6905
|
-
*/
|
|
6906
|
-
TemplateBody?: string;
|
|
6907
|
-
/**
|
|
6908
|
-
* <p>The name of the Amazon S3 bucket where Config stores conformance pack templates.</p>
|
|
6909
|
-
* <note>
|
|
6910
|
-
* <p>This field is optional. If used, it must be prefixed with <code>awsconfigconforms</code>.</p>
|
|
6911
|
-
* </note>
|
|
6912
|
-
*/
|
|
6913
|
-
DeliveryS3Bucket?: string;
|
|
6914
|
-
/**
|
|
6915
|
-
* <p>The prefix for the Amazon S3 bucket.</p>
|
|
6916
|
-
* <note>
|
|
6917
|
-
* <p>This field is optional.</p>
|
|
6918
|
-
* </note>
|
|
6919
|
-
*/
|
|
6920
|
-
DeliveryS3KeyPrefix?: string;
|
|
6921
|
-
/**
|
|
6922
|
-
* <p>A list of <code>ConformancePackInputParameter</code> objects.</p>
|
|
6923
|
-
*/
|
|
6924
|
-
ConformancePackInputParameters?: ConformancePackInputParameter[];
|
|
6925
|
-
/**
|
|
6926
|
-
* <p>A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.</p>
|
|
6927
|
-
*/
|
|
6928
|
-
ExcludedAccounts?: string[];
|
|
6929
|
-
}
|
|
6930
|
-
export declare namespace PutOrganizationConformancePackRequest {
|
|
6931
|
-
/**
|
|
6932
|
-
* @internal
|
|
6933
|
-
*/
|
|
6934
|
-
const filterSensitiveLog: (obj: PutOrganizationConformancePackRequest) => any;
|
|
6935
|
-
}
|
|
6936
|
-
export interface PutOrganizationConformancePackResponse {
|
|
6937
|
-
/**
|
|
6938
|
-
* <p>ARN of the organization conformance pack.</p>
|
|
6939
|
-
*/
|
|
6940
|
-
OrganizationConformancePackArn?: string;
|
|
6941
|
-
}
|
|
6942
|
-
export declare namespace PutOrganizationConformancePackResponse {
|
|
6943
|
-
/**
|
|
6944
|
-
* @internal
|
|
6945
|
-
*/
|
|
6946
|
-
const filterSensitiveLog: (obj: PutOrganizationConformancePackResponse) => any;
|
|
6947
|
-
}
|
|
6948
|
-
export interface PutRemediationConfigurationsRequest {
|
|
6949
|
-
/**
|
|
6950
|
-
* <p>A list of remediation configuration objects.</p>
|
|
6951
|
-
*/
|
|
6952
|
-
RemediationConfigurations: RemediationConfiguration[] | undefined;
|
|
6953
|
-
}
|
|
6954
|
-
export declare namespace PutRemediationConfigurationsRequest {
|
|
6955
|
-
/**
|
|
6956
|
-
* @internal
|
|
6957
|
-
*/
|
|
6958
|
-
const filterSensitiveLog: (obj: PutRemediationConfigurationsRequest) => any;
|
|
6959
|
-
}
|
|
6960
|
-
export interface PutRemediationConfigurationsResponse {
|
|
6961
|
-
/**
|
|
6962
|
-
* <p>Returns a list of failed remediation batch objects.</p>
|
|
6963
|
-
*/
|
|
6964
|
-
FailedBatches?: FailedRemediationBatch[];
|
|
6965
|
-
}
|
|
6966
|
-
export declare namespace PutRemediationConfigurationsResponse {
|
|
6967
|
-
/**
|
|
6968
|
-
* @internal
|
|
6969
|
-
*/
|
|
6970
|
-
const filterSensitiveLog: (obj: PutRemediationConfigurationsResponse) => any;
|
|
6971
|
-
}
|
|
6972
|
-
export interface PutRemediationExceptionsRequest {
|
|
6973
|
-
/**
|
|
6974
|
-
* <p>The name of the Config rule for which you want to create remediation exception.</p>
|
|
6975
|
-
*/
|
|
6976
|
-
ConfigRuleName: string | undefined;
|
|
6977
|
-
/**
|
|
6978
|
-
* <p>An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys. </p>
|
|
6979
|
-
*/
|
|
6980
|
-
ResourceKeys: RemediationExceptionResourceKey[] | undefined;
|
|
6981
|
-
/**
|
|
6982
|
-
* <p>The message contains an explanation of the exception.</p>
|
|
6983
|
-
*/
|
|
6984
|
-
Message?: string;
|
|
6985
|
-
/**
|
|
6986
|
-
* <p>The exception is automatically deleted after the expiration date.</p>
|
|
6987
|
-
*/
|
|
6988
|
-
ExpirationTime?: Date;
|
|
6989
|
-
}
|
|
6990
|
-
export declare namespace PutRemediationExceptionsRequest {
|
|
6991
|
-
/**
|
|
6992
|
-
* @internal
|
|
6993
|
-
*/
|
|
6994
|
-
const filterSensitiveLog: (obj: PutRemediationExceptionsRequest) => any;
|
|
6995
|
-
}
|
|
6996
|
-
export interface PutRemediationExceptionsResponse {
|
|
6997
|
-
/**
|
|
6998
|
-
* <p>Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.</p>
|
|
6999
|
-
*/
|
|
7000
|
-
FailedBatches?: FailedRemediationExceptionBatch[];
|
|
7001
|
-
}
|
|
7002
|
-
export declare namespace PutRemediationExceptionsResponse {
|
|
7003
|
-
/**
|
|
7004
|
-
* @internal
|
|
7005
|
-
*/
|
|
7006
|
-
const filterSensitiveLog: (obj: PutRemediationExceptionsResponse) => any;
|
|
7007
|
-
}
|