@aws-sdk/client-securityhub 3.933.0 → 3.935.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.
Files changed (83) hide show
  1. package/dist-cjs/index.js +474 -476
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +458 -0
  4. package/dist-es/models/errors.js +193 -0
  5. package/dist-es/models/models_0.js +1 -178
  6. package/dist-es/models/models_1.js +1 -48
  7. package/dist-es/models/models_2.js +1 -359
  8. package/dist-es/models/models_3.js +1 -68
  9. package/dist-es/schemas/schemas_0.js +1 -1
  10. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +2 -1
  11. package/dist-types/commands/GetFindingsV2Command.d.ts +2 -1
  12. package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
  13. package/dist-types/commands/GetInsightsCommand.d.ts +1 -1
  14. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  15. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMembersCommand.d.ts +1 -1
  17. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +2 -1
  18. package/dist-types/commands/GetResourcesV2Command.d.ts +2 -1
  19. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  20. package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
  22. package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
  24. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
  27. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  28. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  31. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  36. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  37. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  38. package/dist-types/index.d.ts +6 -1
  39. package/dist-types/models/enums.d.ts +994 -0
  40. package/dist-types/models/errors.d.ts +179 -0
  41. package/dist-types/models/models_0.d.ts +903 -305
  42. package/dist-types/models/models_1.d.ts +5669 -5639
  43. package/dist-types/models/models_2.d.ts +5423 -5594
  44. package/dist-types/models/models_3.d.ts +3 -1634
  45. package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/index.d.ts +6 -1
  74. package/dist-types/ts3.4/models/enums.d.ts +574 -0
  75. package/dist-types/ts3.4/models/errors.d.ts +106 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +209 -164
  77. package/dist-types/ts3.4/models/models_1.d.ts +205 -260
  78. package/dist-types/ts3.4/models/models_2.d.ts +398 -582
  79. package/dist-types/ts3.4/models/models_3.d.ts +13 -439
  80. package/package.json +12 -12
  81. package/dist-es/models/index.js +0 -4
  82. package/dist-types/models/index.d.ts +0 -4
  83. package/dist-types/ts3.4/models/index.d.ts +0 -4
@@ -1,5 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
1
+ import { ActorSessionMfaStatus, AdminStatus, AssociationType, AutomationRulesActionType, AutomationRulesActionTypeV2, ConfigurationPolicyAssociationStatus, DateRangeUnit, MapFilterComparison, RuleStatus, RuleStatusV2, SeverityLabel, StringFilterComparison, VerificationState, WorkflowStatus } from "./enums";
3
2
  /**
4
3
  * @public
5
4
  */
@@ -20,78 +19,6 @@ export interface AcceptAdministratorInvitationRequest {
20
19
  */
21
20
  export interface AcceptAdministratorInvitationResponse {
22
21
  }
23
- /**
24
- * <p>Internal server error.</p>
25
- * @public
26
- */
27
- export declare class InternalException extends __BaseException {
28
- readonly name: "InternalException";
29
- readonly $fault: "server";
30
- Message?: string | undefined;
31
- Code?: string | undefined;
32
- /**
33
- * @internal
34
- */
35
- constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
36
- }
37
- /**
38
- * <p>The account doesn't have permission to perform this action.</p>
39
- * @public
40
- */
41
- export declare class InvalidAccessException extends __BaseException {
42
- readonly name: "InvalidAccessException";
43
- readonly $fault: "client";
44
- Message?: string | undefined;
45
- Code?: string | undefined;
46
- /**
47
- * @internal
48
- */
49
- constructor(opts: __ExceptionOptionType<InvalidAccessException, __BaseException>);
50
- }
51
- /**
52
- * <p>The request was rejected because you supplied an invalid or out-of-range value for an
53
- * input parameter.</p>
54
- * @public
55
- */
56
- export declare class InvalidInputException extends __BaseException {
57
- readonly name: "InvalidInputException";
58
- readonly $fault: "client";
59
- Message?: string | undefined;
60
- Code?: string | undefined;
61
- /**
62
- * @internal
63
- */
64
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
65
- }
66
- /**
67
- * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
68
- * account or throttling limits. The error code describes the limit exceeded.</p>
69
- * @public
70
- */
71
- export declare class LimitExceededException extends __BaseException {
72
- readonly name: "LimitExceededException";
73
- readonly $fault: "client";
74
- Message?: string | undefined;
75
- Code?: string | undefined;
76
- /**
77
- * @internal
78
- */
79
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
80
- }
81
- /**
82
- * <p>The request was rejected because we can't find the specified resource.</p>
83
- * @public
84
- */
85
- export declare class ResourceNotFoundException extends __BaseException {
86
- readonly name: "ResourceNotFoundException";
87
- readonly $fault: "client";
88
- Message?: string | undefined;
89
- Code?: string | undefined;
90
- /**
91
- * @internal
92
- */
93
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
94
- }
95
22
  /**
96
23
  * @public
97
24
  */
@@ -112,20 +39,6 @@ export interface AcceptInvitationRequest {
112
39
  */
113
40
  export interface AcceptInvitationResponse {
114
41
  }
115
- /**
116
- * <p>You don't have permission to perform the action specified in the request.</p>
117
- * @public
118
- */
119
- export declare class AccessDeniedException extends __BaseException {
120
- readonly name: "AccessDeniedException";
121
- readonly $fault: "client";
122
- Message?: string | undefined;
123
- Code?: string | undefined;
124
- /**
125
- * @internal
126
- */
127
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
128
- }
129
42
  /**
130
43
  * <p>The details of an Amazon Web Services account.</p>
131
44
  * @public
@@ -569,21 +482,6 @@ export interface RelatedFinding {
569
482
  */
570
483
  Id: string | undefined;
571
484
  }
572
- /**
573
- * @public
574
- * @enum
575
- */
576
- export declare const SeverityLabel: {
577
- readonly CRITICAL: "CRITICAL";
578
- readonly HIGH: "HIGH";
579
- readonly INFORMATIONAL: "INFORMATIONAL";
580
- readonly LOW: "LOW";
581
- readonly MEDIUM: "MEDIUM";
582
- };
583
- /**
584
- * @public
585
- */
586
- export type SeverityLabel = (typeof SeverityLabel)[keyof typeof SeverityLabel];
587
485
  /**
588
486
  * <p>Updates to the severity information for a finding.</p>
589
487
  * @public
@@ -654,34 +552,6 @@ export interface SeverityUpdate {
654
552
  */
655
553
  Label?: SeverityLabel | undefined;
656
554
  }
