@aws-sdk/client-securityhub 3.830.0 → 3.835.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/README.md +208 -0
- package/dist-cjs/index.js +1956 -51
- package/dist-es/SecurityHub.js +52 -0
- package/dist-es/commands/BatchUpdateFindingsV2Command.js +22 -0
- package/dist-es/commands/ConnectorRegistrationsV2Command.js +22 -0
- package/dist-es/commands/CreateAggregatorV2Command.js +22 -0
- package/dist-es/commands/CreateAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/CreateConnectorV2Command.js +23 -0
- package/dist-es/commands/CreateTicketV2Command.js +22 -0
- package/dist-es/commands/DeleteAggregatorV2Command.js +22 -0
- package/dist-es/commands/DeleteAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/DeleteConnectorV2Command.js +22 -0
- package/dist-es/commands/DescribeProductsV2Command.js +22 -0
- package/dist-es/commands/DescribeSecurityHubV2Command.js +22 -0
- package/dist-es/commands/DisableSecurityHubV2Command.js +22 -0
- package/dist-es/commands/EnableSecurityHubV2Command.js +22 -0
- package/dist-es/commands/GetAggregatorV2Command.js +22 -0
- package/dist-es/commands/GetAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/GetConnectorV2Command.js +22 -0
- package/dist-es/commands/GetFindingStatisticsV2Command.js +22 -0
- package/dist-es/commands/GetFindingsV2Command.js +22 -0
- package/dist-es/commands/GetResourcesStatisticsV2Command.js +22 -0
- package/dist-es/commands/GetResourcesV2Command.js +22 -0
- package/dist-es/commands/ListAggregatorsV2Command.js +22 -0
- package/dist-es/commands/ListAutomationRulesV2Command.js +22 -0
- package/dist-es/commands/ListConnectorsV2Command.js +22 -0
- package/dist-es/commands/UpdateAggregatorV2Command.js +22 -0
- package/dist-es/commands/UpdateAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/UpdateConnectorV2Command.js +23 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/models/models_2.js +193 -19
- package/dist-es/models/models_3.js +101 -0
- package/dist-es/pagination/DescribeProductsV2Paginator.js +4 -0
- package/dist-es/pagination/GetFindingsV2Paginator.js +4 -0
- package/dist-es/pagination/GetResourcesV2Paginator.js +4 -0
- package/dist-es/pagination/ListAggregatorsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1071 -32
- package/dist-types/SecurityHub.d.ts +192 -0
- package/dist-types/SecurityHubClient.d.ts +28 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +5 -5
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +5 -5
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +16 -12
- package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +129 -0
- package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +96 -0
- package/dist-types/commands/CreateAggregatorV2Command.d.ts +106 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +5 -5
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +174 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +112 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +5 -5
- package/dist-types/commands/CreateTicketV2Command.d.ts +97 -0
- package/dist-types/commands/DeleteAggregatorV2Command.d.ts +92 -0
- package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +92 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +92 -0
- package/dist-types/commands/DescribeProductsV2Command.d.ts +107 -0
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +87 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +84 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/EnableSecurityHubV2Command.d.ts +90 -0
- package/dist-types/commands/GetAggregatorV2Command.d.ts +99 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +176 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +119 -0
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +8 -2
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +169 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -6
- package/dist-types/commands/GetFindingsV2Command.d.ts +163 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightsCommand.d.ts +6 -6
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +162 -0
- package/dist-types/commands/GetResourcesV2Command.d.ts +190 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +100 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +109 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsV2Command.d.ts +110 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAggregatorV2Command.d.ts +103 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +171 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +99 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -6
- package/dist-types/commands/UpdateInsightCommand.d.ts +6 -6
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +166 -320
- package/dist-types/models/models_1.d.ts +319 -343
- package/dist-types/models/models_2.d.ts +2465 -2269
- package/dist-types/models/models_3.d.ts +2386 -0
- package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetFindingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetResourcesV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +452 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +156 -0
- package/dist-types/ts3.4/commands/BatchUpdateFindingsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTicketV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeProductsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAggregatorV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectorV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -57
- package/dist-types/ts3.4/models/models_1.d.ts +57 -66
- package/dist-types/ts3.4/models/models_2.d.ts +522 -310
- package/dist-types/ts3.4/models/models_3.d.ts +626 -0
- package/dist-types/ts3.4/pagination/DescribeProductsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetFindingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetResourcesV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAggregatorsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
- package/package.json +14 -12
|
@@ -1040,6 +1040,29 @@ export interface AdminAccount {
|
|
|
1040
1040
|
*/
|
|
1041
1041
|
Status?: AdminStatus | undefined;
|
|
1042
1042
|
}
|
|
1043
|
+
/**
|
|
1044
|
+
* <p>Specifies a cross-Region data aggregation configuration, including the aggregation Region and any linked Regions.</p>
|
|
1045
|
+
* @public
|
|
1046
|
+
*/
|
|
1047
|
+
export interface AggregatorV2 {
|
|
1048
|
+
/**
|
|
1049
|
+
* <p>The ARN of the aggregatorV2.</p>
|
|
1050
|
+
* @public
|
|
1051
|
+
*/
|
|
1052
|
+
AggregatorV2Arn?: string | undefined;
|
|
1053
|
+
}
|
|
1054
|
+
/**
|
|
1055
|
+
* @public
|
|
1056
|
+
* @enum
|
|
1057
|
+
*/
|
|
1058
|
+
export declare const AllowedOperators: {
|
|
1059
|
+
readonly AND: "AND";
|
|
1060
|
+
readonly OR: "OR";
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
1065
|
+
export type AllowedOperators = (typeof AllowedOperators)[keyof typeof AllowedOperators];
|
|
1043
1066
|
/**
|
|
1044
1067
|
* <p>
|
|
1045
1068
|
* Information about an enabled security standard in which a security control is enabled.
|
|
@@ -1207,12 +1230,89 @@ export declare const AutoEnableStandards: {
|
|
|
1207
1230
|
* @public
|
|
1208
1231
|
*/
|
|
1209
1232
|
export type AutoEnableStandards = (typeof AutoEnableStandards)[keyof typeof AutoEnableStandards];
|
|
1233
|
+
/**
|
|
1234
|
+
* <p>Defines the settings and parameters required for integrating external security tools and services.</p>
|
|
1235
|
+
* @public
|
|
1236
|
+
*/
|
|
1237
|
+
export interface ExternalIntegrationConfiguration {
|
|
1238
|
+
/**
|
|
1239
|
+
* <p>The ARN of the connector that establishes the integration.</p>
|
|
1240
|
+
* @public
|
|
1241
|
+
*/
|
|
1242
|
+
ConnectorArn?: string | undefined;
|
|
1243
|
+
}
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>Allows you to define the structure for modifying specific fields in security findings.</p>
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
export interface AutomationRulesFindingFieldsUpdateV2 {
|
|
1249
|
+
/**
|
|
1250
|
+
* <p>The severity level to be assigned to findings that match the automation rule criteria.</p>
|
|
1251
|
+
* @public
|
|
1252
|
+
*/
|
|
1253
|
+
SeverityId?: number | undefined;
|
|
1254
|
+
/**
|
|
1255
|
+
* <p>Notes or contextual information for findings that are modified by the automation rule.</p>
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
Comment?: string | undefined;
|
|
1259
|
+
/**
|
|
1260
|
+
* <p>The status to be applied to findings that match automation rule criteria.</p>
|
|
1261
|
+
* @public
|
|
1262
|
+
*/
|
|
1263
|
+
StatusId?: number | undefined;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* @public
|
|
1267
|
+
* @enum
|
|
1268
|
+
*/
|
|
1269
|
+
export declare const AutomationRulesActionTypeV2: {
|
|
1270
|
+
readonly EXTERNAL_INTEGRATION: "EXTERNAL_INTEGRATION";
|
|
1271
|
+
readonly FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE";
|
|
1272
|
+
};
|
|
1273
|
+
/**
|
|
1274
|
+
* @public
|
|
1275
|
+
*/
|
|
1276
|
+
export type AutomationRulesActionTypeV2 = (typeof AutomationRulesActionTypeV2)[keyof typeof AutomationRulesActionTypeV2];
|
|
1277
|
+
/**
|
|
1278
|
+
* <p>Allows you to configure automated responses.</p>
|
|
1279
|
+
* @public
|
|
1280
|
+
*/
|
|
1281
|
+
export interface AutomationRulesActionV2 {
|
|
1282
|
+
/**
|
|
1283
|
+
* <p>The category of action to be executed by the automation rule.</p>
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1286
|
+
Type: AutomationRulesActionTypeV2 | undefined;
|
|
1287
|
+
/**
|
|
1288
|
+
* <p>The changes to be applied to fields in a security finding when an automation rule is triggered.</p>
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
FindingFieldsUpdate?: AutomationRulesFindingFieldsUpdateV2 | undefined;
|
|
1292
|
+
/**
|
|
1293
|
+
* <p>The settings for integrating automation rule actions with external systems or service.</p>
|
|
1294
|
+
* @public
|
|
1295
|
+
*/
|
|
1296
|
+
ExternalIntegrationConfiguration?: ExternalIntegrationConfiguration | undefined;
|
|
1297
|
+
}
|
|
1298
|
+
/**
|
|
1299
|
+
* <p>Allows you to customize security response workflows.</p>
|
|
1300
|
+
* @public
|
|
1301
|
+
*/
|
|
1302
|
+
export interface AutomationRulesActionTypeObjectV2 {
|
|
1303
|
+
/**
|
|
1304
|
+
* <p>The category of action to be executed by the automation rule.</p>
|
|
1305
|
+
* @public
|
|
1306
|
+
*/
|
|
1307
|
+
Type?: AutomationRulesActionTypeV2 | undefined;
|
|
1308
|
+
}
|
|
1210
1309
|
/**
|
|
1211
1310
|
* @public
|
|
1212
1311
|
* @enum
|
|
1213
1312
|
*/
|
|
1214
1313
|
export declare const StringFilterComparison: {
|
|
1215
1314
|
readonly CONTAINS: "CONTAINS";
|
|
1315
|
+
readonly CONTAINS_WORD: "CONTAINS_WORD";
|
|
1216
1316
|
readonly EQUALS: "EQUALS";
|
|
1217
1317
|
readonly NOT_CONTAINS: "NOT_CONTAINS";
|
|
1218
1318
|
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
@@ -1317,8 +1417,9 @@ export interface StringFilter {
|
|
|
1317
1417
|
* </li>
|
|
1318
1418
|
* </ul>
|
|
1319
1419
|
* <p>
|
|
1320
|
-
* <code>CONTAINS</code> and <code>NOT_CONTAINS</code> operators can be used only with automation rules.
|
|
1321
|
-
*
|
|
1420
|
+
* <code>CONTAINS</code> and <code>NOT_CONTAINS</code> operators can be used only with automation rules V1.
|
|
1421
|
+
* <code>CONTAINS_WORD</code> operator is only supported in <code>GetFindingsV2</code>, <code>GetFindingStatisticsV2</code>, <code>GetResourcesV2</code>, and <code>GetResourceStatisticsV2</code> APIs.
|
|
1422
|
+
* For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html">Automation rules</a> in the <i>Security Hub User Guide</i>.</p>
|
|
1322
1423
|
* @public
|
|
1323
1424
|
*/
|
|
1324
1425
|
Comparison?: StringFilterComparison | undefined;
|
|
@@ -2088,6 +2189,69 @@ export interface AutomationRulesMetadata {
|
|
|
2088
2189
|
*/
|
|
2089
2190
|
CreatedBy?: string | undefined;
|
|
2090
2191
|
}
|
|
2192
|
+
/**
|
|
2193
|
+
* @public
|
|
2194
|
+
* @enum
|
|
2195
|
+
*/
|
|
2196
|
+
export declare const RuleStatusV2: {
|
|
2197
|
+
readonly DISABLED: "DISABLED";
|
|
2198
|
+
readonly ENABLED: "ENABLED";
|
|
2199
|
+
};
|
|
2200
|
+
/**
|
|
2201
|
+
* @public
|
|
2202
|
+
*/
|
|
2203
|
+
export type RuleStatusV2 = (typeof RuleStatusV2)[keyof typeof RuleStatusV2];
|
|
2204
|
+
/**
|
|
2205
|
+
* <p>Includes essential metadata information about automation rules.</p>
|
|
2206
|
+
* @public
|
|
2207
|
+
*/
|
|
2208
|
+
export interface AutomationRulesMetadataV2 {
|
|
2209
|
+
/**
|
|
2210
|
+
* <p>The ARN of the automation rule.</p>
|
|
2211
|
+
* @public
|
|
2212
|
+
*/
|
|
2213
|
+
RuleArn?: string | undefined;
|
|
2214
|
+
/**
|
|
2215
|
+
* <p>The ID of the automation rule.</p>
|
|
2216
|
+
* @public
|
|
2217
|
+
*/
|
|
2218
|
+
RuleId?: string | undefined;
|
|
2219
|
+
/**
|
|
2220
|
+
* <p>The value for the rule priority.</p>
|
|
2221
|
+
* @public
|
|
2222
|
+
*/
|
|
2223
|
+
RuleOrder?: number | undefined;
|
|
2224
|
+
/**
|
|
2225
|
+
* <p>The name of the automation rule.</p>
|
|
2226
|
+
* @public
|
|
2227
|
+
*/
|
|
2228
|
+
RuleName?: string | undefined;
|
|
2229
|
+
/**
|
|
2230
|
+
* <p>The status of the automation rule.</p>
|
|
2231
|
+
* @public
|
|
2232
|
+
*/
|
|
2233
|
+
RuleStatus?: RuleStatusV2 | undefined;
|
|
2234
|
+
/**
|
|
2235
|
+
* <p>An explanation for the purpose and funcitonality of the automation rule.</p>
|
|
2236
|
+
* @public
|
|
2237
|
+
*/
|
|
2238
|
+
Description?: string | undefined;
|
|
2239
|
+
/**
|
|
2240
|
+
* <p>The list of action to be performed when the rule criteria is met.</p>
|
|
2241
|
+
* @public
|
|
2242
|
+
*/
|
|
2243
|
+
Actions?: AutomationRulesActionTypeObjectV2[] | undefined;
|
|
2244
|
+
/**
|
|
2245
|
+
* <p>The timestamp for when the automation rule was created.</p>
|
|
2246
|
+
* @public
|
|
2247
|
+
*/
|
|
2248
|
+
CreatedAt?: Date | undefined;
|
|
2249
|
+
/**
|
|
2250
|
+
* <p>The timestamp for the most recent modification to the automation rule.</p>
|
|
2251
|
+
* @public
|
|
2252
|
+
*/
|
|
2253
|
+
UpdatedAt?: Date | undefined;
|
|
2254
|
+
}
|
|
2091
2255
|
/**
|
|
2092
2256
|
* <p>Information about an Availability Zone.</p>
|
|
2093
2257
|
* @public
|
|
@@ -10869,321 +11033,3 @@ export interface AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDe
|
|
|
10869
11033
|
*/
|
|
10870
11034
|
Type?: string | undefined;
|
|
10871
11035
|
}
|
|
10872
|
-
/**
|
|
10873
|
-
* <p>The container health check command and associated configuration parameters for the container.</p>
|
|
10874
|
-
* @public
|
|
10875
|
-
*/
|
|
10876
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails {
|
|
10877
|
-
/**
|
|
10878
|
-
* <p>The command that the container runs to determine whether it is healthy.</p>
|
|
10879
|
-
* @public
|
|
10880
|
-
*/
|
|
10881
|
-
Command?: string[] | undefined;
|
|
10882
|
-
/**
|
|
10883
|
-
* <p>The time period in seconds between each health check execution. The default value is 30 seconds.</p>
|
|
10884
|
-
* @public
|
|
10885
|
-
*/
|
|
10886
|
-
Interval?: number | undefined;
|
|
10887
|
-
/**
|
|
10888
|
-
* <p>The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.</p>
|
|
10889
|
-
* @public
|
|
10890
|
-
*/
|
|
10891
|
-
Retries?: number | undefined;
|
|
10892
|
-
/**
|
|
10893
|
-
* <p>The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.</p>
|
|
10894
|
-
* @public
|
|
10895
|
-
*/
|
|
10896
|
-
StartPeriod?: number | undefined;
|
|
10897
|
-
/**
|
|
10898
|
-
* <p>The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.</p>
|
|
10899
|
-
* @public
|
|
10900
|
-
*/
|
|
10901
|
-
Timeout?: number | undefined;
|
|
10902
|
-
}
|
|
10903
|
-
/**
|
|
10904
|
-
* <p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.</p>
|
|
10905
|
-
* @public
|
|
10906
|
-
*/
|
|
10907
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails {
|
|
10908
|
-
/**
|
|
10909
|
-
* <p>The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid values are as follows:</p>
|
|
10910
|
-
* <p>Valid values: <code>"ALL"</code> | <code>"AUDIT_CONTROL"</code> |<code> "AUDIT_WRITE"</code> |
|
|
10911
|
-
* <code>"BLOCK_SUSPEND"</code> | <code>"CHOWN"</code> | <code>"DAC_OVERRIDE"</code> |
|
|
10912
|
-
* <code>"DAC_READ_SEARCH"</code> | <code>"FOWNER"</code> | <code>"FSETID"</code> |
|
|
10913
|
-
* <code>"IPC_LOCK"</code> | <code>"IPC_OWNER"</code> | <code>"KILL"</code> |
|
|
10914
|
-
* <code>"LEASE"</code> | <code>"LINUX_IMMUTABLE"</code> | <code>"MAC_ADMIN"</code> |<code>
|
|
10915
|
-
* "MAC_OVERRIDE"</code> | <code>"MKNOD"</code> | <code>"NET_ADMIN"</code> |
|
|
10916
|
-
* <code>"NET_BIND_SERVICE"</code> | <code>"NET_BROADCAST"</code> | <code>"NET_RAW"</code> |
|
|
10917
|
-
* <code>"SETFCAP"</code> | <code>"SETGID"</code> | <code>"SETPCAP"</code> |
|
|
10918
|
-
* <code>"SETUID"</code> | <code>"SYS_ADMIN"</code> | <code>"SYS_BOOT"</code> |
|
|
10919
|
-
* <code>"SYS_CHROOT"</code> | <code>"SYS_MODULE"</code> | <code>"SYS_NICE"</code> |
|
|
10920
|
-
* <code>"SYS_PACCT"</code> | <code>"SYS_PTRACE"</code> | <code>"SYS_RAWIO"</code> |
|
|
10921
|
-
* <code>"SYS_RESOURCE"</code> | <code>"SYS_TIME"</code> | <code>"SYS_TTY_CONFIG"</code> |
|
|
10922
|
-
* <code>"SYSLOG"</code> | <code>"WAKE_ALARM"</code>
|
|
10923
|
-
* </p>
|
|
10924
|
-
* @public
|
|
10925
|
-
*/
|
|
10926
|
-
Add?: string[] | undefined;
|
|
10927
|
-
/**
|
|
10928
|
-
* <p>The Linux capabilities for the container that are dropped from the default configuration provided by Docker.</p>
|
|
10929
|
-
* <p>Valid values: <code>"ALL"</code> | <code>"AUDIT_CONTROL"</code> |<code> "AUDIT_WRITE"</code> |
|
|
10930
|
-
* <code>"BLOCK_SUSPEND"</code> | <code>"CHOWN"</code> | <code>"DAC_OVERRIDE"</code> |
|
|
10931
|
-
* <code>"DAC_READ_SEARCH"</code> | <code>"FOWNER"</code> | <code>"FSETID"</code> |
|
|
10932
|
-
* <code>"IPC_LOCK"</code> | <code>"IPC_OWNER"</code> | <code>"KILL"</code> |
|
|
10933
|
-
* <code>"LEASE"</code> | <code>"LINUX_IMMUTABLE"</code> | <code>"MAC_ADMIN"</code> |<code>
|
|
10934
|
-
* "MAC_OVERRIDE"</code> | <code>"MKNOD"</code> | <code>"NET_ADMIN"</code> |
|
|
10935
|
-
* <code>"NET_BIND_SERVICE"</code> | <code>"NET_BROADCAST"</code> | <code>"NET_RAW"</code> |
|
|
10936
|
-
* <code>"SETFCAP"</code> | <code>"SETGID"</code> | <code>"SETPCAP"</code> |
|
|
10937
|
-
* <code>"SETUID"</code> | <code>"SYS_ADMIN"</code> | <code>"SYS_BOOT"</code> |
|
|
10938
|
-
* <code>"SYS_CHROOT"</code> | <code>"SYS_MODULE"</code> | <code>"SYS_NICE"</code> |
|
|
10939
|
-
* <code>"SYS_PACCT"</code> | <code>"SYS_PTRACE"</code> | <code>"SYS_RAWIO"</code> |
|
|
10940
|
-
* <code>"SYS_RESOURCE"</code> | <code>"SYS_TIME"</code> | <code>"SYS_TTY_CONFIG"</code> |
|
|
10941
|
-
* <code>"SYSLOG"</code> | <code>"WAKE_ALARM"</code>
|
|
10942
|
-
* </p>
|
|
10943
|
-
* @public
|
|
10944
|
-
*/
|
|
10945
|
-
Drop?: string[] | undefined;
|
|
10946
|
-
}
|
|
10947
|
-
/**
|
|
10948
|
-
* <p>A host device to expose to the container.</p>
|
|
10949
|
-
* @public
|
|
10950
|
-
*/
|
|
10951
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails {
|
|
10952
|
-
/**
|
|
10953
|
-
* <p>The path inside the container at which to expose the host device.</p>
|
|
10954
|
-
* @public
|
|
10955
|
-
*/
|
|
10956
|
-
ContainerPath?: string | undefined;
|
|
10957
|
-
/**
|
|
10958
|
-
* <p>The path for the device on the host container instance.</p>
|
|
10959
|
-
* @public
|
|
10960
|
-
*/
|
|
10961
|
-
HostPath?: string | undefined;
|
|
10962
|
-
/**
|
|
10963
|
-
* <p>The explicit permissions to provide to the container for the device. By default, the container has permissions for read, write, and <code>mknod</code> for the device.</p>
|
|
10964
|
-
* @public
|
|
10965
|
-
*/
|
|
10966
|
-
Permissions?: string[] | undefined;
|
|
10967
|
-
}
|
|
10968
|
-
/**
|
|
10969
|
-
* <p>The container path, mount options, and size (in MiB) of a tmpfs mount.</p>
|
|
10970
|
-
* @public
|
|
10971
|
-
*/
|
|
10972
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails {
|
|
10973
|
-
/**
|
|
10974
|
-
* <p>The absolute file path where the tmpfs volume is to be mounted.</p>
|
|
10975
|
-
* @public
|
|
10976
|
-
*/
|
|
10977
|
-
ContainerPath?: string | undefined;
|
|
10978
|
-
/**
|
|
10979
|
-
* <p>The list of tmpfs volume mount options.</p>
|
|
10980
|
-
* <p>Valid values: <code>"defaults"</code> | <code>"ro"</code> | <code>"rw"</code> | <code>"suid"</code> |
|
|
10981
|
-
* <code>"nosuid"</code> | <code>"dev"</code> | <code>"nodev"</code> |<code> "exec"</code> |
|
|
10982
|
-
* <code>"noexec"</code> | <code>"sync"</code> | <code>"async"</code> | <code>"dirsync"</code>
|
|
10983
|
-
* | <code>"remount"</code> | <code>"mand"</code> | <code>"nomand"</code> | <code>"atime"</code>
|
|
10984
|
-
* | <code>"noatime"</code> | <code>"diratime"</code> | <code>"nodiratime"</code> |
|
|
10985
|
-
* <code>"bind"</code> | <code>"rbind"</code> | <code>"unbindable"</code> |
|
|
10986
|
-
* <code>"runbindable"</code> | <code>"private"</code> | <code>"rprivate"</code> |
|
|
10987
|
-
* <code>"shared"</code> | <code>"rshared"</code> | <code>"slave"</code> |
|
|
10988
|
-
* <code>"rslave"</code> | <code>"relatime"</code> | <code>"norelatime"</code> |
|
|
10989
|
-
* <code>"strictatime"</code> | <code>"nostrictatime"</code> |<code> "mode"</code> |
|
|
10990
|
-
* <code>"uid"</code> | <code>"gid"</code> | <code>"nr_inodes"</code> |<code>
|
|
10991
|
-
* "nr_blocks"</code> | <code>"mpol"</code>
|
|
10992
|
-
* </p>
|
|
10993
|
-
* @public
|
|
10994
|
-
*/
|
|
10995
|
-
MountOptions?: string[] | undefined;
|
|
10996
|
-
/**
|
|
10997
|
-
* <p>The maximum size (in MiB) of the tmpfs volume.</p>
|
|
10998
|
-
* @public
|
|
10999
|
-
*/
|
|
11000
|
-
Size?: number | undefined;
|
|
11001
|
-
}
|
|
11002
|
-
/**
|
|
11003
|
-
* <p>>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.</p>
|
|
11004
|
-
* @public
|
|
11005
|
-
*/
|
|
11006
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails {
|
|
11007
|
-
/**
|
|
11008
|
-
* <p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.</p>
|
|
11009
|
-
* @public
|
|
11010
|
-
*/
|
|
11011
|
-
Capabilities?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails | undefined;
|
|
11012
|
-
/**
|
|
11013
|
-
* <p>The host devices to expose to the container.</p>
|
|
11014
|
-
* @public
|
|
11015
|
-
*/
|
|
11016
|
-
Devices?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails[] | undefined;
|
|
11017
|
-
/**
|
|
11018
|
-
* <p>Whether to run an <code>init</code> process inside the container that forwards signals and reaps processes. </p>
|
|
11019
|
-
* @public
|
|
11020
|
-
*/
|
|
11021
|
-
InitProcessEnabled?: boolean | undefined;
|
|
11022
|
-
/**
|
|
11023
|
-
* <p>The total amount of swap memory (in MiB) that a container can use.</p>
|
|
11024
|
-
* @public
|
|
11025
|
-
*/
|
|
11026
|
-
MaxSwap?: number | undefined;
|
|
11027
|
-
/**
|
|
11028
|
-
* <p>The value for the size (in MiB) of the <b>/dev/shm</b> volume.</p>
|
|
11029
|
-
* @public
|
|
11030
|
-
*/
|
|
11031
|
-
SharedMemorySize?: number | undefined;
|
|
11032
|
-
/**
|
|
11033
|
-
* <p>Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.</p>
|
|
11034
|
-
* @public
|
|
11035
|
-
*/
|
|
11036
|
-
Swappiness?: number | undefined;
|
|
11037
|
-
/**
|
|
11038
|
-
* <p>The container path, mount options, and size (in MiB) of the tmpfs mount.</p>
|
|
11039
|
-
* @public
|
|
11040
|
-
*/
|
|
11041
|
-
Tmpfs?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails[] | undefined;
|
|
11042
|
-
}
|
|
11043
|
-
/**
|
|
11044
|
-
* <p>A secret to pass to the log configuration.</p>
|
|
11045
|
-
* @public
|
|
11046
|
-
*/
|
|
11047
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails {
|
|
11048
|
-
/**
|
|
11049
|
-
* <p>The name of the secret.</p>
|
|
11050
|
-
* @public
|
|
11051
|
-
*/
|
|
11052
|
-
Name?: string | undefined;
|
|
11053
|
-
/**
|
|
11054
|
-
* <p>The secret to expose to the container.</p>
|
|
11055
|
-
* <p>The value is either the full ARN of the Secrets Manager secret or the full ARN of the
|
|
11056
|
-
* parameter in the Systems Manager Parameter Store.</p>
|
|
11057
|
-
* @public
|
|
11058
|
-
*/
|
|
11059
|
-
ValueFrom?: string | undefined;
|
|
11060
|
-
}
|
|
11061
|
-
/**
|
|
11062
|
-
* <p>The log configuration specification for the container.</p>
|
|
11063
|
-
* @public
|
|
11064
|
-
*/
|
|
11065
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails {
|
|
11066
|
-
/**
|
|
11067
|
-
* <p>The log driver to use for the container.</p>
|
|
11068
|
-
* <p>Valid values on Fargate are as follows:</p>
|
|
11069
|
-
* <ul>
|
|
11070
|
-
* <li>
|
|
11071
|
-
* <p>
|
|
11072
|
-
* <code>awsfirelens</code>
|
|
11073
|
-
* </p>
|
|
11074
|
-
* </li>
|
|
11075
|
-
* <li>
|
|
11076
|
-
* <p>
|
|
11077
|
-
* <code>awslogs</code>
|
|
11078
|
-
* </p>
|
|
11079
|
-
* </li>
|
|
11080
|
-
* <li>
|
|
11081
|
-
* <p>
|
|
11082
|
-
* <code>splunk</code>
|
|
11083
|
-
* </p>
|
|
11084
|
-
* </li>
|
|
11085
|
-
* </ul>
|
|
11086
|
-
* <p>Valid values on Amazon EC2 are as follows:</p>
|
|
11087
|
-
* <ul>
|
|
11088
|
-
* <li>
|
|
11089
|
-
* <p>
|
|
11090
|
-
* <code>awsfirelens</code>
|
|
11091
|
-
* </p>
|
|
11092
|
-
* </li>
|
|
11093
|
-
* <li>
|
|
11094
|
-
* <p>
|
|
11095
|
-
* <code>awslogs</code>
|
|
11096
|
-
* </p>
|
|
11097
|
-
* </li>
|
|
11098
|
-
* <li>
|
|
11099
|
-
* <p>
|
|
11100
|
-
* <code>fluentd</code>
|
|
11101
|
-
* </p>
|
|
11102
|
-
* </li>
|
|
11103
|
-
* <li>
|
|
11104
|
-
* <p>
|
|
11105
|
-
* <code>gelf</code>
|
|
11106
|
-
* </p>
|
|
11107
|
-
* </li>
|
|
11108
|
-
* <li>
|
|
11109
|
-
* <p>
|
|
11110
|
-
* <code>journald</code>
|
|
11111
|
-
* </p>
|
|
11112
|
-
* </li>
|
|
11113
|
-
* <li>
|
|
11114
|
-
* <p>
|
|
11115
|
-
* <code>json-file</code>
|
|
11116
|
-
* </p>
|
|
11117
|
-
* </li>
|
|
11118
|
-
* <li>
|
|
11119
|
-
* <p>
|
|
11120
|
-
* <code>logentries</code>
|
|
11121
|
-
* </p>
|
|
11122
|
-
* </li>
|
|
11123
|
-
* <li>
|
|
11124
|
-
* <p>
|
|
11125
|
-
* <code>splunk</code>
|
|
11126
|
-
* </p>
|
|
11127
|
-
* </li>
|
|
11128
|
-
* <li>
|
|
11129
|
-
* <p>
|
|
11130
|
-
* <code>syslog</code>
|
|
11131
|
-
* </p>
|
|
11132
|
-
* </li>
|
|
11133
|
-
* </ul>
|
|
11134
|
-
* @public
|
|
11135
|
-
*/
|
|
11136
|
-
LogDriver?: string | undefined;
|
|
11137
|
-
/**
|
|
11138
|
-
* <p>The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.</p>
|
|
11139
|
-
* @public
|
|
11140
|
-
*/
|
|
11141
|
-
Options?: Record<string, string> | undefined;
|
|
11142
|
-
/**
|
|
11143
|
-
* <p>The secrets to pass to the log configuration.</p>
|
|
11144
|
-
* @public
|
|
11145
|
-
*/
|
|
11146
|
-
SecretOptions?: AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails[] | undefined;
|
|
11147
|
-
}
|
|
11148
|
-
/**
|
|
11149
|
-
* <p>A mount point for the data volumes in the container.</p>
|
|
11150
|
-
* @public
|
|
11151
|
-
*/
|
|
11152
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails {
|
|
11153
|
-
/**
|
|
11154
|
-
* <p>The path on the container to mount the host volume at.</p>
|
|
11155
|
-
* @public
|
|
11156
|
-
*/
|
|
11157
|
-
ContainerPath?: string | undefined;
|
|
11158
|
-
/**
|
|
11159
|
-
* <p>Whether the container has read-only access to the volume.</p>
|
|
11160
|
-
* @public
|
|
11161
|
-
*/
|
|
11162
|
-
ReadOnly?: boolean | undefined;
|
|
11163
|
-
/**
|
|
11164
|
-
* <p>The name of the volume to mount. Must match the name of a volume listed in <code>VolumeDetails</code> for the task definition.</p>
|
|
11165
|
-
* @public
|
|
11166
|
-
*/
|
|
11167
|
-
SourceVolume?: string | undefined;
|
|
11168
|
-
}
|
|
11169
|
-
/**
|
|
11170
|
-
* <p>A port mapping for the container.</p>
|
|
11171
|
-
* @public
|
|
11172
|
-
*/
|
|
11173
|
-
export interface AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails {
|
|
11174
|
-
/**
|
|
11175
|
-
* <p>The port number on the container that is bound to the user-specified or automatically assigned host port.</p>
|
|
11176
|
-
* @public
|
|
11177
|
-
*/
|
|
11178
|
-
ContainerPort?: number | undefined;
|
|
11179
|
-
/**
|
|
11180
|
-
* <p>The port number on the container instance to reserve for the container.</p>
|
|
11181
|
-
* @public
|
|
11182
|
-
*/
|
|
11183
|
-
HostPort?: number | undefined;
|
|
11184
|
-
/**
|
|
11185
|
-
* <p>The protocol used for the port mapping. The default is <code>tcp</code>.</p>
|
|
11186
|
-
* @public
|
|
11187
|
-
*/
|
|
11188
|
-
Protocol?: string | undefined;
|
|
11189
|
-
}
|