@aws-sdk/client-config-service 3.55.0 → 3.65.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 +30 -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 +57 -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 +37 -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 +33 -19
- 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/PutConfigRuleCommand.d.ts +3 -3
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +6 -6
- 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 +342 -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 +121 -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 +18 -18
|
@@ -534,6 +534,7 @@ export declare enum ResourceType {
|
|
|
534
534
|
EFSFileSystem = "AWS::EFS::FileSystem",
|
|
535
535
|
EIP = "AWS::EC2::EIP",
|
|
536
536
|
EKSCluster = "AWS::EKS::Cluster",
|
|
537
|
+
EMRSecurityConfiguration = "AWS::EMR::SecurityConfiguration",
|
|
537
538
|
EgressOnlyInternetGateway = "AWS::EC2::EgressOnlyInternetGateway",
|
|
538
539
|
EncryptionConfig = "AWS::XRay::EncryptionConfig",
|
|
539
540
|
Environment = "AWS::ElasticBeanstalk::Environment",
|
|
@@ -542,6 +543,7 @@ export declare enum ResourceType {
|
|
|
542
543
|
FlowLog = "AWS::EC2::FlowLog",
|
|
543
544
|
Function = "AWS::Lambda::Function",
|
|
544
545
|
Group = "AWS::IAM::Group",
|
|
546
|
+
GuardDutyDetector = "AWS::GuardDuty::Detector",
|
|
545
547
|
Host = "AWS::EC2::Host",
|
|
546
548
|
IPSetV2 = "AWS::WAFv2::IPSet",
|
|
547
549
|
Instance = "AWS::EC2::Instance",
|
|
@@ -586,6 +588,7 @@ export declare enum ResourceType {
|
|
|
586
588
|
Rule = "AWS::WAF::Rule",
|
|
587
589
|
RuleGroup = "AWS::WAF::RuleGroup",
|
|
588
590
|
RuleGroupV2 = "AWS::WAFv2::RuleGroup",
|
|
591
|
+
SageMakerCodeRepository = "AWS::SageMaker::CodeRepository",
|
|
589
592
|
ScalingPolicy = "AWS::AutoScaling::ScalingPolicy",
|
|
590
593
|
ScheduledAction = "AWS::AutoScaling::ScheduledAction",
|
|
591
594
|
Secret = "AWS::SecretsManager::Secret",
|
|
@@ -1072,9 +1075,37 @@ export declare namespace Scope {
|
|
|
1072
1075
|
*/
|
|
1073
1076
|
const filterSensitiveLog: (obj: Scope) => any;
|
|
1074
1077
|
}
|
|
1078
|
+
/**
|
|
1079
|
+
* <p>Provides the runtime system, policy definition, and whether debug logging enabled. You can
|
|
1080
|
+
* specify the following CustomPolicyDetails parameter values
|
|
1081
|
+
* only
|
|
1082
|
+
* for Config Custom Policy rules.</p>
|
|
1083
|
+
*/
|
|
1084
|
+
export interface CustomPolicyDetails {
|
|
1085
|
+
/**
|
|
1086
|
+
* <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
|
|
1087
|
+
* Repository</a>.</p>
|
|
1088
|
+
*/
|
|
1089
|
+
PolicyRuntime: string | undefined;
|
|
1090
|
+
/**
|
|
1091
|
+
* <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
1092
|
+
*/
|
|
1093
|
+
PolicyText: string | undefined;
|
|
1094
|
+
/**
|
|
1095
|
+
* <p>The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is <code>false</code>.</p>
|
|
1096
|
+
*/
|
|
1097
|
+
EnableDebugLogDelivery?: boolean;
|
|
1098
|
+
}
|
|
1099
|
+
export declare namespace CustomPolicyDetails {
|
|
1100
|
+
/**
|
|
1101
|
+
* @internal
|
|
1102
|
+
*/
|
|
1103
|
+
const filterSensitiveLog: (obj: CustomPolicyDetails) => any;
|
|
1104
|
+
}
|
|
1075
1105
|
export declare enum Owner {
|
|
1076
1106
|
Aws = "AWS",
|
|
1077
|
-
Custom_Lambda = "CUSTOM_LAMBDA"
|
|
1107
|
+
Custom_Lambda = "CUSTOM_LAMBDA",
|
|
1108
|
+
Custom_Policy = "CUSTOM_POLICY"
|
|
1078
1109
|
}
|
|
1079
1110
|
export declare enum EventSource {
|
|
1080
1111
|
Aws_Config = "aws.config"
|
|
@@ -1150,7 +1181,6 @@ export interface SourceDetail {
|
|
|
1150
1181
|
*
|
|
1151
1182
|
*
|
|
1152
1183
|
*
|
|
1153
|
-
*
|
|
1154
1184
|
* <note>
|
|
1155
1185
|
* <p>By default, rules with a periodic trigger are evaluated
|
|
1156
1186
|
* every 24 hours. To change the frequency, specify a valid value
|
|
@@ -1172,28 +1202,40 @@ export declare namespace SourceDetail {
|
|
|
1172
1202
|
const filterSensitiveLog: (obj: SourceDetail) => any;
|
|
1173
1203
|
}
|
|
1174
1204
|
/**
|
|
1175
|
-
* <p>Provides the
|
|
1176
|
-
* identifier, and the events that
|
|
1205
|
+
* <p>Provides the CustomPolicyDetails, the rule owner (Amazon Web Services or customer), the rule
|
|
1206
|
+
* identifier, and the events that cause the evaluation of your Amazon Web Services
|
|
1177
1207
|
* resources.</p>
|
|
1178
1208
|
*/
|
|
1179
1209
|
export interface Source {
|
|
1180
1210
|
/**
|
|
1181
1211
|
* <p>Indicates whether Amazon Web Services or the customer owns and manages the Config rule.</p>
|
|
1212
|
+
*
|
|
1213
|
+
* <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>
|
|
1214
|
+
*
|
|
1215
|
+
* <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
1216
|
*/
|
|
1183
1217
|
Owner: Owner | string | undefined;
|
|
1184
1218
|
/**
|
|
1185
|
-
* <p>For Config
|
|
1219
|
+
* <p>For Config Managed rules, a predefined identifier from a
|
|
1186
1220
|
* 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
|
|
1221
|
+
* 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>
|
|
1222
|
+
* <p>For Config Custom Lambda rules, the identifier is the Amazon Resource Name
|
|
1189
1223
|
* (ARN) of the rule's Lambda function, such as
|
|
1190
|
-
*
|
|
1224
|
+
* <code>arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name</code>.</p>
|
|
1225
|
+
*
|
|
1226
|
+
* <p>For Config Custom Policy rules, this field will be ignored.</p>
|
|
1191
1227
|
*/
|
|
1192
|
-
SourceIdentifier
|
|
1228
|
+
SourceIdentifier?: string;
|
|
1193
1229
|
/**
|
|
1194
|
-
* <p>Provides the source and
|
|
1230
|
+
* <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>
|
|
1231
|
+
*
|
|
1232
|
+
* <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
1233
|
*/
|
|
1196
1234
|
SourceDetails?: SourceDetail[];
|
|
1235
|
+
/**
|
|
1236
|
+
* <p>Provides the runtime system, policy definition, and whether debug logging is enabled. Required when owner is set to <code>CUSTOM_POLICY</code>.</p>
|
|
1237
|
+
*/
|
|
1238
|
+
CustomPolicyDetails?: CustomPolicyDetails;
|
|
1197
1239
|
}
|
|
1198
1240
|
export declare namespace Source {
|
|
1199
1241
|
/**
|
|
@@ -1386,11 +1428,11 @@ export declare enum ConfigRuleComplianceSummaryGroupKey {
|
|
|
1386
1428
|
AWS_REGION = "AWS_REGION"
|
|
1387
1429
|
}
|
|
1388
1430
|
/**
|
|
1389
|
-
* <p>Status information for your Config
|
|
1431
|
+
* <p>Status information for your Config Managed rules and Config Custom Policy rules. The
|
|
1390
1432
|
* status includes information such as the last time the rule ran, the
|
|
1391
1433
|
* last time it failed, and the related error for the last
|
|
1392
1434
|
* failure.</p>
|
|
1393
|
-
* <p>This action does not return status information about
|
|
1435
|
+
* <p>This action does not return status information about Config Custom Lambda rules.</p>
|
|
1394
1436
|
*/
|
|
1395
1437
|
export interface ConfigRuleEvaluationStatus {
|
|
1396
1438
|
/**
|
|
@@ -1455,12 +1497,26 @@ export interface ConfigRuleEvaluationStatus {
|
|
|
1455
1497
|
* </li>
|
|
1456
1498
|
* <li>
|
|
1457
1499
|
* <p>
|
|
1458
|
-
* <code>false</code> - Config has not
|
|
1459
|
-
*
|
|
1500
|
+
* <code>false</code> - Config has not finished evaluating your Amazon Web Services resources against the
|
|
1501
|
+
* rule
|
|
1502
|
+
* at least once.</p>
|
|
1460
1503
|
* </li>
|
|
1461
1504
|
* </ul>
|
|
1462
1505
|
*/
|
|
1463
1506
|
FirstEvaluationStarted?: boolean;
|
|
1507
|
+
/**
|
|
1508
|
+
* <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>
|
|
1509
|
+
*/
|
|
1510
|
+
LastDebugLogDeliveryStatus?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>The reason Config was not able to deliver a debug log. This is for the last
|
|
1513
|
+
* failed attempt to retrieve a debug log for your Config Custom Policy rules.</p>
|
|
1514
|
+
*/
|
|
1515
|
+
LastDebugLogDeliveryStatusReason?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The time Config last attempted to deliver a debug log for your Config Custom Policy rules.</p>
|
|
1518
|
+
*/
|
|
1519
|
+
LastDebugLogDeliveryTime?: Date;
|
|
1464
1520
|
}
|
|
1465
1521
|
export declare namespace ConfigRuleEvaluationStatus {
|
|
1466
1522
|
/**
|
|
@@ -2139,7 +2195,7 @@ export declare namespace ConformancePackEvaluationResult {
|
|
|
2139
2195
|
*/
|
|
2140
2196
|
export interface ConformancePackRuleCompliance {
|
|
2141
2197
|
/**
|
|
2142
|
-
* <p>Name of the
|
|
2198
|
+
* <p>Name of the Config rule.</p>
|
|
2143
2199
|
*/
|
|
2144
2200
|
ConfigRuleName?: string;
|
|
2145
2201
|
/**
|
|
@@ -2284,8 +2340,7 @@ export declare namespace DeleteConfigRuleRequest {
|
|
|
2284
2340
|
const filterSensitiveLog: (obj: DeleteConfigRuleRequest) => any;
|
|
2285
2341
|
}
|
|
2286
2342
|
/**
|
|
2287
|
-
* <p>
|
|
2288
|
-
* that the rule names are correct and try again.</p>
|
|
2343
|
+
* <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
2344
|
*/
|
|
2290
2345
|
export declare class NoSuchConfigRuleException extends __BaseException {
|
|
2291
2346
|
readonly name: "NoSuchConfigRuleException";
|
|
@@ -2308,10 +2363,10 @@ export declare class NoSuchConfigRuleException extends __BaseException {
|
|
|
2308
2363
|
* <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
2364
|
* </li>
|
|
2310
2365
|
* <li>
|
|
2311
|
-
* <p>For PutConfigOrganizationRule, organization
|
|
2366
|
+
* <p>For PutConfigOrganizationRule, organization Config rule deletion is in progress. Try your request again later.</p>
|
|
2312
2367
|
* </li>
|
|
2313
2368
|
* <li>
|
|
2314
|
-
* <p>For DeleteOrganizationConfigRule, organization
|
|
2369
|
+
* <p>For DeleteOrganizationConfigRule, organization Config rule creation is in progress. Try your request again later.</p>
|
|
2315
2370
|
* </li>
|
|
2316
2371
|
* <li>
|
|
2317
2372
|
* <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.</p>
|
|
@@ -2465,7 +2520,7 @@ export declare namespace DeleteEvaluationResultsResponse {
|
|
|
2465
2520
|
}
|
|
2466
2521
|
export interface DeleteOrganizationConfigRuleRequest {
|
|
2467
2522
|
/**
|
|
2468
|
-
* <p>The name of organization
|
|
2523
|
+
* <p>The name of organization Config rule that you want to delete.</p>
|
|
2469
2524
|
*/
|
|
2470
2525
|
OrganizationConfigRuleName: string | undefined;
|
|
2471
2526
|
}
|
|
@@ -2476,7 +2531,7 @@ export declare namespace DeleteOrganizationConfigRuleRequest {
|
|
|
2476
2531
|
const filterSensitiveLog: (obj: DeleteOrganizationConfigRuleRequest) => any;
|
|
2477
2532
|
}
|
|
2478
2533
|
/**
|
|
2479
|
-
* <p>
|
|
2534
|
+
* <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
2535
|
*/
|
|
2481
2536
|
export declare class NoSuchOrganizationConfigRuleException extends __BaseException {
|
|
2482
2537
|
readonly name: "NoSuchOrganizationConfigRuleException";
|
|
@@ -2590,7 +2645,7 @@ export declare namespace DeleteRemediationConfigurationResponse {
|
|
|
2590
2645
|
* <p>For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.</p>
|
|
2591
2646
|
* </li>
|
|
2592
2647
|
* <li>
|
|
2593
|
-
* <p>For PutOrganizationConfigRule, organization
|
|
2648
|
+
* <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
2649
|
* </li>
|
|
2595
2650
|
* <li>
|
|
2596
2651
|
* <p>For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have permissions: </p>
|
|
@@ -3628,11 +3683,11 @@ export declare namespace DescribeDeliveryChannelStatusResponse {
|
|
|
3628
3683
|
}
|
|
3629
3684
|
export interface DescribeOrganizationConfigRulesRequest {
|
|
3630
3685
|
/**
|
|
3631
|
-
* <p>The names of organization
|
|
3686
|
+
* <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
3687
|
*/
|
|
3633
3688
|
OrganizationConfigRuleNames?: string[];
|
|
3634
3689
|
/**
|
|
3635
|
-
* <p>The maximum number of organization
|
|
3690
|
+
* <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
3691
|
*/
|
|
3637
3692
|
Limit?: number;
|
|
3638
3693
|
/**
|
|
@@ -3646,6 +3701,81 @@ export declare namespace DescribeOrganizationConfigRulesRequest {
|
|
|
3646
3701
|
*/
|
|
3647
3702
|
const filterSensitiveLog: (obj: DescribeOrganizationConfigRulesRequest) => any;
|
|
3648
3703
|
}
|
|
3704
|
+
export declare enum OrganizationConfigRuleTriggerTypeNoSN {
|
|
3705
|
+
CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
|
|
3706
|
+
OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification"
|
|
3707
|
+
}
|
|
3708
|
+
/**
|
|
3709
|
+
* <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
|
|
3710
|
+
* other custom rule metadata such as resource type, resource ID of Amazon Web Services
|
|
3711
|
+
* resource, and organization trigger types that trigger Config to evaluate
|
|
3712
|
+
* Amazon Web Services resources against a rule.</p>
|
|
3713
|
+
*/
|
|
3714
|
+
export interface OrganizationCustomPolicyRuleMetadataNoPolicy {
|
|
3715
|
+
/**
|
|
3716
|
+
* <p>The description that you provide for your organization Config Custom Policy rule.</p>
|
|
3717
|
+
*/
|
|
3718
|
+
Description?: string;
|
|
3719
|
+
/**
|
|
3720
|
+
* <p>The type of notification that triggers Config to run an evaluation for a rule.
|
|
3721
|
+
* For Config Custom Policy rules, Config supports change
|
|
3722
|
+
* triggered notification types:</p>
|
|
3723
|
+
*
|
|
3724
|
+
* <ul>
|
|
3725
|
+
* <li>
|
|
3726
|
+
* <p>
|
|
3727
|
+
* <code>ConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers a configuration item as a result of a resource change.</p>
|
|
3728
|
+
* </li>
|
|
3729
|
+
* <li>
|
|
3730
|
+
* <p>
|
|
3731
|
+
* <code>OversizedConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers an oversized configuration item.
|
|
3732
|
+
* Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.</p>
|
|
3733
|
+
* </li>
|
|
3734
|
+
* </ul>
|
|
3735
|
+
*/
|
|
3736
|
+
OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
|
|
3737
|
+
/**
|
|
3738
|
+
* <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
|
|
3739
|
+
*/
|
|
3740
|
+
InputParameters?: string;
|
|
3741
|
+
/**
|
|
3742
|
+
* <p>The maximum frequency with which Config runs evaluations for a rule. Your
|
|
3743
|
+
* Config Custom Policy rule is triggered when Config delivers
|
|
3744
|
+
* the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
|
|
3745
|
+
*/
|
|
3746
|
+
MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
|
|
3747
|
+
/**
|
|
3748
|
+
* <p>The type of the Amazon Web Services resource that was evaluated.</p>
|
|
3749
|
+
*/
|
|
3750
|
+
ResourceTypesScope?: string[];
|
|
3751
|
+
/**
|
|
3752
|
+
* <p>The ID of the Amazon Web Services resource that was evaluated.</p>
|
|
3753
|
+
*/
|
|
3754
|
+
ResourceIdScope?: string;
|
|
3755
|
+
/**
|
|
3756
|
+
* <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>
|
|
3757
|
+
*/
|
|
3758
|
+
TagKeyScope?: string;
|
|
3759
|
+
/**
|
|
3760
|
+
* <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>
|
|
3761
|
+
*/
|
|
3762
|
+
TagValueScope?: string;
|
|
3763
|
+
/**
|
|
3764
|
+
* <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
|
|
3765
|
+
* Repository</a>.</p>
|
|
3766
|
+
*/
|
|
3767
|
+
PolicyRuntime?: string;
|
|
3768
|
+
/**
|
|
3769
|
+
* <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>
|
|
3770
|
+
*/
|
|
3771
|
+
DebugLogDeliveryAccounts?: string[];
|
|
3772
|
+
}
|
|
3773
|
+
export declare namespace OrganizationCustomPolicyRuleMetadataNoPolicy {
|
|
3774
|
+
/**
|
|
3775
|
+
* @internal
|
|
3776
|
+
*/
|
|
3777
|
+
const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadataNoPolicy) => any;
|
|
3778
|
+
}
|
|
3649
3779
|
export declare enum OrganizationConfigRuleTriggerType {
|
|
3650
3780
|
CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
|
|
3651
3781
|
OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification",
|
|
@@ -3658,7 +3788,7 @@ export declare enum OrganizationConfigRuleTriggerType {
|
|
|
3658
3788
|
*/
|
|
3659
3789
|
export interface OrganizationCustomRuleMetadata {
|
|
3660
3790
|
/**
|
|
3661
|
-
* <p>The description that you provide for organization
|
|
3791
|
+
* <p>The description that you provide for your organization Config rule.</p>
|
|
3662
3792
|
*/
|
|
3663
3793
|
Description?: string;
|
|
3664
3794
|
/**
|
|
@@ -3686,7 +3816,7 @@ export interface OrganizationCustomRuleMetadata {
|
|
|
3686
3816
|
*/
|
|
3687
3817
|
OrganizationConfigRuleTriggerTypes: (OrganizationConfigRuleTriggerType | string)[] | undefined;
|
|
3688
3818
|
/**
|
|
3689
|
-
* <p>A string, in JSON format, that is passed to organization
|
|
3819
|
+
* <p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>
|
|
3690
3820
|
*/
|
|
3691
3821
|
InputParameters?: string;
|
|
3692
3822
|
/**
|
|
@@ -3729,7 +3859,7 @@ export declare namespace OrganizationCustomRuleMetadata {
|
|
|
3729
3859
|
*/
|
|
3730
3860
|
export interface OrganizationManagedRuleMetadata {
|
|
3731
3861
|
/**
|
|
3732
|
-
* <p>The description that you provide for organization
|
|
3862
|
+
* <p>The description that you provide for your organization Config rule.</p>
|
|
3733
3863
|
*/
|
|
3734
3864
|
Description?: string;
|
|
3735
3865
|
/**
|
|
@@ -3739,7 +3869,7 @@ export interface OrganizationManagedRuleMetadata {
|
|
|
3739
3869
|
*/
|
|
3740
3870
|
RuleIdentifier: string | undefined;
|
|
3741
3871
|
/**
|
|
3742
|
-
* <p>A string, in JSON format, that is passed to organization
|
|
3872
|
+
* <p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>
|
|
3743
3873
|
*/
|
|
3744
3874
|
InputParameters?: string;
|
|
3745
3875
|
/**
|
|
@@ -3776,15 +3906,15 @@ export declare namespace OrganizationManagedRuleMetadata {
|
|
|
3776
3906
|
const filterSensitiveLog: (obj: OrganizationManagedRuleMetadata) => any;
|
|
3777
3907
|
}
|
|
3778
3908
|
/**
|
|
3779
|
-
* <p>An organization
|
|
3909
|
+
* <p>An organization Config rule that has information about Config rules that Config creates in member accounts.</p>
|
|
3780
3910
|
*/
|
|
3781
3911
|
export interface OrganizationConfigRule {
|
|
3782
3912
|
/**
|
|
3783
|
-
* <p>The name that you assign to organization
|
|
3913
|
+
* <p>The name that you assign to organization Config rule.</p>
|
|
3784
3914
|
*/
|
|
3785
3915
|
OrganizationConfigRuleName: string | undefined;
|
|
3786
3916
|
/**
|
|
3787
|
-
* <p>Amazon Resource Name (ARN) of organization
|
|
3917
|
+
* <p>Amazon Resource Name (ARN) of organization Config rule.</p>
|
|
3788
3918
|
*/
|
|
3789
3919
|
OrganizationConfigRuleArn: string | undefined;
|
|
3790
3920
|
/**
|
|
@@ -3796,13 +3926,20 @@ export interface OrganizationConfigRule {
|
|
|
3796
3926
|
*/
|
|
3797
3927
|
OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
|
|
3798
3928
|
/**
|
|
3799
|
-
* <p>A comma-separated list of accounts excluded from organization
|
|
3929
|
+
* <p>A comma-separated list of accounts excluded from organization Config rule.</p>
|
|
3800
3930
|
*/
|
|
3801
3931
|
ExcludedAccounts?: string[];
|
|
3802
3932
|
/**
|
|
3803
3933
|
* <p>The timestamp of the last update.</p>
|
|
3804
3934
|
*/
|
|
3805
3935
|
LastUpdateTime?: Date;
|
|
3936
|
+
/**
|
|
3937
|
+
* <p>An
|
|
3938
|
+
* object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
|
|
3939
|
+
* debug logging enabled, and other custom rule metadata, such as resource type, resource
|
|
3940
|
+
* ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
|
|
3941
|
+
*/
|
|
3942
|
+
OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadataNoPolicy;
|
|
3806
3943
|
}
|
|
3807
3944
|
export declare namespace OrganizationConfigRule {
|
|
3808
3945
|
/**
|
|
@@ -3828,7 +3965,7 @@ export declare namespace DescribeOrganizationConfigRulesResponse {
|
|
|
3828
3965
|
}
|
|
3829
3966
|
export interface DescribeOrganizationConfigRuleStatusesRequest {
|
|
3830
3967
|
/**
|
|
3831
|
-
* <p>The names of organization
|
|
3968
|
+
* <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
3969
|
*/
|
|
3833
3970
|
OrganizationConfigRuleNames?: string[];
|
|
3834
3971
|
/**
|
|
@@ -3858,65 +3995,65 @@ export declare enum OrganizationRuleStatus {
|
|
|
3858
3995
|
UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL"
|
|
3859
3996
|
}
|
|
3860
3997
|
/**
|
|
3861
|
-
* <p>Returns the status for an organization
|
|
3998
|
+
* <p>Returns the status for an organization Config rule in an organization.</p>
|
|
3862
3999
|
*/
|
|
3863
4000
|
export interface OrganizationConfigRuleStatus {
|
|
3864
4001
|
/**
|
|
3865
|
-
* <p>The name that you assign to organization
|
|
4002
|
+
* <p>The name that you assign to organization Config rule.</p>
|
|
3866
4003
|
*/
|
|
3867
4004
|
OrganizationConfigRuleName: string | undefined;
|
|
3868
4005
|
/**
|
|
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,
|
|
4006
|
+
* <p>Indicates deployment status of an organization Config rule.
|
|
4007
|
+
* When master account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts.
|
|
4008
|
+
* 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
4009
|
* 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
4010
|
* <p>Config sets the state of the rule to:</p>
|
|
3874
4011
|
* <ul>
|
|
3875
4012
|
* <li>
|
|
3876
4013
|
* <p>
|
|
3877
|
-
* <code>CREATE_SUCCESSFUL</code> when an organization
|
|
4014
|
+
* <code>CREATE_SUCCESSFUL</code> when an organization Config rule has been successfully created in all the member accounts. </p>
|
|
3878
4015
|
* </li>
|
|
3879
4016
|
* <li>
|
|
3880
4017
|
* <p>
|
|
3881
|
-
* <code>CREATE_IN_PROGRESS</code> when an organization
|
|
4018
|
+
* <code>CREATE_IN_PROGRESS</code> when an organization Config rule creation is in progress.</p>
|
|
3882
4019
|
* </li>
|
|
3883
4020
|
* <li>
|
|
3884
4021
|
* <p>
|
|
3885
|
-
* <code>CREATE_FAILED</code> when an organization
|
|
4022
|
+
* <code>CREATE_FAILED</code> when an organization Config rule creation failed in one or more member accounts within that organization.</p>
|
|
3886
4023
|
* </li>
|
|
3887
4024
|
* <li>
|
|
3888
4025
|
* <p>
|
|
3889
|
-
* <code>DELETE_FAILED</code> when an organization
|
|
4026
|
+
* <code>DELETE_FAILED</code> when an organization Config rule deletion failed in one or more member accounts within that organization.</p>
|
|
3890
4027
|
* </li>
|
|
3891
4028
|
* <li>
|
|
3892
4029
|
* <p>
|
|
3893
|
-
* <code>DELETE_IN_PROGRESS</code> when an organization
|
|
4030
|
+
* <code>DELETE_IN_PROGRESS</code> when an organization Config rule deletion is in progress.</p>
|
|
3894
4031
|
* </li>
|
|
3895
4032
|
* <li>
|
|
3896
4033
|
* <p>
|
|
3897
|
-
* <code>DELETE_SUCCESSFUL</code> when an organization
|
|
4034
|
+
* <code>DELETE_SUCCESSFUL</code> when an organization Config rule has been successfully deleted from all the member accounts.</p>
|
|
3898
4035
|
* </li>
|
|
3899
4036
|
* <li>
|
|
3900
4037
|
* <p>
|
|
3901
|
-
* <code>UPDATE_SUCCESSFUL</code> when an organization
|
|
4038
|
+
* <code>UPDATE_SUCCESSFUL</code> when an organization Config rule has been successfully updated in all the member accounts.</p>
|
|
3902
4039
|
* </li>
|
|
3903
4040
|
* <li>
|
|
3904
4041
|
* <p>
|
|
3905
|
-
* <code>UPDATE_IN_PROGRESS</code> when an organization
|
|
4042
|
+
* <code>UPDATE_IN_PROGRESS</code> when an organization Config rule update is in progress.</p>
|
|
3906
4043
|
* </li>
|
|
3907
4044
|
* <li>
|
|
3908
4045
|
* <p>
|
|
3909
|
-
* <code>UPDATE_FAILED</code> when an organization
|
|
4046
|
+
* <code>UPDATE_FAILED</code> when an organization Config rule update failed in one or more member accounts within that organization.</p>
|
|
3910
4047
|
* </li>
|
|
3911
4048
|
* </ul>
|
|
3912
4049
|
*/
|
|
3913
4050
|
OrganizationRuleStatus: OrganizationRuleStatus | string | undefined;
|
|
3914
4051
|
/**
|
|
3915
|
-
* <p>An error code that is returned when organization
|
|
4052
|
+
* <p>An error code that is returned when organization Config rule creation or deletion has failed.</p>
|
|
3916
4053
|
*/
|
|
3917
4054
|
ErrorCode?: string;
|
|
3918
4055
|
/**
|
|
3919
|
-
* <p>An error message indicating that organization
|
|
4056
|
+
* <p>An error message indicating that organization Config rule creation or deletion failed due to an error.</p>
|
|
3920
4057
|
*/
|
|
3921
4058
|
ErrorMessage?: string;
|
|
3922
4059
|
/**
|
|
@@ -5391,6 +5528,30 @@ export declare namespace GetConformancePackComplianceSummaryResponse {
|
|
|
5391
5528
|
*/
|
|
5392
5529
|
const filterSensitiveLog: (obj: GetConformancePackComplianceSummaryResponse) => any;
|
|
5393
5530
|
}
|
|
5531
|
+
export interface GetCustomRulePolicyRequest {
|
|
5532
|
+
/**
|
|
5533
|
+
* <p>The name of your Config Custom Policy rule.</p>
|
|
5534
|
+
*/
|
|
5535
|
+
ConfigRuleName?: string;
|
|
5536
|
+
}
|
|
5537
|
+
export declare namespace GetCustomRulePolicyRequest {
|
|
5538
|
+
/**
|
|
5539
|
+
* @internal
|
|
5540
|
+
*/
|
|
5541
|
+
const filterSensitiveLog: (obj: GetCustomRulePolicyRequest) => any;
|
|
5542
|
+
}
|
|
5543
|
+
export interface GetCustomRulePolicyResponse {
|
|
5544
|
+
/**
|
|
5545
|
+
* <p>The policy definition containing the logic for your Config Custom Policy rule.</p>
|
|
5546
|
+
*/
|
|
5547
|
+
PolicyText?: string;
|
|
5548
|
+
}
|
|
5549
|
+
export declare namespace GetCustomRulePolicyResponse {
|
|
5550
|
+
/**
|
|
5551
|
+
* @internal
|
|
5552
|
+
*/
|
|
5553
|
+
const filterSensitiveLog: (obj: GetCustomRulePolicyResponse) => any;
|
|
5554
|
+
}
|
|
5394
5555
|
export interface GetDiscoveredResourceCountsRequest {
|
|
5395
5556
|
/**
|
|
5396
5557
|
* <p>The comma-separated list that specifies the resource types that
|
|
@@ -5511,7 +5672,7 @@ export declare enum MemberAccountRuleStatus {
|
|
|
5511
5672
|
UPDATE_SUCCESSFUL = "UPDATE_SUCCESSFUL"
|
|
5512
5673
|
}
|
|
5513
5674
|
/**
|
|
5514
|
-
* <p>Status filter object to filter results based on specific member account ID or status type for an organization
|
|
5675
|
+
* <p>Status filter object to filter results based on specific member account ID or status type for an organization Config rule. </p>
|
|
5515
5676
|
*/
|
|
5516
5677
|
export interface StatusDetailFilters {
|
|
5517
5678
|
/**
|
|
@@ -5519,48 +5680,48 @@ export interface StatusDetailFilters {
|
|
|
5519
5680
|
*/
|
|
5520
5681
|
AccountId?: string;
|
|
5521
5682
|
/**
|
|
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,
|
|
5683
|
+
* <p>Indicates deployment status for Config rule in the member account.
|
|
5684
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the first time, Config rule status is created in the member account.
|
|
5685
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the second time, Config rule status is updated in the member account.
|
|
5525
5686
|
* 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
5687
|
* </p>
|
|
5527
5688
|
* <p>Config sets the state of the rule to:</p>
|
|
5528
5689
|
* <ul>
|
|
5529
5690
|
* <li>
|
|
5530
5691
|
* <p>
|
|
5531
|
-
* <code>CREATE_SUCCESSFUL</code> when
|
|
5692
|
+
* <code>CREATE_SUCCESSFUL</code> when Config rule has been created in the member account.</p>
|
|
5532
5693
|
* </li>
|
|
5533
5694
|
* <li>
|
|
5534
5695
|
* <p>
|
|
5535
|
-
* <code>CREATE_IN_PROGRESS</code> when
|
|
5696
|
+
* <code>CREATE_IN_PROGRESS</code> when Config rule is being created in the member account.</p>
|
|
5536
5697
|
* </li>
|
|
5537
5698
|
* <li>
|
|
5538
5699
|
* <p>
|
|
5539
|
-
* <code>CREATE_FAILED</code> when
|
|
5700
|
+
* <code>CREATE_FAILED</code> when Config rule creation has failed in the member account.</p>
|
|
5540
5701
|
* </li>
|
|
5541
5702
|
* <li>
|
|
5542
5703
|
* <p>
|
|
5543
|
-
* <code>DELETE_FAILED</code> when
|
|
5704
|
+
* <code>DELETE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5544
5705
|
* </li>
|
|
5545
5706
|
* <li>
|
|
5546
5707
|
* <p>
|
|
5547
|
-
* <code>DELETE_IN_PROGRESS</code> when
|
|
5708
|
+
* <code>DELETE_IN_PROGRESS</code> when Config rule is being deleted in the member account.</p>
|
|
5548
5709
|
* </li>
|
|
5549
5710
|
* <li>
|
|
5550
5711
|
* <p>
|
|
5551
|
-
* <code>DELETE_SUCCESSFUL</code> when
|
|
5712
|
+
* <code>DELETE_SUCCESSFUL</code> when Config rule has been deleted in the member account.</p>
|
|
5552
5713
|
* </li>
|
|
5553
5714
|
* <li>
|
|
5554
5715
|
* <p>
|
|
5555
|
-
* <code>UPDATE_SUCCESSFUL</code> when
|
|
5716
|
+
* <code>UPDATE_SUCCESSFUL</code> when Config rule has been updated in the member account.</p>
|
|
5556
5717
|
* </li>
|
|
5557
5718
|
* <li>
|
|
5558
5719
|
* <p>
|
|
5559
|
-
* <code>UPDATE_IN_PROGRESS</code> when
|
|
5720
|
+
* <code>UPDATE_IN_PROGRESS</code> when Config rule is being updated in the member account.</p>
|
|
5560
5721
|
* </li>
|
|
5561
5722
|
* <li>
|
|
5562
5723
|
* <p>
|
|
5563
|
-
* <code>UPDATE_FAILED</code> when
|
|
5724
|
+
* <code>UPDATE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5564
5725
|
* </li>
|
|
5565
5726
|
* </ul>
|
|
5566
5727
|
*/
|
|
@@ -5574,7 +5735,7 @@ export declare namespace StatusDetailFilters {
|
|
|
5574
5735
|
}
|
|
5575
5736
|
export interface GetOrganizationConfigRuleDetailedStatusRequest {
|
|
5576
5737
|
/**
|
|
5577
|
-
* <p>The name of organization
|
|
5738
|
+
* <p>The name of your organization Config rule for which you want status details for member accounts.</p>
|
|
5578
5739
|
*/
|
|
5579
5740
|
OrganizationConfigRuleName: string | undefined;
|
|
5580
5741
|
/**
|
|
@@ -5597,7 +5758,7 @@ export declare namespace GetOrganizationConfigRuleDetailedStatusRequest {
|
|
|
5597
5758
|
const filterSensitiveLog: (obj: GetOrganizationConfigRuleDetailedStatusRequest) => any;
|
|
5598
5759
|
}
|
|
5599
5760
|
/**
|
|
5600
|
-
* <p>Organization
|
|
5761
|
+
* <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
5762
|
*/
|
|
5602
5763
|
export interface MemberAccountStatus {
|
|
5603
5764
|
/**
|
|
@@ -5605,62 +5766,62 @@ export interface MemberAccountStatus {
|
|
|
5605
5766
|
*/
|
|
5606
5767
|
AccountId: string | undefined;
|
|
5607
5768
|
/**
|
|
5608
|
-
* <p>The name of
|
|
5769
|
+
* <p>The name of Config rule deployed in the member account.</p>
|
|
5609
5770
|
*/
|
|
5610
5771
|
ConfigRuleName: string | undefined;
|
|
5611
5772
|
/**
|
|
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,
|
|
5773
|
+
* <p>Indicates deployment status for Config rule in the member account.
|
|
5774
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the first time, Config rule status is created in the member account.
|
|
5775
|
+
* When master account calls <code>PutOrganizationConfigRule</code> action for the second time, Config rule status is updated in the member account.
|
|
5615
5776
|
* 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
5777
|
* </p>
|
|
5617
5778
|
* <p> Config sets the state of the rule to:</p>
|
|
5618
5779
|
* <ul>
|
|
5619
5780
|
* <li>
|
|
5620
5781
|
* <p>
|
|
5621
|
-
* <code>CREATE_SUCCESSFUL</code> when
|
|
5782
|
+
* <code>CREATE_SUCCESSFUL</code> when Config rule has been created in the member account. </p>
|
|
5622
5783
|
* </li>
|
|
5623
5784
|
* <li>
|
|
5624
5785
|
* <p>
|
|
5625
|
-
* <code>CREATE_IN_PROGRESS</code> when
|
|
5786
|
+
* <code>CREATE_IN_PROGRESS</code> when Config rule is being created in the member account.</p>
|
|
5626
5787
|
* </li>
|
|
5627
5788
|
* <li>
|
|
5628
5789
|
* <p>
|
|
5629
|
-
* <code>CREATE_FAILED</code> when
|
|
5790
|
+
* <code>CREATE_FAILED</code> when Config rule creation has failed in the member account.</p>
|
|
5630
5791
|
* </li>
|
|
5631
5792
|
* <li>
|
|
5632
5793
|
* <p>
|
|
5633
|
-
* <code>DELETE_FAILED</code> when
|
|
5794
|
+
* <code>DELETE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5634
5795
|
* </li>
|
|
5635
5796
|
* <li>
|
|
5636
5797
|
* <p>
|
|
5637
|
-
* <code>DELETE_IN_PROGRESS</code> when
|
|
5798
|
+
* <code>DELETE_IN_PROGRESS</code> when Config rule is being deleted in the member account.</p>
|
|
5638
5799
|
* </li>
|
|
5639
5800
|
* <li>
|
|
5640
5801
|
* <p>
|
|
5641
|
-
* <code>DELETE_SUCCESSFUL</code> when
|
|
5802
|
+
* <code>DELETE_SUCCESSFUL</code> when Config rule has been deleted in the member account. </p>
|
|
5642
5803
|
* </li>
|
|
5643
5804
|
* <li>
|
|
5644
5805
|
* <p>
|
|
5645
|
-
* <code>UPDATE_SUCCESSFUL</code> when
|
|
5806
|
+
* <code>UPDATE_SUCCESSFUL</code> when Config rule has been updated in the member account.</p>
|
|
5646
5807
|
* </li>
|
|
5647
5808
|
* <li>
|
|
5648
5809
|
* <p>
|
|
5649
|
-
* <code>UPDATE_IN_PROGRESS</code> when
|
|
5810
|
+
* <code>UPDATE_IN_PROGRESS</code> when Config rule is being updated in the member account.</p>
|
|
5650
5811
|
* </li>
|
|
5651
5812
|
* <li>
|
|
5652
5813
|
* <p>
|
|
5653
|
-
* <code>UPDATE_FAILED</code> when
|
|
5814
|
+
* <code>UPDATE_FAILED</code> when Config rule deletion has failed in the member account.</p>
|
|
5654
5815
|
* </li>
|
|
5655
5816
|
* </ul>
|
|
5656
5817
|
*/
|
|
5657
5818
|
MemberAccountRuleStatus: MemberAccountRuleStatus | string | undefined;
|
|
5658
5819
|
/**
|
|
5659
|
-
* <p>An error code that is returned when
|
|
5820
|
+
* <p>An error code that is returned when Config rule creation or deletion failed in the member account.</p>
|
|
5660
5821
|
*/
|
|
5661
5822
|
ErrorCode?: string;
|
|
5662
5823
|
/**
|
|
5663
|
-
* <p>An error message indicating that
|
|
5824
|
+
* <p>An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.</p>
|
|
5664
5825
|
*/
|
|
5665
5826
|
ErrorMessage?: string;
|
|
5666
5827
|
/**
|
|
@@ -5886,6 +6047,30 @@ export declare namespace GetOrganizationConformancePackDetailedStatusResponse {
|
|
|
5886
6047
|
*/
|
|
5887
6048
|
const filterSensitiveLog: (obj: GetOrganizationConformancePackDetailedStatusResponse) => any;
|
|
5888
6049
|
}
|
|
6050
|
+
export interface GetOrganizationCustomRulePolicyRequest {
|
|
6051
|
+
/**
|
|
6052
|
+
* <p>The name of your organization Config Custom Policy rule. </p>
|
|
6053
|
+
*/
|
|
6054
|
+
OrganizationConfigRuleName: string | undefined;
|
|
6055
|
+
}
|
|
6056
|
+
export declare namespace GetOrganizationCustomRulePolicyRequest {
|
|
6057
|
+
/**
|
|
6058
|
+
* @internal
|
|
6059
|
+
*/
|
|
6060
|
+
const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyRequest) => any;
|
|
6061
|
+
}
|
|
6062
|
+
export interface GetOrganizationCustomRulePolicyResponse {
|
|
6063
|
+
/**
|
|
6064
|
+
* <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
6065
|
+
*/
|
|
6066
|
+
PolicyText?: string;
|
|
6067
|
+
}
|
|
6068
|
+
export declare namespace GetOrganizationCustomRulePolicyResponse {
|
|
6069
|
+
/**
|
|
6070
|
+
* @internal
|
|
6071
|
+
*/
|
|
6072
|
+
const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyResponse) => any;
|
|
6073
|
+
}
|
|
5889
6074
|
/**
|
|
5890
6075
|
* <p>The input for the <a>GetResourceConfigHistory</a>
|
|
5891
6076
|
* action.</p>
|
|
@@ -6506,7 +6691,7 @@ export declare class MaxNumberOfDeliveryChannelsExceededException extends __Base
|
|
|
6506
6691
|
constructor(opts: __ExceptionOptionType<MaxNumberOfDeliveryChannelsExceededException, __BaseException>);
|
|
6507
6692
|
}
|
|
6508
6693
|
/**
|
|
6509
|
-
* <p>You have reached the limit of the number of organization
|
|
6694
|
+
* <p>You have reached the limit of the number of organization Config rules you can create.</p>
|
|
6510
6695
|
*/
|
|
6511
6696
|
export declare class MaxNumberOfOrganizationConfigRulesExceededException extends __BaseException {
|
|
6512
6697
|
readonly name: "MaxNumberOfOrganizationConfigRulesExceededException";
|
|
@@ -6594,6 +6779,82 @@ export declare class OrganizationConformancePackTemplateValidationException exte
|
|
|
6594
6779
|
*/
|
|
6595
6780
|
constructor(opts: __ExceptionOptionType<OrganizationConformancePackTemplateValidationException, __BaseException>);
|
|
6596
6781
|
}
|
|
6782
|
+
/**
|
|
6783
|
+
* <p>An
|
|
6784
|
+
* object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have
|
|
6785
|
+
* debug logging enabled, and other custom rule metadata, such as resource type, resource
|
|
6786
|
+
* ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.</p>
|
|
6787
|
+
*/
|
|
6788
|
+
export interface OrganizationCustomPolicyRuleMetadata {
|
|
6789
|
+
/**
|
|
6790
|
+
* <p>The description that you provide for your organization Config Custom Policy rule.</p>
|
|
6791
|
+
*/
|
|
6792
|
+
Description?: string;
|
|
6793
|
+
/**
|
|
6794
|
+
* <p>The type of notification that initiates Config to run an evaluation for a rule.
|
|
6795
|
+
* For Config Custom Policy rules, Config supports change-initiated notification types:</p>
|
|
6796
|
+
*
|
|
6797
|
+
* <ul>
|
|
6798
|
+
* <li>
|
|
6799
|
+
* <p>
|
|
6800
|
+
* <code>ConfigurationItemChangeNotification</code> - Initiates an evaluation when Config delivers a configuration item as a result of a resource
|
|
6801
|
+
* change.</p>
|
|
6802
|
+
* </li>
|
|
6803
|
+
* <li>
|
|
6804
|
+
* <p>
|
|
6805
|
+
* <code>OversizedConfigurationItemChangeNotification</code> - Initiates an evaluation when
|
|
6806
|
+
* Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the
|
|
6807
|
+
* notification exceeds the maximum size allowed by Amazon SNS.</p>
|
|
6808
|
+
* </li>
|
|
6809
|
+
* </ul>
|
|
6810
|
+
*/
|
|
6811
|
+
OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
|
|
6812
|
+
/**
|
|
6813
|
+
* <p>A string, in JSON format, that is passed to your organization Config Custom Policy rule.</p>
|
|
6814
|
+
*/
|
|
6815
|
+
InputParameters?: string;
|
|
6816
|
+
/**
|
|
6817
|
+
* <p>The maximum frequency with which Config runs evaluations for a rule. Your
|
|
6818
|
+
* Config Custom Policy rule is triggered when Config delivers
|
|
6819
|
+
* the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p>
|
|
6820
|
+
*/
|
|
6821
|
+
MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
|
|
6822
|
+
/**
|
|
6823
|
+
* <p>The type of the Amazon Web Services resource that was evaluated.</p>
|
|
6824
|
+
*/
|
|
6825
|
+
ResourceTypesScope?: string[];
|
|
6826
|
+
/**
|
|
6827
|
+
* <p>The ID of the Amazon Web Services resource that was evaluated.</p>
|
|
6828
|
+
*/
|
|
6829
|
+
ResourceIdScope?: string;
|
|
6830
|
+
/**
|
|
6831
|
+
* <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>
|
|
6832
|
+
*/
|
|
6833
|
+
TagKeyScope?: string;
|
|
6834
|
+
/**
|
|
6835
|
+
* <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>
|
|
6836
|
+
*/
|
|
6837
|
+
TagValueScope?: string;
|
|
6838
|
+
/**
|
|
6839
|
+
* <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
|
|
6840
|
+
* Repository</a>.</p>
|
|
6841
|
+
*/
|
|
6842
|
+
PolicyRuntime: string | undefined;
|
|
6843
|
+
/**
|
|
6844
|
+
* <p>The policy definition containing the logic for your organization Config Custom Policy rule.</p>
|
|
6845
|
+
*/
|
|
6846
|
+
PolicyText: string | undefined;
|
|
6847
|
+
/**
|
|
6848
|
+
* <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>
|
|
6849
|
+
*/
|
|
6850
|
+
DebugLogDeliveryAccounts?: string[];
|
|
6851
|
+
}
|
|
6852
|
+
export declare namespace OrganizationCustomPolicyRuleMetadata {
|
|
6853
|
+
/**
|
|
6854
|
+
* @internal
|
|
6855
|
+
*/
|
|
6856
|
+
const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadata) => any;
|
|
6857
|
+
}
|
|
6597
6858
|
export interface PutAggregationAuthorizationRequest {
|
|
6598
6859
|
/**
|
|
6599
6860
|
* <p>The 12-digit account ID of the account authorized to aggregate data.</p>
|
|
@@ -6714,7 +6975,7 @@ export interface PutConformancePackRequest {
|
|
|
6714
6975
|
/**
|
|
6715
6976
|
* <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
6977
|
* <note>
|
|
6717
|
-
* <p>You can only use a YAML template with two resource types:
|
|
6978
|
+
* <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
6979
|
* </note>
|
|
6719
6980
|
*/
|
|
6720
6981
|
TemplateBody?: string;
|
|
@@ -6850,158 +7111,3 @@ export declare namespace PutExternalEvaluationResponse {
|
|
|
6850
7111
|
*/
|
|
6851
7112
|
const filterSensitiveLog: (obj: PutExternalEvaluationResponse) => any;
|
|
6852
7113
|
}
|
|
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
|
-
}
|