657
- /**
658
- * @public
659
- * @enum
660
- */
661
- export declare const VerificationState: {
662
- readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
663
- readonly FALSE_POSITIVE: "FALSE_POSITIVE";
664
- readonly TRUE_POSITIVE: "TRUE_POSITIVE";
665
- readonly UNKNOWN: "UNKNOWN";
666
- };
667
- /**
668
- * @public
669
- */
670
- export type VerificationState = (typeof VerificationState)[keyof typeof VerificationState];
671
- /**
672
- * @public
673
- * @enum
674
- */
675
- export declare const WorkflowStatus: {
676
- readonly NEW: "NEW";
677
- readonly NOTIFIED: "NOTIFIED";
678
- readonly RESOLVED: "RESOLVED";
679
- readonly SUPPRESSED: "SUPPRESSED";
680
- };
681
- /**
682
- * @public
683
- */
684
- export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
685
555
  /**
686
556
  * <p>Used to update information about the investigation into the finding.</p>
687
557
  * @public
@@ -793,17 +663,6 @@ export interface AutomationRulesFindingFieldsUpdate {
793
663
  */
794
664
  RelatedFindings?: RelatedFinding[] | undefined;
795
665
  }
796
- /**
797
- * @public
798
- * @enum
799
- */
800
- export declare const AutomationRulesActionType: {
801
- readonly FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE";
802
- };
803
- /**
804
- * @public
805
- */
806
- export type AutomationRulesActionType = (typeof AutomationRulesActionType)[keyof typeof AutomationRulesActionType];
807
666
  /**
808
667
  * <p>
809
668
  * One or more actions that Security Hub takes when a finding matches the defined criteria
@@ -848,18 +707,6 @@ export interface ActionTarget {
848
707
  */
849
708
  Description: string | undefined;
850
709
  }
851
- /**
852
- * @public
853
- * @enum
854
- */
855
- export declare const ActorSessionMfaStatus: {
856
- readonly DISABLED: "DISABLED";
857
- readonly ENABLED: "ENABLED";
858
- };
859
- /**
860
- * @public
861
- */
862
- export type ActorSessionMfaStatus = (typeof ActorSessionMfaStatus)[keyof typeof ActorSessionMfaStatus];
863
710
  /**
864
711
  * <p>
865
712
  * Contains information about the authenticated session used by the threat actor identified in an Amazon GuardDuty Extended Threat Detection attack sequence. GuardDuty generates an attack
@@ -1010,18 +857,6 @@ export interface Adjustment {
1010
857
  */
1011
858
  Reason?: string | undefined;
1012
859
  }
1013
- /**
1014
- * @public
1015
- * @enum
1016
- */
1017
- export declare const AdminStatus: {
1018
- readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
1019
- readonly ENABLED: "ENABLED";
1020
- };
1021
- /**
1022
- * @public
1023
- */
1024
- export type AdminStatus = (typeof AdminStatus)[keyof typeof AdminStatus];
1025
860
  /**
1026
861
  * <p>Represents a Security Hub administrator account designated by an organization management
1027
862
  * account.</p>
@@ -1051,18 +886,6 @@ export interface AggregatorV2 {
1051
886
  */
1052
887
  AggregatorV2Arn?: string | undefined;
1053
888
  }
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];
1066
889
  /**
1067
890
  * <p>
1068
891
  * Information about an enabled security standard in which a security control is enabled.
@@ -1078,31 +901,6 @@ export interface AssociatedStandard {
1078
901
  */
1079
902
  StandardsId?: string | undefined;
1080
903
  }
1081
- /**
1082
- * @public
1083
- * @enum
1084
- */
1085
- export declare const ConfigurationPolicyAssociationStatus: {
1086
- readonly FAILED: "FAILED";
1087
- readonly PENDING: "PENDING";
1088
- readonly SUCCESS: "SUCCESS";
1089
- };
1090
- /**
1091
- * @public
1092
- */
1093
- export type ConfigurationPolicyAssociationStatus = (typeof ConfigurationPolicyAssociationStatus)[keyof typeof ConfigurationPolicyAssociationStatus];
1094
- /**
1095
- * @public
1096
- * @enum
1097
- */
1098
- export declare const AssociationType: {
1099
- readonly APPLIED: "APPLIED";
1100
- readonly INHERITED: "INHERITED";
1101
- };
1102
- /**
1103
- * @public
1104
- */
1105
- export type AssociationType = (typeof AssociationType)[keyof typeof AssociationType];
1106
904
  /**
1107
905
  * <p>
1108
906
  * Options for filtering the <code>ListConfigurationPolicyAssociations</code> response. You can filter by the Amazon Resource Name (ARN) or
@@ -1206,30 +1004,6 @@ export interface AssociationSetDetails {
1206
1004
  */
1207
1005
  SubnetId?: string | undefined;
1208
1006
  }
1209
- /**
1210
- * @public
1211
- * @enum
1212
- */
1213
- export declare const AssociationStatus: {
1214
- readonly DISABLED: "DISABLED";
1215
- readonly ENABLED: "ENABLED";
1216
- };
1217
- /**
1218
- * @public
1219
- */
1220
- export type AssociationStatus = (typeof AssociationStatus)[keyof typeof AssociationStatus];
1221
- /**
1222
- * @public
1223
- * @enum
1224
- */
1225
- export declare const AutoEnableStandards: {
1226
- readonly DEFAULT: "DEFAULT";
1227
- readonly NONE: "NONE";
1228
- };
1229
- /**
1230
- * @public
1231
- */
1232
- export type AutoEnableStandards = (typeof AutoEnableStandards)[keyof typeof AutoEnableStandards];
1233
1007
  /**
1234
1008
  * <p>Defines the settings and parameters required for integrating external security tools and services.</p>
1235
1009
  * @public
@@ -1262,18 +1036,6 @@ export interface AutomationRulesFindingFieldsUpdateV2 {
1262
1036
  */
1263
1037
  StatusId?: number | undefined;
1264
1038
  }
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
1039
  /**
1278
1040
  * <p>Allows you to configure automated responses.</p>
1279
1041
  * @public
@@ -1306,23 +1068,6 @@ export interface AutomationRulesActionTypeObjectV2 {
1306
1068
  */
1307
1069
  Type?: AutomationRulesActionTypeV2 | undefined;
1308
1070
  }
