@aws-sdk/client-batch 3.1163.0 → 3.1165.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/dist-cjs/index.js +42 -9
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +33 -8
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +53 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +53 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +53 -0
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +144 -9
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1164.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -287,6 +287,7 @@ const _ECDk = "EksContainerDetails";
|
|
|
287
287
|
const _ECEV = "EksContainerEnvironmentVariable";
|
|
288
288
|
const _ECEVk = "EksContainerEnvironmentVariables";
|
|
289
289
|
const _ECL = "Ec2ConfigurationList";
|
|
290
|
+
const _ECLC = "EksContainerLinuxCapabilities";
|
|
290
291
|
const _ECO = "EksContainerOverride";
|
|
291
292
|
const _ECOL = "EksContainerOverrideList";
|
|
292
293
|
const _ECRR = "EksContainerResourceRequirements";
|
|
@@ -312,9 +313,11 @@ const _EPOk = "EksPropertiesOverride";
|
|
|
312
313
|
const _EPP = "EksPodProperties";
|
|
313
314
|
const _EPPD = "EksPodPropertiesDetail";
|
|
314
315
|
const _EPPO = "EksPodPropertiesOverride";
|
|
316
|
+
const _EPSC = "EksPodSecurityContext";
|
|
315
317
|
const _EPVC = "EksPersistentVolumeClaim";
|
|
316
318
|
const _EPk = "EksProperties";
|
|
317
319
|
const _ES = "EcsSettings";
|
|
320
|
+
const _ESP = "EksSeccompProfile";
|
|
318
321
|
const _ESk = "EksSecret";
|
|
319
322
|
const _ESp = "EphemeralStorage";
|
|
320
323
|
const _ETD = "EcsTaskDetails";
|
|
@@ -554,6 +557,7 @@ const _aQ = "availableQuantity";
|
|
|
554
557
|
const _aS = "allocationStrategy";
|
|
555
558
|
const _aSC = "activeShareCount";
|
|
556
559
|
const _ac = "action";
|
|
560
|
+
const _ad = "add";
|
|
557
561
|
const _an = "annotations";
|
|
558
562
|
const _ar = "arns";
|
|
559
563
|
const _arg = "args";
|
|
@@ -595,17 +599,19 @@ const _cT = "capacityTags";
|
|
|
595
599
|
const _cTl = "clientToken";
|
|
596
600
|
const _cU = "capacityUnit";
|
|
597
601
|
const _cUa = "capacityUsage";
|
|
602
|
+
const _ca = "capabilities";
|
|
598
603
|
const _co = "container";
|
|
599
604
|
const _cod = "code";
|
|
600
605
|
const _com = "command";
|
|
601
606
|
const _con = "containers";
|
|
602
607
|
const _cond = "condition";
|
|
603
608
|
const _cont = "context";
|
|
604
|
-
const _d = "
|
|
609
|
+
const _d = "drop";
|
|
605
610
|
const _dC = "desiredvCpus";
|
|
606
611
|
const _dO = "dependsOn";
|
|
607
612
|
const _dP = "dnsPolicy";
|
|
608
613
|
const _dS = "desiredState";
|
|
614
|
+
const _de = "devices";
|
|
609
615
|
const _e = "error";
|
|
610
616
|
const _eA = "eksAttempts";
|
|
611
617
|
const _eC = "exitCode";
|
|
@@ -634,6 +640,7 @@ const _es = "essential";
|
|
|
634
640
|
const _f = "filters";
|
|
635
641
|
const _fC = "firelensConfiguration";
|
|
636
642
|
const _fE = "fipsEnabled";
|
|
643
|
+
const _fG = "fsGroup";
|
|
637
644
|
const _fOQ = "frontOfQueue";
|
|
638
645
|
const _fOQS = "frontOfQuotaShares";
|
|
639
646
|
const _fP = "fairsharePolicy";
|
|
@@ -700,6 +707,7 @@ const _lA = "latestAttempt";
|
|
|
700
707
|
const _lC = "logConfiguration";
|
|
701
708
|
const _lD = "logDriver";
|
|
702
709
|
const _lP = "linuxParameters";
|
|
710
|
+
const _lPo = "localhostProfile";
|
|
703
711
|
const _lSC = "localStorageConfiguration";
|
|
704
712
|
const _lSN = "logStreamName";
|
|
705
713
|
const _lT = "launchTemplate";
|
|
@@ -828,6 +836,7 @@ const _sPN = "shareProcessNamespace";
|
|
|
828
836
|
const _sPO = "schedulingPriorityOverride";
|
|
829
837
|
const _sPc = "schedulingPolicies";
|
|
830
838
|
const _sPch = "schedulingPriority";
|
|
839
|
+
const _sPe = "seccompProfile";
|
|
831
840
|
const _sPo = "sourcePath";
|
|
832
841
|
const _sPu = "subPath";
|
|
833
842
|
const _sR = "statusReason";
|
|
@@ -1345,6 +1354,11 @@ var EksContainerEnvironmentVariable$ = [3, n0, _ECEV,
|
|
|
1345
1354
|
[_n, _va],
|
|
1346
1355
|
[0, 0], 1
|
|
1347
1356
|
];
|
|
1357
|
+
var EksContainerLinuxCapabilities$ = [3, n0, _ECLC,
|
|
1358
|
+
0,
|
|
1359
|
+
[_ad, _d],
|
|
1360
|
+
[64 | 0, 64 | 0]
|
|
1361
|
+
];
|
|
1348
1362
|
var EksContainerOverride$ = [3, n0, _ECO,
|
|
1349
1363
|
0,
|
|
1350
1364
|
[_n, _im, _com, _arg, _env, _re],
|
|
@@ -1357,8 +1371,8 @@ var EksContainerResourceRequirements$ = [3, n0, _ECRR,
|
|
|
1357
1371
|
];
|
|
1358
1372
|
var EksContainerSecurityContext$ = [3, n0, _ECSC,
|
|
1359
1373
|
0,
|
|
1360
|
-
[_rAU, _rAG, _p, _aPE, _rORF, _rANR],
|
|
1361
|
-
[1, 1, 2, 2, 2, 2]
|
|
1374
|
+
[_rAU, _rAG, _p, _aPE, _rORF, _rANR, _ca, _sPe],
|
|
1375
|
+
[1, 1, 2, 2, 2, 2, () => EksContainerLinuxCapabilities$, () => EksSeccompProfile$]
|
|
1362
1376
|
];
|
|
1363
1377
|
var EksContainerVolumeMount$ = [3, n0, _ECVM,
|
|
1364
1378
|
0,
|
|
@@ -1387,19 +1401,24 @@ var EksPersistentVolumeClaim$ = [3, n0, _EPVC,
|
|
|
1387
1401
|
];
|
|
1388
1402
|
var EksPodProperties$ = [3, n0, _EPP,
|
|
1389
1403
|
0,
|
|
1390
|
-
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _met, _sPN],
|
|
1391
|
-
[0, 2, 0, () => ImagePullSecrets, () => EksContainers, () => EksContainers, () => EksVolumes, () => EksMetadata$, 2]
|
|
1404
|
+
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _met, _sPN, _sC],
|
|
1405
|
+
[0, 2, 0, () => ImagePullSecrets, () => EksContainers, () => EksContainers, () => EksVolumes, () => EksMetadata$, 2, () => EksPodSecurityContext$]
|
|
1392
1406
|
];
|
|
1393
1407
|
var EksPodPropertiesDetail$ = [3, n0, _EPPD,
|
|
1394
1408
|
0,
|
|
1395
|
-
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _pN, _nN, _met, _sPN],
|
|
1396
|
-
[0, 2, 0, () => ImagePullSecrets, () => EksContainerDetails, () => EksContainerDetails, () => EksVolumes, 0, 0, () => EksMetadata$, 2]
|
|
1409
|
+
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _pN, _nN, _met, _sPN, _sC],
|
|
1410
|
+
[0, 2, 0, () => ImagePullSecrets, () => EksContainerDetails, () => EksContainerDetails, () => EksVolumes, 0, 0, () => EksMetadata$, 2, () => EksPodSecurityContext$]
|
|
1397
1411
|
];
|
|
1398
1412
|
var EksPodPropertiesOverride$ = [3, n0, _EPPO,
|
|
1399
1413
|
0,
|
|
1400
1414
|
[_con, _iC, _met],
|
|
1401
1415
|
[() => EksContainerOverrideList, () => EksContainerOverrideList, () => EksMetadata$]
|
|
1402
1416
|
];
|
|
1417
|
+
var EksPodSecurityContext$ = [3, n0, _EPSC,
|
|
1418
|
+
0,
|
|
1419
|
+
[_rAU, _rAG, _rANR, _sPe, _fG],
|
|
1420
|
+
[1, 1, 2, () => EksSeccompProfile$, 1]
|
|
1421
|
+
];
|
|
1403
1422
|
var EksProperties$ = [3, n0, _EPk,
|
|
1404
1423
|
0,
|
|
1405
1424
|
[_pP],
|
|
@@ -1415,6 +1434,11 @@ var EksPropertiesOverride$ = [3, n0, _EPOk,
|
|
|
1415
1434
|
[_pP],
|
|
1416
1435
|
[() => EksPodPropertiesOverride$]
|
|
1417
1436
|
];
|
|
1437
|
+
var EksSeccompProfile$ = [3, n0, _ESP,
|
|
1438
|
+
0,
|
|
1439
|
+
[_ty, _lPo],
|
|
1440
|
+
[0, 0], 1
|
|
1441
|
+
];
|
|
1418
1442
|
var EksSecret$ = [3, n0, _ESk,
|
|
1419
1443
|
0,
|
|
1420
1444
|
[_sN, _op],
|
|
@@ -1592,7 +1616,7 @@ var LaunchTemplateSpecificationOverride$ = [3, n0, _LTSO,
|
|
|
1592
1616
|
];
|
|
1593
1617
|
var LinuxParameters$ = [3, n0, _LP,
|
|
1594
1618
|
0,
|
|
1595
|
-
[
|
|
1619
|
+
[_de, _iPE, _sMS, _tm, _mS, _sw],
|
|
1596
1620
|
[() => DevicesList, 2, 1, () => TmpfsList, 1, 1]
|
|
1597
1621
|
];
|
|
1598
1622
|
var ListConsumableResourcesRequest$ = [3, n0, _LCRR,
|
|
@@ -3000,6 +3024,11 @@ const FirelensConfigurationType = {
|
|
|
3000
3024
|
FLUENTBIT: "fluentbit",
|
|
3001
3025
|
FLUENTD: "fluentd",
|
|
3002
3026
|
};
|
|
3027
|
+
const EksSeccompProfileType = {
|
|
3028
|
+
LOCALHOST: "Localhost",
|
|
3029
|
+
RUNTIME_DEFAULT: "RuntimeDefault",
|
|
3030
|
+
UNCONFINED: "Unconfined",
|
|
3031
|
+
};
|
|
3003
3032
|
const PlatformCapability = {
|
|
3004
3033
|
EC2: "EC2",
|
|
3005
3034
|
FARGATE: "FARGATE",
|
|
@@ -3229,6 +3258,7 @@ exports.EksConfigurationUpdate$ = EksConfigurationUpdate$;
|
|
|
3229
3258
|
exports.EksContainer$ = EksContainer$;
|
|
3230
3259
|
exports.EksContainerDetail$ = EksContainerDetail$;
|
|
3231
3260
|
exports.EksContainerEnvironmentVariable$ = EksContainerEnvironmentVariable$;
|
|
3261
|
+
exports.EksContainerLinuxCapabilities$ = EksContainerLinuxCapabilities$;
|
|
3232
3262
|
exports.EksContainerOverride$ = EksContainerOverride$;
|
|
3233
3263
|
exports.EksContainerResourceRequirements$ = EksContainerResourceRequirements$;
|
|
3234
3264
|
exports.EksContainerSecurityContext$ = EksContainerSecurityContext$;
|
|
@@ -3240,9 +3270,12 @@ exports.EksPersistentVolumeClaim$ = EksPersistentVolumeClaim$;
|
|
|
3240
3270
|
exports.EksPodProperties$ = EksPodProperties$;
|
|
3241
3271
|
exports.EksPodPropertiesDetail$ = EksPodPropertiesDetail$;
|
|
3242
3272
|
exports.EksPodPropertiesOverride$ = EksPodPropertiesOverride$;
|
|
3273
|
+
exports.EksPodSecurityContext$ = EksPodSecurityContext$;
|
|
3243
3274
|
exports.EksProperties$ = EksProperties$;
|
|
3244
3275
|
exports.EksPropertiesDetail$ = EksPropertiesDetail$;
|
|
3245
3276
|
exports.EksPropertiesOverride$ = EksPropertiesOverride$;
|
|
3277
|
+
exports.EksSeccompProfile$ = EksSeccompProfile$;
|
|
3278
|
+
exports.EksSeccompProfileType = EksSeccompProfileType;
|
|
3246
3279
|
exports.EksSecret$ = EksSecret$;
|
|
3247
3280
|
exports.EksVolume$ = EksVolume$;
|
|
3248
3281
|
exports.EphemeralStorage$ = EphemeralStorage$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -132,6 +132,11 @@ export const FirelensConfigurationType = {
|
|
|
132
132
|
FLUENTBIT: "fluentbit",
|
|
133
133
|
FLUENTD: "fluentd",
|
|
134
134
|
};
|
|
135
|
+
export const EksSeccompProfileType = {
|
|
136
|
+
LOCALHOST: "Localhost",
|
|
137
|
+
RUNTIME_DEFAULT: "RuntimeDefault",
|
|
138
|
+
UNCONFINED: "Unconfined",
|
|
139
|
+
};
|
|
135
140
|
export const PlatformCapability = {
|
|
136
141
|
EC2: "EC2",
|
|
137
142
|
FARGATE: "FARGATE",
|
|
@@ -113,6 +113,7 @@ const _ECDk = "EksContainerDetails";
|
|
|
113
113
|
const _ECEV = "EksContainerEnvironmentVariable";
|
|
114
114
|
const _ECEVk = "EksContainerEnvironmentVariables";
|
|
115
115
|
const _ECL = "Ec2ConfigurationList";
|
|
116
|
+
const _ECLC = "EksContainerLinuxCapabilities";
|
|
116
117
|
const _ECO = "EksContainerOverride";
|
|
117
118
|
const _ECOL = "EksContainerOverrideList";
|
|
118
119
|
const _ECRR = "EksContainerResourceRequirements";
|
|
@@ -138,9 +139,11 @@ const _EPOk = "EksPropertiesOverride";
|
|
|
138
139
|
const _EPP = "EksPodProperties";
|
|
139
140
|
const _EPPD = "EksPodPropertiesDetail";
|
|
140
141
|
const _EPPO = "EksPodPropertiesOverride";
|
|
142
|
+
const _EPSC = "EksPodSecurityContext";
|
|
141
143
|
const _EPVC = "EksPersistentVolumeClaim";
|
|
142
144
|
const _EPk = "EksProperties";
|
|
143
145
|
const _ES = "EcsSettings";
|
|
146
|
+
const _ESP = "EksSeccompProfile";
|
|
144
147
|
const _ESk = "EksSecret";
|
|
145
148
|
const _ESp = "EphemeralStorage";
|
|
146
149
|
const _ETD = "EcsTaskDetails";
|
|
@@ -380,6 +383,7 @@ const _aQ = "availableQuantity";
|
|
|
380
383
|
const _aS = "allocationStrategy";
|
|
381
384
|
const _aSC = "activeShareCount";
|
|
382
385
|
const _ac = "action";
|
|
386
|
+
const _ad = "add";
|
|
383
387
|
const _an = "annotations";
|
|
384
388
|
const _ar = "arns";
|
|
385
389
|
const _arg = "args";
|
|
@@ -421,17 +425,19 @@ const _cT = "capacityTags";
|
|
|
421
425
|
const _cTl = "clientToken";
|
|
422
426
|
const _cU = "capacityUnit";
|
|
423
427
|
const _cUa = "capacityUsage";
|
|
428
|
+
const _ca = "capabilities";
|
|
424
429
|
const _co = "container";
|
|
425
430
|
const _cod = "code";
|
|
426
431
|
const _com = "command";
|
|
427
432
|
const _con = "containers";
|
|
428
433
|
const _cond = "condition";
|
|
429
434
|
const _cont = "context";
|
|
430
|
-
const _d = "
|
|
435
|
+
const _d = "drop";
|
|
431
436
|
const _dC = "desiredvCpus";
|
|
432
437
|
const _dO = "dependsOn";
|
|
433
438
|
const _dP = "dnsPolicy";
|
|
434
439
|
const _dS = "desiredState";
|
|
440
|
+
const _de = "devices";
|
|
435
441
|
const _e = "error";
|
|
436
442
|
const _eA = "eksAttempts";
|
|
437
443
|
const _eC = "exitCode";
|
|
@@ -460,6 +466,7 @@ const _es = "essential";
|
|
|
460
466
|
const _f = "filters";
|
|
461
467
|
const _fC = "firelensConfiguration";
|
|
462
468
|
const _fE = "fipsEnabled";
|
|
469
|
+
const _fG = "fsGroup";
|
|
463
470
|
const _fOQ = "frontOfQueue";
|
|
464
471
|
const _fOQS = "frontOfQuotaShares";
|
|
465
472
|
const _fP = "fairsharePolicy";
|
|
@@ -526,6 +533,7 @@ const _lA = "latestAttempt";
|
|
|
526
533
|
const _lC = "logConfiguration";
|
|
527
534
|
const _lD = "logDriver";
|
|
528
535
|
const _lP = "linuxParameters";
|
|
536
|
+
const _lPo = "localhostProfile";
|
|
529
537
|
const _lSC = "localStorageConfiguration";
|
|
530
538
|
const _lSN = "logStreamName";
|
|
531
539
|
const _lT = "launchTemplate";
|
|
@@ -654,6 +662,7 @@ const _sPN = "shareProcessNamespace";
|
|
|
654
662
|
const _sPO = "schedulingPriorityOverride";
|
|
655
663
|
const _sPc = "schedulingPolicies";
|
|
656
664
|
const _sPch = "schedulingPriority";
|
|
665
|
+
const _sPe = "seccompProfile";
|
|
657
666
|
const _sPo = "sourcePath";
|
|
658
667
|
const _sPu = "subPath";
|
|
659
668
|
const _sR = "statusReason";
|
|
@@ -1174,6 +1183,11 @@ export var EksContainerEnvironmentVariable$ = [3, n0, _ECEV,
|
|
|
1174
1183
|
[_n, _va],
|
|
1175
1184
|
[0, 0], 1
|
|
1176
1185
|
];
|
|
1186
|
+
export var EksContainerLinuxCapabilities$ = [3, n0, _ECLC,
|
|
1187
|
+
0,
|
|
1188
|
+
[_ad, _d],
|
|
1189
|
+
[64 | 0, 64 | 0]
|
|
1190
|
+
];
|
|
1177
1191
|
export var EksContainerOverride$ = [3, n0, _ECO,
|
|
1178
1192
|
0,
|
|
1179
1193
|
[_n, _im, _com, _arg, _env, _re],
|
|
@@ -1186,8 +1200,8 @@ export var EksContainerResourceRequirements$ = [3, n0, _ECRR,
|
|
|
1186
1200
|
];
|
|
1187
1201
|
export var EksContainerSecurityContext$ = [3, n0, _ECSC,
|
|
1188
1202
|
0,
|
|
1189
|
-
[_rAU, _rAG, _p, _aPE, _rORF, _rANR],
|
|
1190
|
-
[1, 1, 2, 2, 2, 2]
|
|
1203
|
+
[_rAU, _rAG, _p, _aPE, _rORF, _rANR, _ca, _sPe],
|
|
1204
|
+
[1, 1, 2, 2, 2, 2, () => EksContainerLinuxCapabilities$, () => EksSeccompProfile$]
|
|
1191
1205
|
];
|
|
1192
1206
|
export var EksContainerVolumeMount$ = [3, n0, _ECVM,
|
|
1193
1207
|
0,
|
|
@@ -1216,19 +1230,24 @@ export var EksPersistentVolumeClaim$ = [3, n0, _EPVC,
|
|
|
1216
1230
|
];
|
|
1217
1231
|
export var EksPodProperties$ = [3, n0, _EPP,
|
|
1218
1232
|
0,
|
|
1219
|
-
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _met, _sPN],
|
|
1220
|
-
[0, 2, 0, () => ImagePullSecrets, () => EksContainers, () => EksContainers, () => EksVolumes, () => EksMetadata$, 2]
|
|
1233
|
+
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _met, _sPN, _sC],
|
|
1234
|
+
[0, 2, 0, () => ImagePullSecrets, () => EksContainers, () => EksContainers, () => EksVolumes, () => EksMetadata$, 2, () => EksPodSecurityContext$]
|
|
1221
1235
|
];
|
|
1222
1236
|
export var EksPodPropertiesDetail$ = [3, n0, _EPPD,
|
|
1223
1237
|
0,
|
|
1224
|
-
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _pN, _nN, _met, _sPN],
|
|
1225
|
-
[0, 2, 0, () => ImagePullSecrets, () => EksContainerDetails, () => EksContainerDetails, () => EksVolumes, 0, 0, () => EksMetadata$, 2]
|
|
1238
|
+
[_sAN, _hN, _dP, _iPS, _con, _iC, _vo, _pN, _nN, _met, _sPN, _sC],
|
|
1239
|
+
[0, 2, 0, () => ImagePullSecrets, () => EksContainerDetails, () => EksContainerDetails, () => EksVolumes, 0, 0, () => EksMetadata$, 2, () => EksPodSecurityContext$]
|
|
1226
1240
|
];
|
|
1227
1241
|
export var EksPodPropertiesOverride$ = [3, n0, _EPPO,
|
|
1228
1242
|
0,
|
|
1229
1243
|
[_con, _iC, _met],
|
|
1230
1244
|
[() => EksContainerOverrideList, () => EksContainerOverrideList, () => EksMetadata$]
|
|
1231
1245
|
];
|
|
1246
|
+
export var EksPodSecurityContext$ = [3, n0, _EPSC,
|
|
1247
|
+
0,
|
|
1248
|
+
[_rAU, _rAG, _rANR, _sPe, _fG],
|
|
1249
|
+
[1, 1, 2, () => EksSeccompProfile$, 1]
|
|
1250
|
+
];
|
|
1232
1251
|
export var EksProperties$ = [3, n0, _EPk,
|
|
1233
1252
|
0,
|
|
1234
1253
|
[_pP],
|
|
@@ -1244,6 +1263,11 @@ export var EksPropertiesOverride$ = [3, n0, _EPOk,
|
|
|
1244
1263
|
[_pP],
|
|
1245
1264
|
[() => EksPodPropertiesOverride$]
|
|
1246
1265
|
];
|
|
1266
|
+
export var EksSeccompProfile$ = [3, n0, _ESP,
|
|
1267
|
+
0,
|
|
1268
|
+
[_ty, _lPo],
|
|
1269
|
+
[0, 0], 1
|
|
1270
|
+
];
|
|
1247
1271
|
export var EksSecret$ = [3, n0, _ESk,
|
|
1248
1272
|
0,
|
|
1249
1273
|
[_sN, _op],
|
|
@@ -1421,7 +1445,7 @@ export var LaunchTemplateSpecificationOverride$ = [3, n0, _LTSO,
|
|
|
1421
1445
|
];
|
|
1422
1446
|
export var LinuxParameters$ = [3, n0, _LP,
|
|
1423
1447
|
0,
|
|
1424
|
-
[
|
|
1448
|
+
[_de, _iPE, _sMS, _tm, _mS, _sw],
|
|
1425
1449
|
[() => DevicesList, 2, 1, () => TmpfsList, 1, 1]
|
|
1426
1450
|
];
|
|
1427
1451
|
export var ListConsumableResourcesRequest$ = [3, n0, _LCRR,
|
|
@@ -1989,6 +2013,7 @@ var EksContainerDetails = [1, n0, _ECDk,
|
|
|
1989
2013
|
var EksContainerEnvironmentVariables = [1, n0, _ECEVk,
|
|
1990
2014
|
0, () => EksContainerEnvironmentVariable$
|
|
1991
2015
|
];
|
|
2016
|
+
var EksContainerLinuxCapabilityList = 64 | 0;
|
|
1992
2017
|
var EksContainerOverrideList = [1, n0, _ECOL,
|
|
1993
2018
|
0, () => EksContainerOverride$
|
|
1994
2019
|
];
|
|
@@ -408,6 +408,18 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
408
408
|
* // allowPrivilegeEscalation: true || false,
|
|
409
409
|
* // readOnlyRootFilesystem: true || false,
|
|
410
410
|
* // runAsNonRoot: true || false,
|
|
411
|
+
* // capabilities: { // EksContainerLinuxCapabilities
|
|
412
|
+
* // add: [ // EksContainerLinuxCapabilityList
|
|
413
|
+
* // "STRING_VALUE",
|
|
414
|
+
* // ],
|
|
415
|
+
* // drop: [
|
|
416
|
+
* // "STRING_VALUE",
|
|
417
|
+
* // ],
|
|
418
|
+
* // },
|
|
419
|
+
* // seccompProfile: { // EksSeccompProfile
|
|
420
|
+
* // type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
421
|
+
* // localhostProfile: "STRING_VALUE",
|
|
422
|
+
* // },
|
|
411
423
|
* // },
|
|
412
424
|
* // },
|
|
413
425
|
* // ],
|
|
@@ -447,6 +459,18 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
447
459
|
* // allowPrivilegeEscalation: true || false,
|
|
448
460
|
* // readOnlyRootFilesystem: true || false,
|
|
449
461
|
* // runAsNonRoot: true || false,
|
|
462
|
+
* // capabilities: {
|
|
463
|
+
* // add: [
|
|
464
|
+
* // "STRING_VALUE",
|
|
465
|
+
* // ],
|
|
466
|
+
* // drop: [
|
|
467
|
+
* // "STRING_VALUE",
|
|
468
|
+
* // ],
|
|
469
|
+
* // },
|
|
470
|
+
* // seccompProfile: {
|
|
471
|
+
* // type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
472
|
+
* // localhostProfile: "STRING_VALUE",
|
|
473
|
+
* // },
|
|
450
474
|
* // },
|
|
451
475
|
* // },
|
|
452
476
|
* // ],
|
|
@@ -480,6 +504,16 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
480
504
|
* // namespace: "STRING_VALUE",
|
|
481
505
|
* // },
|
|
482
506
|
* // shareProcessNamespace: true || false,
|
|
507
|
+
* // securityContext: { // EksPodSecurityContext
|
|
508
|
+
* // runAsUser: Number("long"),
|
|
509
|
+
* // runAsGroup: Number("long"),
|
|
510
|
+
* // runAsNonRoot: true || false,
|
|
511
|
+
* // seccompProfile: {
|
|
512
|
+
* // type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
513
|
+
* // localhostProfile: "STRING_VALUE",
|
|
514
|
+
* // },
|
|
515
|
+
* // fsGroup: Number("long"),
|
|
516
|
+
* // },
|
|
483
517
|
* // },
|
|
484
518
|
* // },
|
|
485
519
|
* // consumableResourceProperties: { // ConsumableResourceProperties
|
|
@@ -596,6 +630,13 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
596
630
|
* // allowPrivilegeEscalation: true || false,
|
|
597
631
|
* // readOnlyRootFilesystem: true || false,
|
|
598
632
|
* // runAsNonRoot: true || false,
|
|
633
|
+
* // capabilities: {
|
|
634
|
+
* // add: [
|
|
635
|
+
* // "STRING_VALUE",
|
|
636
|
+
* // ],
|
|
637
|
+
* // drop: "<EksContainerLinuxCapabilityList>",
|
|
638
|
+
* // },
|
|
639
|
+
* // seccompProfile: "<EksSeccompProfile>",
|
|
599
640
|
* // },
|
|
600
641
|
* // },
|
|
601
642
|
* // ],
|
|
@@ -635,6 +676,11 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
635
676
|
* // allowPrivilegeEscalation: true || false,
|
|
636
677
|
* // readOnlyRootFilesystem: true || false,
|
|
637
678
|
* // runAsNonRoot: true || false,
|
|
679
|
+
* // capabilities: {
|
|
680
|
+
* // add: "<EksContainerLinuxCapabilityList>",
|
|
681
|
+
* // drop: "<EksContainerLinuxCapabilityList>",
|
|
682
|
+
* // },
|
|
683
|
+
* // seccompProfile: "<EksSeccompProfile>",
|
|
638
684
|
* // },
|
|
639
685
|
* // },
|
|
640
686
|
* // ],
|
|
@@ -668,6 +714,13 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
668
714
|
* // namespace: "STRING_VALUE",
|
|
669
715
|
* // },
|
|
670
716
|
* // shareProcessNamespace: true || false,
|
|
717
|
+
* // securityContext: {
|
|
718
|
+
* // runAsUser: Number("long"),
|
|
719
|
+
* // runAsGroup: Number("long"),
|
|
720
|
+
* // runAsNonRoot: true || false,
|
|
721
|
+
* // seccompProfile: "<EksSeccompProfile>",
|
|
722
|
+
* // fsGroup: Number("long"),
|
|
723
|
+
* // },
|
|
671
724
|
* // },
|
|
672
725
|
* // },
|
|
673
726
|
* // containerOrchestrationType: "ECS" || "EKS",
|
|
@@ -464,6 +464,18 @@ declare const DescribeJobsCommand_base: {
|
|
|
464
464
|
* // allowPrivilegeEscalation: true || false,
|
|
465
465
|
* // readOnlyRootFilesystem: true || false,
|
|
466
466
|
* // runAsNonRoot: true || false,
|
|
467
|
+
* // capabilities: { // EksContainerLinuxCapabilities
|
|
468
|
+
* // add: [ // EksContainerLinuxCapabilityList
|
|
469
|
+
* // "STRING_VALUE",
|
|
470
|
+
* // ],
|
|
471
|
+
* // drop: [
|
|
472
|
+
* // "STRING_VALUE",
|
|
473
|
+
* // ],
|
|
474
|
+
* // },
|
|
475
|
+
* // seccompProfile: { // EksSeccompProfile
|
|
476
|
+
* // type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
477
|
+
* // localhostProfile: "STRING_VALUE",
|
|
478
|
+
* // },
|
|
467
479
|
* // },
|
|
468
480
|
* // },
|
|
469
481
|
* // ],
|
|
@@ -503,6 +515,18 @@ declare const DescribeJobsCommand_base: {
|
|
|
503
515
|
* // allowPrivilegeEscalation: true || false,
|
|
504
516
|
* // readOnlyRootFilesystem: true || false,
|
|
505
517
|
* // runAsNonRoot: true || false,
|
|
518
|
+
* // capabilities: {
|
|
519
|
+
* // add: [
|
|
520
|
+
* // "STRING_VALUE",
|
|
521
|
+
* // ],
|
|
522
|
+
* // drop: [
|
|
523
|
+
* // "STRING_VALUE",
|
|
524
|
+
* // ],
|
|
525
|
+
* // },
|
|
526
|
+
* // seccompProfile: {
|
|
527
|
+
* // type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
528
|
+
* // localhostProfile: "STRING_VALUE",
|
|
529
|
+
* // },
|
|
506
530
|
* // },
|
|
507
531
|
* // },
|
|
508
532
|
* // ],
|
|
@@ -536,6 +560,16 @@ declare const DescribeJobsCommand_base: {
|
|
|
536
560
|
* // namespace: "STRING_VALUE",
|
|
537
561
|
* // },
|
|
538
562
|
* // shareProcessNamespace: true || false,
|
|
563
|
+
* // securityContext: { // EksPodSecurityContext
|
|
564
|
+
* // runAsUser: Number("long"),
|
|
565
|
+
* // runAsGroup: Number("long"),
|
|
566
|
+
* // runAsNonRoot: true || false,
|
|
567
|
+
* // seccompProfile: {
|
|
568
|
+
* // type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
569
|
+
* // localhostProfile: "STRING_VALUE",
|
|
570
|
+
* // },
|
|
571
|
+
* // fsGroup: Number("long"),
|
|
572
|
+
* // },
|
|
539
573
|
* // },
|
|
540
574
|
* // },
|
|
541
575
|
* // consumableResourceProperties: { // ConsumableResourceProperties
|
|
@@ -615,6 +649,13 @@ declare const DescribeJobsCommand_base: {
|
|
|
615
649
|
* // allowPrivilegeEscalation: true || false,
|
|
616
650
|
* // readOnlyRootFilesystem: true || false,
|
|
617
651
|
* // runAsNonRoot: true || false,
|
|
652
|
+
* // capabilities: {
|
|
653
|
+
* // add: [
|
|
654
|
+
* // "STRING_VALUE",
|
|
655
|
+
* // ],
|
|
656
|
+
* // drop: "<EksContainerLinuxCapabilityList>",
|
|
657
|
+
* // },
|
|
658
|
+
* // seccompProfile: "<EksSeccompProfile>",
|
|
618
659
|
* // },
|
|
619
660
|
* // },
|
|
620
661
|
* // ],
|
|
@@ -656,6 +697,11 @@ declare const DescribeJobsCommand_base: {
|
|
|
656
697
|
* // allowPrivilegeEscalation: true || false,
|
|
657
698
|
* // readOnlyRootFilesystem: true || false,
|
|
658
699
|
* // runAsNonRoot: true || false,
|
|
700
|
+
* // capabilities: {
|
|
701
|
+
* // add: "<EksContainerLinuxCapabilityList>",
|
|
702
|
+
* // drop: "<EksContainerLinuxCapabilityList>",
|
|
703
|
+
* // },
|
|
704
|
+
* // seccompProfile: "<EksSeccompProfile>",
|
|
659
705
|
* // },
|
|
660
706
|
* // },
|
|
661
707
|
* // ],
|
|
@@ -691,6 +737,13 @@ declare const DescribeJobsCommand_base: {
|
|
|
691
737
|
* // namespace: "STRING_VALUE",
|
|
692
738
|
* // },
|
|
693
739
|
* // shareProcessNamespace: true || false,
|
|
740
|
+
* // securityContext: {
|
|
741
|
+
* // runAsUser: Number("long"),
|
|
742
|
+
* // runAsGroup: Number("long"),
|
|
743
|
+
* // runAsNonRoot: true || false,
|
|
744
|
+
* // seccompProfile: "<EksSeccompProfile>",
|
|
745
|
+
* // fsGroup: Number("long"),
|
|
746
|
+
* // },
|
|
694
747
|
* // },
|
|
695
748
|
* // },
|
|
696
749
|
* // eksAttempts: [ // EksAttemptDetails
|
|
@@ -377,6 +377,18 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
377
377
|
* allowPrivilegeEscalation: true || false,
|
|
378
378
|
* readOnlyRootFilesystem: true || false,
|
|
379
379
|
* runAsNonRoot: true || false,
|
|
380
|
+
* capabilities: { // EksContainerLinuxCapabilities
|
|
381
|
+
* add: [ // EksContainerLinuxCapabilityList
|
|
382
|
+
* "STRING_VALUE",
|
|
383
|
+
* ],
|
|
384
|
+
* drop: [
|
|
385
|
+
* "STRING_VALUE",
|
|
386
|
+
* ],
|
|
387
|
+
* },
|
|
388
|
+
* seccompProfile: { // EksSeccompProfile
|
|
389
|
+
* type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
390
|
+
* localhostProfile: "STRING_VALUE",
|
|
391
|
+
* },
|
|
380
392
|
* },
|
|
381
393
|
* },
|
|
382
394
|
* ],
|
|
@@ -416,6 +428,18 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
416
428
|
* allowPrivilegeEscalation: true || false,
|
|
417
429
|
* readOnlyRootFilesystem: true || false,
|
|
418
430
|
* runAsNonRoot: true || false,
|
|
431
|
+
* capabilities: {
|
|
432
|
+
* add: [
|
|
433
|
+
* "STRING_VALUE",
|
|
434
|
+
* ],
|
|
435
|
+
* drop: [
|
|
436
|
+
* "STRING_VALUE",
|
|
437
|
+
* ],
|
|
438
|
+
* },
|
|
439
|
+
* seccompProfile: {
|
|
440
|
+
* type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
441
|
+
* localhostProfile: "STRING_VALUE",
|
|
442
|
+
* },
|
|
419
443
|
* },
|
|
420
444
|
* },
|
|
421
445
|
* ],
|
|
@@ -449,6 +473,16 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
449
473
|
* namespace: "STRING_VALUE",
|
|
450
474
|
* },
|
|
451
475
|
* shareProcessNamespace: true || false,
|
|
476
|
+
* securityContext: { // EksPodSecurityContext
|
|
477
|
+
* runAsUser: Number("long"),
|
|
478
|
+
* runAsGroup: Number("long"),
|
|
479
|
+
* runAsNonRoot: true || false,
|
|
480
|
+
* seccompProfile: {
|
|
481
|
+
* type: "RuntimeDefault" || "Localhost" || "Unconfined", // required
|
|
482
|
+
* localhostProfile: "STRING_VALUE",
|
|
483
|
+
* },
|
|
484
|
+
* fsGroup: Number("long"),
|
|
485
|
+
* },
|
|
452
486
|
* },
|
|
453
487
|
* },
|
|
454
488
|
* consumableResourceProperties: { // ConsumableResourceProperties
|
|
@@ -529,6 +563,13 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
529
563
|
* allowPrivilegeEscalation: true || false,
|
|
530
564
|
* readOnlyRootFilesystem: true || false,
|
|
531
565
|
* runAsNonRoot: true || false,
|
|
566
|
+
* capabilities: {
|
|
567
|
+
* add: [
|
|
568
|
+
* "STRING_VALUE",
|
|
569
|
+
* ],
|
|
570
|
+
* drop: "<EksContainerLinuxCapabilityList>",
|
|
571
|
+
* },
|
|
572
|
+
* seccompProfile: "<EksSeccompProfile>",
|
|
532
573
|
* },
|
|
533
574
|
* },
|
|
534
575
|
* ],
|
|
@@ -568,6 +609,11 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
568
609
|
* allowPrivilegeEscalation: true || false,
|
|
569
610
|
* readOnlyRootFilesystem: true || false,
|
|
570
611
|
* runAsNonRoot: true || false,
|
|
612
|
+
* capabilities: {
|
|
613
|
+
* add: "<EksContainerLinuxCapabilityList>",
|
|
614
|
+
* drop: "<EksContainerLinuxCapabilityList>",
|
|
615
|
+
* },
|
|
616
|
+
* seccompProfile: "<EksSeccompProfile>",
|
|
571
617
|
* },
|
|
572
618
|
* },
|
|
573
619
|
* ],
|
|
@@ -601,6 +647,13 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
601
647
|
* namespace: "STRING_VALUE",
|
|
602
648
|
* },
|
|
603
649
|
* shareProcessNamespace: true || false,
|
|
650
|
+
* securityContext: {
|
|
651
|
+
* runAsUser: Number("long"),
|
|
652
|
+
* runAsGroup: Number("long"),
|
|
653
|
+
* runAsNonRoot: true || false,
|
|
654
|
+
* seccompProfile: "<EksSeccompProfile>",
|
|
655
|
+
* fsGroup: Number("long"),
|
|
656
|
+
* },
|
|
604
657
|
* },
|
|
605
658
|
* },
|
|
606
659
|
* ecsProperties: {
|
|
@@ -356,6 +356,19 @@ export declare const FirelensConfigurationType: {
|
|
|
356
356
|
* @public
|
|
357
357
|
*/
|
|
358
358
|
export type FirelensConfigurationType = (typeof FirelensConfigurationType)[keyof typeof FirelensConfigurationType];
|
|
359
|
+
/**
|
|
360
|
+
* @public
|
|
361
|
+
* @enum
|
|
362
|
+
*/
|
|
363
|
+
export declare const EksSeccompProfileType: {
|
|
364
|
+
readonly LOCALHOST: "Localhost";
|
|
365
|
+
readonly RUNTIME_DEFAULT: "RuntimeDefault";
|
|
366
|
+
readonly UNCONFINED: "Unconfined";
|
|
367
|
+
};
|
|
368
|
+
/**
|
|
369
|
+
* @public
|
|
370
|
+
*/
|
|
371
|
+
export type EksSeccompProfileType = (typeof EksSeccompProfileType)[keyof typeof EksSeccompProfileType];
|
|
359
372
|
/**
|
|
360
373
|
* @public
|
|
361
374
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ArrayJobDependency, AssignPublicIp, CEState, CEStatus, CEType, ContainerInsights, CRAllocationStrategy, CRType, CRUpdateAllocationStrategy, DeviceCgroupPermission, EFSAuthorizationConfigIAM, EFSTransitEncryption, EksAccessEntryDesiredState, EksAccessEntryStatus, FirelensConfigurationType, JobDefinitionType, JobQueueType, JobStateTimeLimitActionsAction, JobStateTimeLimitActionsState, JobStatus, JQState, JQStatus, LogDriver, OrchestrationType, PlatformCapability, QuotaShareIdleResourceAssignmentStrategy, QuotaShareInSharePreemptionState, QuotaShareResourceSharingStrategy, QuotaShareState, QuotaShareStatus, ResourceType, RetryAction, ServiceEnvironmentState, ServiceEnvironmentStatus, ServiceEnvironmentType, ServiceJobRetryAction, ServiceJobStatus, ServiceJobType, ServiceResourceIdName, UserdataType } from "./enums";
|
|
1
|
+
import type { ArrayJobDependency, AssignPublicIp, CEState, CEStatus, CEType, ContainerInsights, CRAllocationStrategy, CRType, CRUpdateAllocationStrategy, DeviceCgroupPermission, EFSAuthorizationConfigIAM, EFSTransitEncryption, EksAccessEntryDesiredState, EksAccessEntryStatus, EksSeccompProfileType, FirelensConfigurationType, JobDefinitionType, JobQueueType, JobStateTimeLimitActionsAction, JobStateTimeLimitActionsState, JobStatus, JQState, JQStatus, LogDriver, OrchestrationType, PlatformCapability, QuotaShareIdleResourceAssignmentStrategy, QuotaShareInSharePreemptionState, QuotaShareResourceSharingStrategy, QuotaShareState, QuotaShareStatus, ResourceType, RetryAction, ServiceEnvironmentState, ServiceEnvironmentStatus, ServiceEnvironmentType, ServiceJobRetryAction, ServiceJobStatus, ServiceJobType, ServiceResourceIdName, UserdataType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>An object that represents an Batch array job.</p>
|
|
4
4
|
* @public
|
|
@@ -4223,6 +4223,64 @@ export interface EksContainerResourceRequirements {
|
|
|
4223
4223
|
*/
|
|
4224
4224
|
requests?: Record<string, string> | undefined;
|
|
4225
4225
|
}
|
|
4226
|
+
/**
|
|
4227
|
+
* <p>The Linux capabilities for the container. For more information, see <a href="https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container">Set capabilities for a container</a> in the <i>Kubernetes
|
|
4228
|
+
* documentation</i>.</p>
|
|
4229
|
+
* @public
|
|
4230
|
+
*/
|
|
4231
|
+
export interface EksContainerLinuxCapabilities {
|
|
4232
|
+
/**
|
|
4233
|
+
* <p>The Linux capabilities to add to the default capability set for the container. This
|
|
4234
|
+
* parameter contains up to 64 values. Specify capability names without the <code>CAP_</code>
|
|
4235
|
+
* prefix.</p>
|
|
4236
|
+
* @public
|
|
4237
|
+
*/
|
|
4238
|
+
add?: string[] | undefined;
|
|
4239
|
+
/**
|
|
4240
|
+
* <p>The Linux capabilities to remove from the default capability set for the container. This
|
|
4241
|
+
* parameter contains up to 64 values. Specify capability names without the <code>CAP_</code>
|
|
4242
|
+
* prefix.</p>
|
|
4243
|
+
* @public
|
|
4244
|
+
*/
|
|
4245
|
+
drop?: string[] | undefined;
|
|
4246
|
+
}
|
|
4247
|
+
/**
|
|
4248
|
+
* <p>The Linux seccomp profile for a pod or container. For more information, see <a href="https://kubernetes.io/docs/tutorials/security/seccomp/">Restrict a Container's
|
|
4249
|
+
* Syscalls with seccomp</a> in the <i>Kubernetes documentation</i>.</p>
|
|
4250
|
+
* @public
|
|
4251
|
+
*/
|
|
4252
|
+
export interface EksSeccompProfile {
|
|
4253
|
+
/**
|
|
4254
|
+
* <p>The seccomp profile type can be one of the following values:</p>
|
|
4255
|
+
* <dl>
|
|
4256
|
+
* <dt>RuntimeDefault</dt>
|
|
4257
|
+
* <dd>
|
|
4258
|
+
* <p>The <code>RuntimeDefault</code> value uses the container runtime's default seccomp
|
|
4259
|
+
* profile.</p>
|
|
4260
|
+
* </dd>
|
|
4261
|
+
* <dt>Unconfined</dt>
|
|
4262
|
+
* <dd>
|
|
4263
|
+
* <p>The <code>Unconfined</code> value doesn't filter the container with seccomp.</p>
|
|
4264
|
+
* </dd>
|
|
4265
|
+
* <dt>Localhost</dt>
|
|
4266
|
+
* <dd>
|
|
4267
|
+
* <p>The <code>Localhost</code> value uses a custom profile at the path specified by
|
|
4268
|
+
* <code>localhostProfile</code>.</p>
|
|
4269
|
+
* </dd>
|
|
4270
|
+
* </dl>
|
|
4271
|
+
* @public
|
|
4272
|
+
*/
|
|
4273
|
+
type: EksSeccompProfileType | undefined;
|
|
4274
|
+
/**
|
|
4275
|
+
* <p>The path of the profile on the node, relative to the configured seccomp profile location.
|
|
4276
|
+
* You must specify this parameter when <code>type</code> is <code>Localhost</code>. Don't set this
|
|
4277
|
+
* parameter for any other type. You are responsible for ensuring that the profile exists on every
|
|
4278
|
+
* eligible worker node. For information about providing files to Amazon EKS nodes, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/eks-launch-templates.html">Use a launch template with
|
|
4279
|
+
* Batch on Amazon EKS</a> in the <i>Batch User Guide</i>.</p>
|
|
4280
|
+
* @public
|
|
4281
|
+
*/
|
|
4282
|
+
localhostProfile?: string | undefined;
|
|
4283
|
+
}
|
|
4226
4284
|
/**
|
|
4227
4285
|
* <p>The security context for a job. For more information, see <a href="https://kubernetes.io/docs/tasks/configure-pod-container/security-context/">Configure a
|
|
4228
4286
|
* security context for a pod or container</a> in the <i>Kubernetes
|
|
@@ -4233,8 +4291,9 @@ export interface EksContainerSecurityContext {
|
|
|
4233
4291
|
/**
|
|
4234
4292
|
* <p>When this parameter is specified, the container is run as the specified user ID
|
|
4235
4293
|
* (<code>uid</code>). If this parameter isn't specified, the default is the user that's specified
|
|
4236
|
-
* in the image metadata.
|
|
4237
|
-
*
|
|
4294
|
+
* in the image metadata. The supported value range is <code>0</code> through
|
|
4295
|
+
* <code>2147483647</code>. This parameter maps to <code>RunAsUser</code> and
|
|
4296
|
+
* <code>MustRunAs</code> policy in the <a href="https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups">Users
|
|
4238
4297
|
* and groups pod security policies</a> in the <i>Kubernetes
|
|
4239
4298
|
* documentation</i>.</p>
|
|
4240
4299
|
* @public
|
|
@@ -4243,8 +4302,9 @@ export interface EksContainerSecurityContext {
|
|
|
4243
4302
|
/**
|
|
4244
4303
|
* <p>When this parameter is specified, the container is run as the specified group ID
|
|
4245
4304
|
* (<code>gid</code>). If this parameter isn't specified, the default is the group that's specified
|
|
4246
|
-
* in the image metadata.
|
|
4247
|
-
*
|
|
4305
|
+
* in the image metadata. The supported value range is <code>0</code> through
|
|
4306
|
+
* <code>2147483647</code>. This parameter maps to <code>RunAsGroup</code> and
|
|
4307
|
+
* <code>MustRunAs</code> policy in the <a href="https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups">Users
|
|
4248
4308
|
* and groups pod security policies</a> in the <i>Kubernetes
|
|
4249
4309
|
* documentation</i>.</p>
|
|
4250
4310
|
* @public
|
|
@@ -4282,6 +4342,21 @@ export interface EksContainerSecurityContext {
|
|
|
4282
4342
|
* @public
|
|
4283
4343
|
*/
|
|
4284
4344
|
runAsNonRoot?: boolean | undefined;
|
|
4345
|
+
/**
|
|
4346
|
+
* <p>Adds or removes Linux capabilities from the container's default capability set.
|
|
4347
|
+
* With Linux capabilities, you can grant specific privileges without granting full root
|
|
4348
|
+
* permissions.</p>
|
|
4349
|
+
* @public
|
|
4350
|
+
*/
|
|
4351
|
+
capabilities?: EksContainerLinuxCapabilities | undefined;
|
|
4352
|
+
/**
|
|
4353
|
+
* <p>The seccomp profile for the container. A container-level seccomp profile overrides the
|
|
4354
|
+
* profile in the pod security context, which defines security settings that apply to all
|
|
4355
|
+
* containers in the pod unless a container overrides them. If this parameter isn't specified,
|
|
4356
|
+
* the container uses the pod security context's seccomp profile when one is specified.</p>
|
|
4357
|
+
* @public
|
|
4358
|
+
*/
|
|
4359
|
+
seccompProfile?: EksSeccompProfile | undefined;
|
|
4285
4360
|
}
|
|
4286
4361
|
/**
|
|
4287
4362
|
* <p>The volume mounts for a container for an Amazon EKS job. For more information about volumes and
|
|
@@ -4486,6 +4561,48 @@ export interface EksMetadata {
|
|
|
4486
4561
|
*/
|
|
4487
4562
|
namespace?: string | undefined;
|
|
4488
4563
|
}
|
|
4564
|
+
/**
|
|
4565
|
+
* <p>The security context for the pod. The settings apply to all containers in the pod when
|
|
4566
|
+
* the container does not specify an overriding value. For more information, see <a href="https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod">Set the security context for a Pod</a> in the <i>Kubernetes
|
|
4567
|
+
* documentation</i>.</p>
|
|
4568
|
+
* @public
|
|
4569
|
+
*/
|
|
4570
|
+
export interface EksPodSecurityContext {
|
|
4571
|
+
/**
|
|
4572
|
+
* <p>The user ID that runs containers in the pod when a container does not specify its own
|
|
4573
|
+
* user ID. The supported value range is <code>0</code> through
|
|
4574
|
+
* <code>2147483647</code>.</p>
|
|
4575
|
+
* @public
|
|
4576
|
+
*/
|
|
4577
|
+
runAsUser?: number | undefined;
|
|
4578
|
+
/**
|
|
4579
|
+
* <p>The primary group ID that runs containers in the pod when a container does not specify
|
|
4580
|
+
* its own group ID. The supported value range is <code>0</code> through
|
|
4581
|
+
* <code>2147483647</code>.</p>
|
|
4582
|
+
* @public
|
|
4583
|
+
*/
|
|
4584
|
+
runAsGroup?: number | undefined;
|
|
4585
|
+
/**
|
|
4586
|
+
* <p>Specifies whether Kubernetes validates that containers in the pod don't run as the root user
|
|
4587
|
+
* unless a container specifies an overriding value.</p>
|
|
4588
|
+
* @public
|
|
4589
|
+
*/
|
|
4590
|
+
runAsNonRoot?: boolean | undefined;
|
|
4591
|
+
/**
|
|
4592
|
+
* <p>The default seccomp profile for containers in the pod. A container-level seccomp profile
|
|
4593
|
+
* overrides this value.</p>
|
|
4594
|
+
* @public
|
|
4595
|
+
*/
|
|
4596
|
+
seccompProfile?: EksSeccompProfile | undefined;
|
|
4597
|
+
/**
|
|
4598
|
+
* <p>A special supplemental group that is applied to all containers in the pod. Some volume
|
|
4599
|
+
* types allow Kubernetes to change the ownership and permissions of the volume contents to this group
|
|
4600
|
+
* when the volume is mounted. The supported value range is <code>0</code> through
|
|
4601
|
+
* <code>2147483647</code>.</p>
|
|
4602
|
+
* @public
|
|
4603
|
+
*/
|
|
4604
|
+
fsGroup?: number | undefined;
|
|
4605
|
+
}
|
|
4489
4606
|
/**
|
|
4490
4607
|
* <p>Specifies the configuration of a Kubernetes <code>emptyDir</code> volume. An
|
|
4491
4608
|
* <code>emptyDir</code> volume is first created when a pod is assigned to a node. It exists as
|
|
@@ -4700,6 +4817,12 @@ export interface EksPodProperties {
|
|
|
4700
4817
|
* @public
|
|
4701
4818
|
*/
|
|
4702
4819
|
shareProcessNamespace?: boolean | undefined;
|
|
4820
|
+
/**
|
|
4821
|
+
* <p>The security context to apply to the pod. The settings apply to all containers in the
|
|
4822
|
+
* pod unless an individual container specifies an overriding value.</p>
|
|
4823
|
+
* @public
|
|
4824
|
+
*/
|
|
4825
|
+
securityContext?: EksPodSecurityContext | undefined;
|
|
4703
4826
|
}
|
|
4704
4827
|
/**
|
|
4705
4828
|
* <p>An object that contains the properties for the Kubernetes resources of a job.</p>
|
|
@@ -4939,8 +5062,9 @@ export interface JobDefinition {
|
|
|
4939
5062
|
* <code>containerProperties</code>, <code>ecsProperties</code>, or
|
|
4940
5063
|
* <code>eksProperties</code>.</p>
|
|
4941
5064
|
* <note>
|
|
4942
|
-
* <p>If the job runs on Fargate resources, don't specify <code>nodeProperties</code>.
|
|
4943
|
-
*
|
|
5065
|
+
* <p>If the job runs on Fargate resources, don't specify <code>nodeProperties</code>. We
|
|
5066
|
+
* recommend <code>ecsProperties</code>, which supports both single-container and multi-container
|
|
5067
|
+
* jobs. <code>containerProperties</code> is also supported for single-container jobs.</p>
|
|
4944
5068
|
* </note>
|
|
4945
5069
|
* @public
|
|
4946
5070
|
*/
|
|
@@ -6075,6 +6199,12 @@ export interface EksPodPropertiesDetail {
|
|
|
6075
6199
|
* @public
|
|
6076
6200
|
*/
|
|
6077
6201
|
shareProcessNamespace?: boolean | undefined;
|
|
6202
|
+
/**
|
|
6203
|
+
* <p>The security context applied to the pod. The settings apply to all containers in the
|
|
6204
|
+
* pod unless an individual container specifies an overriding value.</p>
|
|
6205
|
+
* @public
|
|
6206
|
+
*/
|
|
6207
|
+
securityContext?: EksPodSecurityContext | undefined;
|
|
6078
6208
|
}
|
|
6079
6209
|
/**
|
|
6080
6210
|
* <p>An object that contains the details for the Kubernetes resources of a job.</p>
|
|
@@ -8105,7 +8235,10 @@ export interface RegisterJobDefinitionRequest {
|
|
|
8105
8235
|
* specified for Amazon EKS-based job definitions.</p>
|
|
8106
8236
|
* <note>
|
|
8107
8237
|
* <p>If the job runs on Fargate resources, then you must not specify
|
|
8108
|
-
* <code>nodeProperties</code
|
|
8238
|
+
* <code>nodeProperties</code>. We recommend <code>ecsProperties</code>, which supports both
|
|
8239
|
+
* single-container and multi-container jobs. <code>containerProperties</code> is also
|
|
8240
|
+
* supported for single-container jobs. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/multi-container-jobs.html">Multi-container jobs</a> in the
|
|
8241
|
+
* <i>Batch User Guide</i>.</p>
|
|
8109
8242
|
* </note>
|
|
8110
8243
|
* @public
|
|
8111
8244
|
*/
|
|
@@ -8116,7 +8249,9 @@ export interface RegisterJobDefinitionRequest {
|
|
|
8116
8249
|
* Jobs</a> in the <i>Batch User Guide</i>.</p>
|
|
8117
8250
|
* <note>
|
|
8118
8251
|
* <p>If the job runs on Fargate resources, then you must not specify
|
|
8119
|
-
* <code>nodeProperties</code
|
|
8252
|
+
* <code>nodeProperties</code>. We recommend <code>ecsProperties</code>, which supports both
|
|
8253
|
+
* single-container and multi-container jobs. <code>containerProperties</code> is also
|
|
8254
|
+
* supported for single-container jobs.</p>
|
|
8120
8255
|
* </note>
|
|
8121
8256
|
* <note>
|
|
8122
8257
|
* <p>If the job runs on Amazon EKS resources, then you must not specify
|
|
@@ -97,6 +97,7 @@ export declare var EksConfigurationUpdate$: StaticStructureSchema;
|
|
|
97
97
|
export declare var EksContainer$: StaticStructureSchema;
|
|
98
98
|
export declare var EksContainerDetail$: StaticStructureSchema;
|
|
99
99
|
export declare var EksContainerEnvironmentVariable$: StaticStructureSchema;
|
|
100
|
+
export declare var EksContainerLinuxCapabilities$: StaticStructureSchema;
|
|
100
101
|
export declare var EksContainerOverride$: StaticStructureSchema;
|
|
101
102
|
export declare var EksContainerResourceRequirements$: StaticStructureSchema;
|
|
102
103
|
export declare var EksContainerSecurityContext$: StaticStructureSchema;
|
|
@@ -108,9 +109,11 @@ export declare var EksPersistentVolumeClaim$: StaticStructureSchema;
|
|
|
108
109
|
export declare var EksPodProperties$: StaticStructureSchema;
|
|
109
110
|
export declare var EksPodPropertiesDetail$: StaticStructureSchema;
|
|
110
111
|
export declare var EksPodPropertiesOverride$: StaticStructureSchema;
|
|
112
|
+
export declare var EksPodSecurityContext$: StaticStructureSchema;
|
|
111
113
|
export declare var EksProperties$: StaticStructureSchema;
|
|
112
114
|
export declare var EksPropertiesDetail$: StaticStructureSchema;
|
|
113
115
|
export declare var EksPropertiesOverride$: StaticStructureSchema;
|
|
116
|
+
export declare var EksSeccompProfile$: StaticStructureSchema;
|
|
114
117
|
export declare var EksSecret$: StaticStructureSchema;
|
|
115
118
|
export declare var EksVolume$: StaticStructureSchema;
|
|
116
119
|
export declare var EphemeralStorage$: StaticStructureSchema;
|
|
@@ -171,6 +171,13 @@ export declare const FirelensConfigurationType: {
|
|
|
171
171
|
};
|
|
172
172
|
export type FirelensConfigurationType =
|
|
173
173
|
(typeof FirelensConfigurationType)[keyof typeof FirelensConfigurationType];
|
|
174
|
+
export declare const EksSeccompProfileType: {
|
|
175
|
+
readonly LOCALHOST: "Localhost";
|
|
176
|
+
readonly RUNTIME_DEFAULT: "RuntimeDefault";
|
|
177
|
+
readonly UNCONFINED: "Unconfined";
|
|
178
|
+
};
|
|
179
|
+
export type EksSeccompProfileType =
|
|
180
|
+
(typeof EksSeccompProfileType)[keyof typeof EksSeccompProfileType];
|
|
174
181
|
export declare const PlatformCapability: {
|
|
175
182
|
readonly EC2: "EC2";
|
|
176
183
|
readonly FARGATE: "FARGATE";
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
EFSTransitEncryption,
|
|
14
14
|
EksAccessEntryDesiredState,
|
|
15
15
|
EksAccessEntryStatus,
|
|
16
|
+
EksSeccompProfileType,
|
|
16
17
|
FirelensConfigurationType,
|
|
17
18
|
JobDefinitionType,
|
|
18
19
|
JobQueueType,
|
|
@@ -570,6 +571,14 @@ export interface EksContainerResourceRequirements {
|
|
|
570
571
|
limits?: Record<string, string> | undefined;
|
|
571
572
|
requests?: Record<string, string> | undefined;
|
|
572
573
|
}
|
|
574
|
+
export interface EksContainerLinuxCapabilities {
|
|
575
|
+
add?: string[] | undefined;
|
|
576
|
+
drop?: string[] | undefined;
|
|
577
|
+
}
|
|
578
|
+
export interface EksSeccompProfile {
|
|
579
|
+
type: EksSeccompProfileType | undefined;
|
|
580
|
+
localhostProfile?: string | undefined;
|
|
581
|
+
}
|
|
573
582
|
export interface EksContainerSecurityContext {
|
|
574
583
|
runAsUser?: number | undefined;
|
|
575
584
|
runAsGroup?: number | undefined;
|
|
@@ -577,6 +586,8 @@ export interface EksContainerSecurityContext {
|
|
|
577
586
|
allowPrivilegeEscalation?: boolean | undefined;
|
|
578
587
|
readOnlyRootFilesystem?: boolean | undefined;
|
|
579
588
|
runAsNonRoot?: boolean | undefined;
|
|
589
|
+
capabilities?: EksContainerLinuxCapabilities | undefined;
|
|
590
|
+
seccompProfile?: EksSeccompProfile | undefined;
|
|
580
591
|
}
|
|
581
592
|
export interface EksContainerVolumeMount {
|
|
582
593
|
name?: string | undefined;
|
|
@@ -603,6 +614,13 @@ export interface EksMetadata {
|
|
|
603
614
|
annotations?: Record<string, string> | undefined;
|
|
604
615
|
namespace?: string | undefined;
|
|
605
616
|
}
|
|
617
|
+
export interface EksPodSecurityContext {
|
|
618
|
+
runAsUser?: number | undefined;
|
|
619
|
+
runAsGroup?: number | undefined;
|
|
620
|
+
runAsNonRoot?: boolean | undefined;
|
|
621
|
+
seccompProfile?: EksSeccompProfile | undefined;
|
|
622
|
+
fsGroup?: number | undefined;
|
|
623
|
+
}
|
|
606
624
|
export interface EksEmptyDir {
|
|
607
625
|
medium?: string | undefined;
|
|
608
626
|
sizeLimit?: string | undefined;
|
|
@@ -635,6 +653,7 @@ export interface EksPodProperties {
|
|
|
635
653
|
volumes?: EksVolume[] | undefined;
|
|
636
654
|
metadata?: EksMetadata | undefined;
|
|
637
655
|
shareProcessNamespace?: boolean | undefined;
|
|
656
|
+
securityContext?: EksPodSecurityContext | undefined;
|
|
638
657
|
}
|
|
639
658
|
export interface EksProperties {
|
|
640
659
|
podProperties?: EksPodProperties | undefined;
|
|
@@ -837,6 +856,7 @@ export interface EksPodPropertiesDetail {
|
|
|
837
856
|
nodeName?: string | undefined;
|
|
838
857
|
metadata?: EksMetadata | undefined;
|
|
839
858
|
shareProcessNamespace?: boolean | undefined;
|
|
859
|
+
securityContext?: EksPodSecurityContext | undefined;
|
|
840
860
|
}
|
|
841
861
|
export interface EksPropertiesDetail {
|
|
842
862
|
podProperties?: EksPodPropertiesDetail | undefined;
|
|
@@ -92,6 +92,7 @@ export declare var EksConfigurationUpdate$: StaticStructureSchema;
|
|
|
92
92
|
export declare var EksContainer$: StaticStructureSchema;
|
|
93
93
|
export declare var EksContainerDetail$: StaticStructureSchema;
|
|
94
94
|
export declare var EksContainerEnvironmentVariable$: StaticStructureSchema;
|
|
95
|
+
export declare var EksContainerLinuxCapabilities$: StaticStructureSchema;
|
|
95
96
|
export declare var EksContainerOverride$: StaticStructureSchema;
|
|
96
97
|
export declare var EksContainerResourceRequirements$: StaticStructureSchema;
|
|
97
98
|
export declare var EksContainerSecurityContext$: StaticStructureSchema;
|
|
@@ -103,9 +104,11 @@ export declare var EksPersistentVolumeClaim$: StaticStructureSchema;
|
|
|
103
104
|
export declare var EksPodProperties$: StaticStructureSchema;
|
|
104
105
|
export declare var EksPodPropertiesDetail$: StaticStructureSchema;
|
|
105
106
|
export declare var EksPodPropertiesOverride$: StaticStructureSchema;
|
|
107
|
+
export declare var EksPodSecurityContext$: StaticStructureSchema;
|
|
106
108
|
export declare var EksProperties$: StaticStructureSchema;
|
|
107
109
|
export declare var EksPropertiesDetail$: StaticStructureSchema;
|
|
108
110
|
export declare var EksPropertiesOverride$: StaticStructureSchema;
|
|
111
|
+
export declare var EksSeccompProfile$: StaticStructureSchema;
|
|
109
112
|
export declare var EksSecret$: StaticStructureSchema;
|
|
110
113
|
export declare var EksVolume$: StaticStructureSchema;
|
|
111
114
|
export declare var EphemeralStorage$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-batch",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1165.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-batch",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.980.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.975.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.8.
|
|
54
|
-
"@smithy/node-http-handler": "^4.14.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.980.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.95",
|
|
51
|
+
"@aws-sdk/types": "^3.975.1",
|
|
52
|
+
"@smithy/core": "^3.39.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.1",
|
|
54
|
+
"@smithy/node-http-handler": "^4.14.2",
|
|
55
|
+
"@smithy/types": "^4.20.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|