1309
- /**
1310
- * @public
1311
- * @enum
1312
- */
1313
- export declare const StringFilterComparison: {
1314
- readonly CONTAINS: "CONTAINS";
1315
- readonly CONTAINS_WORD: "CONTAINS_WORD";
1316
- readonly EQUALS: "EQUALS";
1317
- readonly NOT_CONTAINS: "NOT_CONTAINS";
1318
- readonly NOT_EQUALS: "NOT_EQUALS";
1319
- readonly PREFIX: "PREFIX";
1320
- readonly PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS";
1321
- };
1322
- /**
1323
- * @public
1324
- */
1325
- export type StringFilterComparison = (typeof StringFilterComparison)[keyof typeof StringFilterComparison];
1326
1071
  /**
1327
1072
  * <p>A string filter for filtering Security Hub findings.</p>
1328
1073
  * @public
@@ -1462,17 +1207,6 @@ export interface NumberFilter {
1462
1207
  */
1463
1208
  Lt?: number | undefined;
1464
1209
  }
1465
- /**
1466
- * @public
1467
- * @enum
1468
- */
1469
- export declare const DateRangeUnit: {
1470
- readonly DAYS: "DAYS";
1471
- };
1472
- /**
1473
- * @public
1474
- */
1475
- export type DateRangeUnit = (typeof DateRangeUnit)[keyof typeof DateRangeUnit];
1476
1210
  /**
1477
1211
  * <p>A date range for the date filter.</p>
1478
1212
  * @public
@@ -1512,20 +1246,6 @@ export interface DateFilter {
1512
1246
  */
1513
1247
  DateRange?: DateRange | undefined;
1514
1248
  }
1515
- /**
1516
- * @public
1517
- * @enum
1518
- */
1519
- export declare const MapFilterComparison: {
1520
- readonly CONTAINS: "CONTAINS";
1521
- readonly EQUALS: "EQUALS";
1522
- readonly NOT_CONTAINS: "NOT_CONTAINS";
1523
- readonly NOT_EQUALS: "NOT_EQUALS";
1524
- };
1525
- /**
1526
- * @public
1527
- */
1528
- export type MapFilterComparison = (typeof MapFilterComparison)[keyof typeof MapFilterComparison];
1529
1249
  /**
1530
1250
  * <p>A map filter for filtering Security Hub findings. Each map filter provides the field to check for, the
1531
1251
  * value to check for, and the comparison operator.</p>
@@ -2003,18 +1723,6 @@ export interface AutomationRulesFindingFilters {
2003
1723
  */
2004
1724
  AwsAccountName?: StringFilter[] | undefined;
2005
1725
  }
2006
- /**
2007
- * @public
2008
- * @enum
2009
- */
2010
- export declare const RuleStatus: {
2011
- readonly DISABLED: "DISABLED";
2012
- readonly ENABLED: "ENABLED";
2013
- };
2014
- /**
2015
- * @public
2016
- */
2017
- export type RuleStatus = (typeof RuleStatus)[keyof typeof RuleStatus];
2018
1726
  /**
2019
1727
  * <p>
2020
1728
  * Defines the configuration of an automation rule.
@@ -2189,18 +1897,6 @@ export interface AutomationRulesMetadata {
2189
1897
  */
2190
1898
  CreatedBy?: string | undefined;
2191
1899
  }
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
1900
  /**
2205
1901
  * <p>Includes essential metadata information about automation rules.</p>
2206
1902
  * @public
@@ -11033,3 +10729,905 @@ export interface AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDe
11033
10729
  */
11034
10730
  Type?: string | undefined;
11035
10731
  }
10732
+ /**
10733
+ * <p>The container health check command and associated configuration parameters for the container.</p>
10734
+ * @public
10735
+ */
10736
+ export interface AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails {
10737
+ /**
10738
+ * <p>The command that the container runs to determine whether it is healthy.</p>
10739
+ * @public
10740
+ */
10741
+ Command?: string[] | undefined;
10742
+ /**
10743
+ * <p>The time period in seconds between each health check execution. The default value is 30 seconds.</p>
10744
+ * @public
10745
+ */
10746
+ Interval?: number | undefined;
10747
+ /**
10748
+ * <p>The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.</p>
10749
+ * @public
10750
+ */
10751
+ Retries?: number | undefined;
10752
+ /**
10753
+ * <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>
10754
+ * @public
10755
+ */
10756
+ StartPeriod?: number | undefined;
10757
+ /**
10758
+ * <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>
10759
+ * @public
10760
+ */
10761
+ Timeout?: number | undefined;
10762
+ }
10763
+ /**
10764
+ * <p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.</p>
10765
+ * @public
10766
+ */
10767
+ export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails {
10768
+ /**
10769
+ * <p>The Linux capabilities for the container that are added to the default configuration provided by Docker. Valid values are as follows:</p>
10770
+ * <p>Valid values: <code>"ALL"</code> | <code>"AUDIT_CONTROL"</code> |<code> "AUDIT_WRITE"</code> |
10771
+ * <code>"BLOCK_SUSPEND"</code> | <code>"CHOWN"</code> | <code>"DAC_OVERRIDE"</code> |
10772
+ * <code>"DAC_READ_SEARCH"</code> | <code>"FOWNER"</code> | <code>"FSETID"</code> |
10773
+ * <code>"IPC_LOCK"</code> | <code>"IPC_OWNER"</code> | <code>"KILL"</code> |
10774
+ * <code>"LEASE"</code> | <code>"LINUX_IMMUTABLE"</code> | <code>"MAC_ADMIN"</code> |<code>
10775
+ * "MAC_OVERRIDE"</code> | <code>"MKNOD"</code> | <code>"NET_ADMIN"</code> |
10776
+ * <code>"NET_BIND_SERVICE"</code> | <code>"NET_BROADCAST"</code> | <code>"NET_RAW"</code> |
10777
+ * <code>"SETFCAP"</code> | <code>"SETGID"</code> | <code>"SETPCAP"</code> |
10778
+ * <code>"SETUID"</code> | <code>"SYS_ADMIN"</code> | <code>"SYS_BOOT"</code> |
10779
+ * <code>"SYS_CHROOT"</code> | <code>"SYS_MODULE"</code> | <code>"SYS_NICE"</code> |
10780
+ * <code>"SYS_PACCT"</code> | <code>"SYS_PTRACE"</code> | <code>"SYS_RAWIO"</code> |
10781
+ * <code>"SYS_RESOURCE"</code> | <code>"SYS_TIME"</code> | <code>"SYS_TTY_CONFIG"</code> |
10782
+ * <code>"SYSLOG"</code> | <code>"WAKE_ALARM"</code>
10783
+ * </p>
10784
+ * @public
10785
+ */
10786
+ Add?: string[] | undefined;
10787
+ /**
10788
+ * <p>The Linux capabilities for the container that are dropped from the default configuration provided by Docker.</p>
10789
+ * <p>Valid values: <code>"ALL"</code> | <code>"AUDIT_CONTROL"</code> |<code> "AUDIT_WRITE"</code> |
10790
+ * <code>"BLOCK_SUSPEND"</code> | <code>"CHOWN"</code> | <code>"DAC_OVERRIDE"</code> |
10791
+ * <code>"DAC_READ_SEARCH"</code> | <code>"FOWNER"</code> | <code>"FSETID"</code> |
10792
+ * <code>"IPC_LOCK"</code> | <code>"IPC_OWNER"</code> | <code>"KILL"</code> |
10793
+ * <code>"LEASE"</code> | <code>"LINUX_IMMUTABLE"</code> | <code>"MAC_ADMIN"</code> |<code>
10794
+ * "MAC_OVERRIDE"</code> | <code>"MKNOD"</code> | <code>"NET_ADMIN"</code> |
10795
+ * <code>"NET_BIND_SERVICE"</code> | <code>"NET_BROADCAST"</code> | <code>"NET_RAW"</code> |
10796
+ * <code>"SETFCAP"</code> | <code>"SETGID"</code> | <code>"SETPCAP"</code> |
10797
+ * <code>"SETUID"</code> | <code>"SYS_ADMIN"</code> | <code>"SYS_BOOT"</code> |
10798
+ * <code>"SYS_CHROOT"</code> | <code>"SYS_MODULE"</code> | <code>"SYS_NICE"</code> |
10799
+ * <code>"SYS_PACCT"</code> | <code>"SYS_PTRACE"</code> | <code>"SYS_RAWIO"</code> |
10800
+ * <code>"SYS_RESOURCE"</code> | <code>"SYS_TIME"</code> | <code>"SYS_TTY_CONFIG"</code> |
10801
+ * <code>"SYSLOG"</code> | <code>"WAKE_ALARM"</code>
10802
+ * </p>
10803
+ * @public
10804
+ */
10805
+ Drop?: string[] | undefined;
10806
+ }
10807
+ /**
10808
+ * <p>A host device to expose to the container.</p>
10809
+ * @public
10810
+ */
10811
+ export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails {
10812
+ /**
10813
+ * <p>The path inside the container at which to expose the host device.</p>
10814
+ * @public
10815
+ */
10816
+ ContainerPath?: string | undefined;
10817
+ /**
10818
+ * <p>The path for the device on the host container instance.</p>
10819
+ * @public
10820
+ */
10821
+ HostPath?: string | undefined;
10822
+ /**
10823
+ * <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>
10824
+ * @public
10825
+ */
10826
+ Permissions?: string[] | undefined;
10827
+ }
10828
+ /**
10829
+ * <p>The container path, mount options, and size (in MiB) of a tmpfs mount.</p>
10830
+ * @public
10831
+ */
10832
+ export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails {
10833
+ /**
10834
+ * <p>The absolute file path where the tmpfs volume is to be mounted.</p>
10835
+ * @public
10836
+ */
10837
+ ContainerPath?: string | undefined;
10838
+ /**
10839
+ * <p>The list of tmpfs volume mount options.</p>
10840
+ * <p>Valid values: <code>"defaults"</code> | <code>"ro"</code> | <code>"rw"</code> | <code>"suid"</code> |
10841
+ * <code>"nosuid"</code> | <code>"dev"</code> | <code>"nodev"</code> |<code> "exec"</code> |
10842
+ * <code>"noexec"</code> | <code>"sync"</code> | <code>"async"</code> | <code>"dirsync"</code>
10843
+ * | <code>"remount"</code> | <code>"mand"</code> | <code>"nomand"</code> | <code>"atime"</code>
10844
+ * | <code>"noatime"</code> | <code>"diratime"</code> | <code>"nodiratime"</code> |
10845
+ * <code>"bind"</code> | <code>"rbind"</code> | <code>"unbindable"</code> |
10846
+ * <code>"runbindable"</code> | <code>"private"</code> | <code>"rprivate"</code> |
10847
+ * <code>"shared"</code> | <code>"rshared"</code> | <code>"slave"</code> |
10848
+ * <code>"rslave"</code> | <code>"relatime"</code> | <code>"norelatime"</code> |
10849
+ * <code>"strictatime"</code> | <code>"nostrictatime"</code> |<code> "mode"</code> |
10850
+ * <code>"uid"</code> | <code>"gid"</code> | <code>"nr_inodes"</code> |<code>
10851
+ * "nr_blocks"</code> | <code>"mpol"</code>
10852
+ * </p>
10853
+ * @public
10854
+ */
10855
+ MountOptions?: string[] | undefined;
10856
+ /**
10857
+ * <p>The maximum size (in MiB) of the tmpfs volume.</p>
10858
+ * @public
10859
+ */
10860
+ Size?: number | undefined;
10861
+ }
10862
+ /**
10863
+ * <p>>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.</p>
10864
+ * @public
10865
+ */
10866
+ export interface AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails {
10867
+ /**
10868
+ * <p>The Linux capabilities for the container that are added to or dropped from the default configuration provided by Docker.</p>
10869
+ * @public
10870
+ */
10871
+ Capabilities?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersCapabilitiesDetails | undefined;
10872
+ /**
10873
+ * <p>The host devices to expose to the container.</p>
10874
+ * @public
10875
+ */
10876
+ Devices?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDevicesDetails[] | undefined;
10877
+ /**
10878
+ * <p>Whether to run an <code>init</code> process inside the container that forwards signals and reaps processes. </p>
10879
+ * @public
10880
+ */
10881
+ InitProcessEnabled?: boolean | undefined;
10882
+ /**
10883
+ * <p>The total amount of swap memory (in MiB) that a container can use.</p>
10884
+ * @public
10885
+ */
10886
+ MaxSwap?: number | undefined;
10887
+ /**
10888
+ * <p>The value for the size (in MiB) of the <b>/dev/shm</b> volume.</p>
10889
+ * @public
10890
+ */
10891
+ SharedMemorySize?: number | undefined;
10892
+ /**
10893
+ * <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>
10894
+ * @public
10895
+ */
10896
+ Swappiness?: number | undefined;
10897
+ /**
10898
+ * <p>The container path, mount options, and size (in MiB) of the tmpfs mount.</p>
10899
+ * @public
10900
+ */
10901
+ Tmpfs?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersTmpfsDetails[] | undefined;
10902
+ }
10903
+ /**
10904
+ * <p>A secret to pass to the log configuration.</p>
10905
+ * @public
10906
+ */
10907
+ export interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails {
10908
+ /**
10909
+ * <p>The name of the secret.</p>
10910
+ * @public
10911
+ */
10912
+ Name?: string | undefined;
10913
+ /**
10914
+ * <p>The secret to expose to the container.</p>
10915
+ * <p>The value is either the full ARN of the Secrets Manager secret or the full ARN of the
10916
+ * parameter in the Systems Manager Parameter Store.</p>
10917
+ * @public
10918
+ */
10919
+ ValueFrom?: string | undefined;
10920
+ }
10921
+ /**
10922
+ * <p>The log configuration specification for the container.</p>
10923
+ * @public
10924
+ */
10925
+ export interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails {
10926
+ /**
10927
+ * <p>The log driver to use for the container.</p>
10928
+ * <p>Valid values on Fargate are as follows:</p>
10929
+ * <ul>
10930
+ * <li>
10931
+ * <p>
10932
+ * <code>awsfirelens</code>
10933
+ * </p>
10934
+ * </li>
10935
+ * <li>
10936
+ * <p>
10937
+ * <code>awslogs</code>
10938
+ * </p>
10939
+ * </li>
10940
+ * <li>
10941
+ * <p>
10942
+ * <code>splunk</code>
10943
+ * </p>
10944
+ * </li>
10945
+ * </ul>
10946
+ * <p>Valid values on Amazon EC2 are as follows:</p>
10947
+ * <ul>
10948
+ * <li>
10949
+ * <p>
10950
+ * <code>awsfirelens</code>
10951
+ * </p>
10952
+ * </li>
10953
+ * <li>
10954
+ * <p>
10955
+ * <code>awslogs</code>
10956
+ * </p>
10957
+ * </li>
10958
+ * <li>
10959
+ * <p>
10960
+ * <code>fluentd</code>
10961
+ * </p>
10962
+ * </li>
10963
+ * <li>
10964
+ * <p>
10965
+ * <code>gelf</code>
10966
+ * </p>
10967
+ * </li>
10968
+ * <li>
10969
+ * <p>
10970
+ * <code>journald</code>
10971
+ * </p>
10972
+ * </li>
10973
+ * <li>
10974
+ * <p>
10975
+ * <code>json-file</code>
10976
+ * </p>
10977
+ * </li>
10978
+ * <li>
10979
+ * <p>
10980
+ * <code>logentries</code>
10981
+ * </p>
10982
+ * </li>
10983
+ * <li>
10984
+ * <p>
10985
+ * <code>splunk</code>
10986
+ * </p>
10987
+ * </li>
10988
+ * <li>
10989
+ * <p>
10990
+ * <code>syslog</code>
10991
+ * </p>
10992
+ * </li>
10993
+ * </ul>
10994
+ * @public
10995
+ */
10996
+ LogDriver?: string | undefined;
10997
+ /**
10998
+ * <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>
10999
+ * @public
11000
+ */
11001
+ Options?: Record<string, string> | undefined;
11002
+ /**
11003
+ * <p>The secrets to pass to the log configuration.</p>
11004
+ * @public
11005
+ */
11006
+ SecretOptions?: AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails[] | undefined;
11007
+ }
11008
+ /**
11009
+ * <p>A mount point for the data volumes in the container.</p>
11010
+ * @public
11011
+ */
11012
+ export interface AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails {
11013
+ /**
11014
+ * <p>The path on the container to mount the host volume at.</p>
11015
+ * @public
11016
+ */
11017
+ ContainerPath?: string | undefined;
11018
+ /**
11019
+ * <p>Whether the container has read-only access to the volume.</p>
11020
+ * @public
11021
+ */
11022
+ ReadOnly?: boolean | undefined;
11023
+ /**
11024
+ * <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>
11025
+ * @public
11026
+ */
11027
+ SourceVolume?: string | undefined;
11028
+ }
11029
+ /**
11030
+ * <p>A port mapping for the container.</p>
11031
+ * @public
11032
+ */
11033
+ export interface AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails {
11034
+ /**
11035
+ * <p>The port number on the container that is bound to the user-specified or automatically assigned host port.</p>
11036
+ * @public
11037
+ */
11038
+ ContainerPort?: number | undefined;
11039
+ /**
11040
+ * <p>The port number on the container instance to reserve for the container.</p>
11041
+ * @public
11042
+ */
11043
+ HostPort?: number | undefined;
11044
+ /**
11045
+ * <p>The protocol used for the port mapping. The default is <code>tcp</code>.</p>
11046
+ * @public
11047
+ */
11048
+ Protocol?: string | undefined;
11049
+ }
11050
+ /**
11051
+ * <p>The private repository authentication credentials to use.</p>
11052
+ * @public
11053
+ */
11054
+ export interface AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails {
11055
+ /**
11056
+ * <p>The ARN of the secret that contains the private repository credentials.</p>
11057
+ * @public
11058
+ */
11059
+ CredentialsParameter?: string | undefined;
11060
+ }
11061
+ /**
11062
+ * <p>A resource to assign to a container.</p>
11063
+ * @public
11064
+ */
11065
+ export interface AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails {
11066
+ /**
11067
+ * <p>The type of resource to assign to a container. Valid values are <code>GPU</code> or <code>InferenceAccelerator</code>.</p>
11068
+ * @public
11069
+ */
11070
+ Type?: string | undefined;
11071
+ /**
11072
+ * <p>The value for the specified resource type.</p>
11073
+ * <p>For <code>GPU</code>, the value is the number of physical GPUs the Amazon ECS container agent
11074
+ * reserves for the container.</p>
11075
+ * <p>For <code>InferenceAccelerator</code>, the value should match the <code>DeviceName</code>
11076
+ * attribute of an entry in <code>InferenceAccelerators</code>.</p>
11077
+ * @public
11078
+ */
11079
+ Value?: string | undefined;
11080
+ }
11081
+ /**
11082
+ * <p>A secret to pass to the container.</p>
11083
+ * @public
11084
+ */
11085
+ export interface AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails {
11086
+ /**
11087
+ * <p>The name of the secret.</p>
11088
+ * @public
11089
+ */
11090
+ Name?: string | undefined;
11091
+ /**
11092
+ * <p>The secret to expose to the container. The value is either the full ARN of the Secrets Manager
11093
+ * secret or the full ARN of the parameter in the Systems Manager Parameter Store.</p>
11094
+ * @public
11095
+ */
11096
+ ValueFrom?: string | undefined;
11097
+ }
11098
+ /**
11099
+ * <p>A namespaced kernel parameter to set in the container.</p>
11100
+ * @public
11101
+ */
11102
+ export interface AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails {
11103
+ /**
11104
+ * <p>The namespaced kernel parameter for which to set a value.</p>
11105
+ * @public
11106
+ */
11107
+ Namespace?: string | undefined;
11108
+ /**
11109
+ * <p>The value of the parameter.</p>
11110
+ * @public
11111
+ */
11112
+ Value?: string | undefined;
11113
+ }
11114
+ /**
11115
+ * <p>A ulimit to set in the container.</p>
11116
+ * @public
11117
+ */
11118
+ export interface AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails {
11119
+ /**
11120
+ * <p>The hard limit for the ulimit type.</p>
11121
+ * @public
11122
+ */
11123
+ HardLimit?: number | undefined;
11124
+ /**
11125
+ * <p>The type of the ulimit. Valid values are as follows:</p>
11126
+ * <ul>
11127
+ * <li>
11128
+ * <p>
11129
+ * <code>core</code>
11130
+ * </p>
11131
+ * </li>
11132
+ * <li>
11133
+ * <p>
11134
+ * <code>cpu</code>
11135
+ * </p>
11136
+ * </li>
11137
+ * <li>
11138
+ * <p>
11139
+ * <code>data</code>
11140
+ * </p>
11141
+ * </li>
11142
+ * <li>
11143
+ * <p>
11144
+ * <code>fsize</code>
11145
+ * </p>
11146
+ * </li>
11147
+ * <li>
11148
+ * <p>
11149
+ * <code>locks</code>
11150
+ * </p>
11151
+ * </li>
11152
+ * <li>
11153
+ * <p>
11154
+ * <code>memlock</code>
11155
+ * </p>
11156
+ * </li>
11157
+ * <li>
11158
+ * <p>
11159
+ * <code>msgqueue</code>
11160
+ * </p>
11161
+ * </li>
11162
+ * <li>
11163
+ * <p>
11164
+ * <code>nice</code>
11165
+ * </p>
11166
+ * </li>
11167
+ * <li>
11168
+ * <p>
11169
+ * <code>nofile</code>
11170
+ * </p>
11171
+ * </li>
11172
+ * <li>
11173
+ * <p>
11174
+ * <code>nproc</code>
11175
+ * </p>
11176
+ * </li>
11177
+ * <li>
11178
+ * <p>
11179
+ * <code>rss</code>
11180
+ * </p>
11181
+ * </li>
11182
+ * <li>
11183
+ * <p>
11184
+ * <code>rtprio</code>
11185
+ * </p>
11186
+ * </li>
11187
+ * <li>
11188
+ * <p>
11189
+ * <code>rttime</code>
11190
+ * </p>
11191
+ * </li>
11192
+ * <li>
11193
+ * <p>
11194
+ * <code>sigpending</code>
11195
+ * </p>
11196
+ * </li>
11197
+ * <li>
11198
+ * <p>
11199
+ * <code>stack</code>
11200
+ * </p>
11201
+ * </li>
11202
+ * </ul>
11203
+ * @public
11204
+ */
11205
+ Name?: string | undefined;
11206
+ /**
11207
+ * <p>The soft limit for the ulimit type.</p>
11208
+ * @public
11209
+ */
11210
+ SoftLimit?: number | undefined;
11211
+ }
11212
+ /**
11213
+ * <p>A data volume to mount from another container.</p>
11214
+ * @public
11215
+ */
11216
+ export interface AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails {
11217
+ /**
11218
+ * <p>Whether the container has read-only access to the volume.</p>
11219
+ * @public
11220
+ */
11221
+ ReadOnly?: boolean | undefined;
11222
+ /**
11223
+ * <p>The name of another container within the same task definition from which to mount volumes.</p>
11224
+ * @public
11225
+ */
11226
+ SourceContainer?: string | undefined;
11227
+ }
11228
+ /**
11229
+ * <p>A container definition that describes a container in the task.</p>
11230
+ * @public
11231
+ */
11232
+ export interface AwsEcsTaskDefinitionContainerDefinitionsDetails {
11233
+ /**
11234
+ * <p>The command that is passed to the container.</p>
11235
+ * @public
11236
+ */
11237
+ Command?: string[] | undefined;
11238
+ /**
11239
+ * <p>The number of CPU units reserved for the container.</p>
11240
+ * @public
11241
+ */
11242
+ Cpu?: number | undefined;
11243
+ /**
11244
+ * <p>The dependencies that are defined for container startup and shutdown.</p>
11245
+ * @public
11246
+ */
11247
+ DependsOn?: AwsEcsTaskDefinitionContainerDefinitionsDependsOnDetails[] | undefined;
11248
+ /**
11249
+ * <p>Whether to disable networking within the container.</p>
11250
+ * @public
11251
+ */
11252
+ DisableNetworking?: boolean | undefined;
11253
+ /**
11254
+ * <p>A list of DNS search domains that are presented to the container.</p>
11255
+ * @public
11256
+ */
11257
+ DnsSearchDomains?: string[] | undefined;
11258
+ /**
11259
+ * <p>A list of DNS servers that are presented to the container.</p>
11260
+ * @public
11261
+ */
11262
+ DnsServers?: string[] | undefined;
11263
+ /**
11264
+ * <p>A key-value map of labels to add to the container.</p>
11265
+ * @public
11266
+ */
11267
+ DockerLabels?: Record<string, string> | undefined;
11268
+ /**
11269
+ * <p>A list of strings to provide custom labels for SELinux and AppArmor multi-level security systems.</p>
11270
+ * @public
11271
+ */
11272
+ DockerSecurityOptions?: string[] | undefined;
11273
+ /**
11274
+ * <p>The entry point that is passed to the container.</p>
11275
+ * @public
11276
+ */
11277
+ EntryPoint?: string[] | undefined;
11278
+ /**
11279
+ * <p>The environment variables to pass to a container.</p>
11280
+ * @public
11281
+ */
11282
+ Environment?: AwsEcsTaskDefinitionContainerDefinitionsEnvironmentDetails[] | undefined;
11283
+ /**
11284
+ * <p>A list of files containing the environment variables to pass to a container.</p>
11285
+ * @public
11286
+ */
11287
+ EnvironmentFiles?: AwsEcsTaskDefinitionContainerDefinitionsEnvironmentFilesDetails[] | undefined;
11288
+ /**
11289
+ * <p>Whether the container is essential. All tasks must have at least one essential container.</p>
11290
+ * @public
11291
+ */
11292
+ Essential?: boolean | undefined;
11293
+ /**
11294
+ * <p>A list of hostnames and IP address mappings to append to the <b>/etc/hosts</b> file on the container.</p>
11295
+ * @public
11296
+ */
11297
+ ExtraHosts?: AwsEcsTaskDefinitionContainerDefinitionsExtraHostsDetails[] | undefined;
11298
+ /**
11299
+ * <p>The FireLens configuration for the container. Specifies and configures a log router for container logs.</p>
11300
+ * @public
11301
+ */
11302
+ FirelensConfiguration?: AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails | undefined;
11303
+ /**
11304
+ * <p>The container health check command and associated configuration parameters for the container.</p>
11305
+ * @public
11306
+ */
11307
+ HealthCheck?: AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails | undefined;
11308
+ /**
11309
+ * <p>The hostname to use for the container.</p>
11310
+ * @public
11311
+ */
11312
+ Hostname?: string | undefined;
11313
+ /**
11314
+ * <p>The image used to start the container.</p>
11315
+ * @public
11316
+ */
11317
+ Image?: string | undefined;
11318
+ /**
11319
+ * <p>If set to true, then containerized applications can be deployed that require <code>stdin</code> or a <code>tty</code> to be allocated.</p>
11320
+ * @public
11321
+ */
11322
+ Interactive?: boolean | undefined;
11323
+ /**
11324
+ * <p>A list of links for the container in the form <code>
11325
+ * <i>container_name</i>:<i>alias</i>
11326
+ * </code>. Allows containers to communicate with each other without the need for port mappings.</p>
11327
+ * @public
11328
+ */
11329
+ Links?: string[] | undefined;
11330
+ /**
11331
+ * <p>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.</p>
11332
+ * @public
11333
+ */
11334
+ LinuxParameters?: AwsEcsTaskDefinitionContainerDefinitionsLinuxParametersDetails | undefined;
11335
+ /**
11336
+ * <p>The log configuration specification for the container.</p>
11337
+ * @public
11338
+ */
11339
+ LogConfiguration?: AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails | undefined;
11340
+ /**
11341
+ * <p>The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.</p>
11342
+ * @public
11343
+ */
11344
+ Memory?: number | undefined;
11345
+ /**
11346
+ * <p>The soft limit (in MiB) of memory to reserve for the container.</p>
11347
+ * @public
11348
+ */
11349
+ MemoryReservation?: number | undefined;
11350
+ /**
11351
+ * <p>The mount points for the data volumes in the container.</p>
11352
+ * @public
11353
+ */
11354
+ MountPoints?: AwsEcsTaskDefinitionContainerDefinitionsMountPointsDetails[] | undefined;
11355
+ /**
11356
+ * <p>The name of the container.</p>
11357
+ * @public
11358
+ */
11359
+ Name?: string | undefined;
11360
+ /**
11361
+ * <p>The list of port mappings for the container.</p>
11362
+ * @public
11363
+ */
11364
+ PortMappings?: AwsEcsTaskDefinitionContainerDefinitionsPortMappingsDetails[] | undefined;
11365
+ /**
11366
+ * <p>Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.</p>
11367
+ * @public
11368
+ */
11369
+ Privileged?: boolean | undefined;
11370
+ /**
11371
+ * <p>Whether to allocate a TTY to the container.</p>
11372
+ * @public
11373
+ */
11374
+ PseudoTerminal?: boolean | undefined;
11375
+ /**
11376
+ * <p>Whether the container is given read-only access to its root file system.</p>
11377
+ * @public
11378
+ */
11379
+ ReadonlyRootFilesystem?: boolean | undefined;
11380
+ /**
11381
+ * <p>The private repository authentication credentials to use.</p>
11382
+ * @public
11383
+ */
11384
+ RepositoryCredentials?: AwsEcsTaskDefinitionContainerDefinitionsRepositoryCredentialsDetails | undefined;
11385
+ /**
11386
+ * <p>The type and amount of a resource to assign to a container. The only supported resource is a GPU.</p>
11387
+ * @public
11388
+ */
11389
+ ResourceRequirements?: AwsEcsTaskDefinitionContainerDefinitionsResourceRequirementsDetails[] | undefined;
11390
+ /**
11391
+ * <p>The secrets to pass to the container.</p>
11392
+ * @public
11393
+ */
11394
+ Secrets?: AwsEcsTaskDefinitionContainerDefinitionsSecretsDetails[] | undefined;
11395
+ /**
11396
+ * <p>The number of seconds to wait before giving up on resolving dependencies for a container. </p>
11397
+ * @public
11398
+ */
11399
+ StartTimeout?: number | undefined;
11400
+ /**
11401
+ * <p>The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.</p>
11402
+ * @public
11403
+ */
11404
+ StopTimeout?: number | undefined;
11405
+ /**
11406
+ * <p>A list of namespaced kernel parameters to set in the container.</p>
11407
+ * @public
11408
+ */
11409
+ SystemControls?: AwsEcsTaskDefinitionContainerDefinitionsSystemControlsDetails[] | undefined;
11410
+ /**
11411
+ * <p>A list of ulimits to set in the container. </p>
11412
+ * @public
11413
+ */
11414
+ Ulimits?: AwsEcsTaskDefinitionContainerDefinitionsUlimitsDetails[] | undefined;
11415
+ /**
11416
+ * <p>The user to use inside the container.</p>
11417
+ * <p>The value can use one of the following formats.</p>
11418
+ * <ul>
11419
+ * <li>
11420
+ * <p>
11421
+ * <code>
11422
+ * <i>user</i>
11423
+ * </code>
11424
+ * </p>
11425
+ * </li>
11426
+ * <li>
11427
+ * <p>
11428
+ * <code>
11429
+ * <i>user</i>
11430
+ * </code>:<code>
11431
+ * <i>group</i>
11432
+ * </code>
11433
+ * </p>
11434
+ * </li>
11435
+ * <li>
11436
+ * <p>
11437
+ * <code>
11438
+ * <i>uid</i>
11439
+ * </code>
11440
+ * </p>
11441
+ * </li>
11442
+ * <li>
11443
+ * <p>
11444
+ * <code>
11445
+ * <i>uid</i>
11446
+ * </code>:<code>
11447
+ * <i>gid</i>
11448
+ * </code>
11449
+ * </p>
11450
+ * </li>
11451
+ * <li>
11452
+ * <p>
11453
+ * <code>
11454
+ * <i>user</i>
11455
+ * </code>:<code>
11456
+ * <i>gid</i>
11457
+ * </code>
11458
+ * </p>
11459
+ * </li>
11460
+ * <li>
11461
+ * <p>
11462
+ * <code>
11463
+ * <i>uid</i>
11464
+ * </code>:<code>
11465
+ * <i>group</i>
11466
+ * </code>
11467
+ * </p>
11468
+ * </li>
11469
+ * </ul>
11470
+ * @public
11471
+ */
11472
+ User?: string | undefined;
11473
+ /**
11474
+ * <p>Data volumes to mount from another container.</p>
11475
+ * @public
11476
+ */
11477
+ VolumesFrom?: AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails[] | undefined;
11478
+ /**
11479
+ * <p>The working directory in which to run commands inside the container.</p>
11480
+ * @public
11481
+ */
11482
+ WorkingDirectory?: string | undefined;
11483
+ }
11484
+ /**
11485
+ * <p>An Elastic Inference accelerator to use
11486
+ * for the containers in the task.</p>
11487
+ * @public
11488
+ */
11489
+ export interface AwsEcsTaskDefinitionInferenceAcceleratorsDetails {
11490
+ /**
11491
+ * <p>The Elastic Inference accelerator device name.</p>
11492
+ * @public
11493
+ */
11494
+ DeviceName?: string | undefined;
11495
+ /**
11496
+ * <p>The Elastic Inference accelerator type to use.</p>
11497
+ * @public
11498
+ */
11499
+ DeviceType?: string | undefined;
11500
+ }
11501
+ /**
11502
+ * <p>A placement constraint object to use for tasks.</p>
11503
+ * @public
11504
+ */
11505
+ export interface AwsEcsTaskDefinitionPlacementConstraintsDetails {
11506
+ /**
11507
+ * <p>A cluster query language expression to apply to the constraint.</p>
11508
+ * @public
11509
+ */
11510
+ Expression?: string | undefined;
11511
+ /**
11512
+ * <p>The type of constraint.</p>
11513
+ * @public
11514
+ */
11515
+ Type?: string | undefined;
11516
+ }
11517
+ /**
11518
+ * <p>A network configuration parameter to provide to the Container Network Interface (CNI) plugin.</p>
11519
+ * @public
11520
+ */
11521
+ export interface AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesDetails {
11522
+ /**
11523
+ * <p>The name of the property.</p>
11524
+ * @public
11525
+ */
11526
+ Name?: string | undefined;
11527
+ /**
11528
+ * <p>The value of the property.</p>
11529
+ * @public
11530
+ */
11531
+ Value?: string | undefined;
11532
+ }
11533
+ /**
11534
+ * <p>The configuration details for the App Mesh
11535
+ * proxy.</p>
11536
+ * @public
11537
+ */
11538
+ export interface AwsEcsTaskDefinitionProxyConfigurationDetails {
11539
+ /**
11540
+ * <p>The name of the container that will serve as the App Mesh proxy.</p>
11541
+ * @public
11542
+ */
11543
+ ContainerName?: string | undefined;
11544
+ /**
11545
+ * <p>The set of network configuration parameters to provide to the Container Network Interface (CNI) plugin, specified as key-value pairs.</p>
11546
+ * @public
11547
+ */
11548
+ ProxyConfigurationProperties?: AwsEcsTaskDefinitionProxyConfigurationProxyConfigurationPropertiesDetails[] | undefined;
11549
+ /**
11550
+ * <p>The proxy type.</p>
11551
+ * @public
11552
+ */
11553
+ Type?: string | undefined;
11554
+ }
11555
+ /**
11556
+ * <p>Information about a Docker volume.</p>
11557
+ * @public
11558
+ */
11559
+ export interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails {
11560
+ /**
11561
+ * <p>Whether to create the Docker volume automatically if it does not already exist.</p>
11562
+ * @public
11563
+ */
11564
+ Autoprovision?: boolean | undefined;
11565
+ /**
11566
+ * <p>The Docker volume driver to use.</p>
11567
+ * @public
11568
+ */
11569
+ Driver?: string | undefined;
11570
+ /**
11571
+ * <p>A map of Docker driver-specific options that are passed through.</p>
11572
+ * @public
11573
+ */
11574
+ DriverOpts?: Record<string, string> | undefined;
11575
+ /**
11576
+ * <p>Custom metadata to add to the Docker volume.</p>
11577
+ * @public
11578
+ */
11579
+ Labels?: Record<string, string> | undefined;
11580
+ /**
11581
+ * <p>The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned
11582
+ * automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are <code>shared</code> or <code>task</code>.</p>
11583
+ * @public
11584
+ */
11585
+ Scope?: string | undefined;
11586
+ }
11587
+ /**
11588
+ * <p></p>
11589
+ * @public
11590
+ */
11591
+ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails {
11592
+ /**
11593
+ * <p>The Amazon EFS access point identifier to use.</p>
11594
+ * @public
11595
+ */
11596
+ AccessPointId?: string | undefined;
11597
+ /**
11598
+ * <p>Whether to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.</p>
11599
+ * @public
11600
+ */
11601
+ Iam?: string | undefined;
11602
+ }
11603
+ /**
11604
+ * <p>Information about the Amazon Elastic File System file system that is used for task storage.</p>
11605
+ * @public
11606
+ */
11607
+ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails {
11608
+ /**
11609
+ * <p>The authorization configuration details for the Amazon EFS file system.</p>
11610
+ * @public
11611
+ */
11612
+ AuthorizationConfig?: AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails | undefined;
11613
+ /**
11614
+ * <p>The Amazon EFS file system identifier to use.</p>
11615
+ * @public
11616
+ */
11617
+ FilesystemId?: string | undefined;
11618
+ /**
11619
+ * <p>The directory within the Amazon EFS file system to mount as the root directory inside the host.</p>
11620
+ * @public
11621
+ */
11622
+ RootDirectory?: string | undefined;
11623
+ /**
11624
+ * <p>Whether to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. </p>
11625
+ * @public
11626
+ */
11627
+ TransitEncryption?: string | undefined;
11628
+ /**
11629
+ * <p>The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.</p>
11630
+ * @public
11631
+ */
11632
+ TransitEncryptionPort?: number | undefined;
11633
+ }