Skip to content

Commit bda616d

Browse files
author
awstools
committed
feat(client-batch): This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs.
1 parent d835dbb commit bda616d

File tree

6 files changed

+508
-88
lines changed

6 files changed

+508
-88
lines changed

clients/client-batch/src/commands/DescribeJobDefinitionsCommand.ts

+131-21
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,116 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
340340
* // },
341341
* // ],
342342
* // },
343+
* // eksProperties: { // EksProperties
344+
* // podProperties: { // EksPodProperties
345+
* // serviceAccountName: "STRING_VALUE",
346+
* // hostNetwork: true || false,
347+
* // dnsPolicy: "STRING_VALUE",
348+
* // imagePullSecrets: [ // ImagePullSecrets
349+
* // { // ImagePullSecret
350+
* // name: "STRING_VALUE", // required
351+
* // },
352+
* // ],
353+
* // containers: [ // EksContainers
354+
* // { // EksContainer
355+
* // name: "STRING_VALUE",
356+
* // image: "STRING_VALUE", // required
357+
* // imagePullPolicy: "STRING_VALUE",
358+
* // command: "<StringList>",
359+
* // args: "<StringList>",
360+
* // env: [ // EksContainerEnvironmentVariables
361+
* // { // EksContainerEnvironmentVariable
362+
* // name: "STRING_VALUE", // required
363+
* // value: "STRING_VALUE",
364+
* // },
365+
* // ],
366+
* // resources: { // EksContainerResourceRequirements
367+
* // limits: { // EksLimits
368+
* // "<keys>": "STRING_VALUE",
369+
* // },
370+
* // requests: { // EksRequests
371+
* // "<keys>": "STRING_VALUE",
372+
* // },
373+
* // },
374+
* // volumeMounts: [ // EksContainerVolumeMounts
375+
* // { // EksContainerVolumeMount
376+
* // name: "STRING_VALUE",
377+
* // mountPath: "STRING_VALUE",
378+
* // readOnly: true || false,
379+
* // },
380+
* // ],
381+
* // securityContext: { // EksContainerSecurityContext
382+
* // runAsUser: Number("long"),
383+
* // runAsGroup: Number("long"),
384+
* // privileged: true || false,
385+
* // allowPrivilegeEscalation: true || false,
386+
* // readOnlyRootFilesystem: true || false,
387+
* // runAsNonRoot: true || false,
388+
* // },
389+
* // },
390+
* // ],
391+
* // initContainers: [
392+
* // {
393+
* // name: "STRING_VALUE",
394+
* // image: "STRING_VALUE", // required
395+
* // imagePullPolicy: "STRING_VALUE",
396+
* // command: "<StringList>",
397+
* // args: "<StringList>",
398+
* // env: [
399+
* // {
400+
* // name: "STRING_VALUE", // required
401+
* // value: "STRING_VALUE",
402+
* // },
403+
* // ],
404+
* // resources: {
405+
* // limits: {
406+
* // "<keys>": "STRING_VALUE",
407+
* // },
408+
* // requests: {
409+
* // "<keys>": "STRING_VALUE",
410+
* // },
411+
* // },
412+
* // volumeMounts: [
413+
* // {
414+
* // name: "STRING_VALUE",
415+
* // mountPath: "STRING_VALUE",
416+
* // readOnly: true || false,
417+
* // },
418+
* // ],
419+
* // securityContext: {
420+
* // runAsUser: Number("long"),
421+
* // runAsGroup: Number("long"),
422+
* // privileged: true || false,
423+
* // allowPrivilegeEscalation: true || false,
424+
* // readOnlyRootFilesystem: true || false,
425+
* // runAsNonRoot: true || false,
426+
* // },
427+
* // },
428+
* // ],
429+
* // volumes: [ // EksVolumes
430+
* // { // EksVolume
431+
* // name: "STRING_VALUE", // required
432+
* // hostPath: { // EksHostPath
433+
* // path: "STRING_VALUE",
434+
* // },
435+
* // emptyDir: { // EksEmptyDir
436+
* // medium: "STRING_VALUE",
437+
* // sizeLimit: "STRING_VALUE",
438+
* // },
439+
* // secret: { // EksSecret
440+
* // secretName: "STRING_VALUE", // required
441+
* // optional: true || false,
442+
* // },
443+
* // },
444+
* // ],
445+
* // metadata: { // EksMetadata
446+
* // labels: { // EksLabelsMap
447+
* // "<keys>": "STRING_VALUE",
448+
* // },
449+
* // },
450+
* // shareProcessNamespace: true || false,
451+
* // },
452+
* // },
343453
* // },
344454
* // ],
345455
* // },
@@ -390,45 +500,45 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
390500
* // },
391501
* // ],
392502
* // },
393-
* // eksProperties: { // EksProperties
394-
* // podProperties: { // EksPodProperties
503+
* // eksProperties: {
504+
* // podProperties: {
395505
* // serviceAccountName: "STRING_VALUE",
396506
* // hostNetwork: true || false,
397507
* // dnsPolicy: "STRING_VALUE",
398-
* // imagePullSecrets: [ // ImagePullSecrets
399-
* // { // ImagePullSecret
508+
* // imagePullSecrets: [
509+
* // {
400510
* // name: "STRING_VALUE", // required
401511
* // },
402512
* // ],
403-
* // containers: [ // EksContainers
404-
* // { // EksContainer
513+
* // containers: [
514+
* // {
405515
* // name: "STRING_VALUE",
406516
* // image: "STRING_VALUE", // required
407517
* // imagePullPolicy: "STRING_VALUE",
408518
* // command: "<StringList>",
409519
* // args: "<StringList>",
410-
* // env: [ // EksContainerEnvironmentVariables
411-
* // { // EksContainerEnvironmentVariable
520+
* // env: [
521+
* // {
412522
* // name: "STRING_VALUE", // required
413523
* // value: "STRING_VALUE",
414524
* // },
415525
* // ],
416-
* // resources: { // EksContainerResourceRequirements
417-
* // limits: { // EksLimits
526+
* // resources: {
527+
* // limits: {
418528
* // "<keys>": "STRING_VALUE",
419529
* // },
420-
* // requests: { // EksRequests
530+
* // requests: {
421531
* // "<keys>": "STRING_VALUE",
422532
* // },
423533
* // },
424-
* // volumeMounts: [ // EksContainerVolumeMounts
425-
* // { // EksContainerVolumeMount
534+
* // volumeMounts: [
535+
* // {
426536
* // name: "STRING_VALUE",
427537
* // mountPath: "STRING_VALUE",
428538
* // readOnly: true || false,
429539
* // },
430540
* // ],
431-
* // securityContext: { // EksContainerSecurityContext
541+
* // securityContext: {
432542
* // runAsUser: Number("long"),
433543
* // runAsGroup: Number("long"),
434544
* // privileged: true || false,
@@ -476,24 +586,24 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
476586
* // },
477587
* // },
478588
* // ],
479-
* // volumes: [ // EksVolumes
480-
* // { // EksVolume
589+
* // volumes: [
590+
* // {
481591
* // name: "STRING_VALUE", // required
482-
* // hostPath: { // EksHostPath
592+
* // hostPath: {
483593
* // path: "STRING_VALUE",
484594
* // },
485-
* // emptyDir: { // EksEmptyDir
595+
* // emptyDir: {
486596
* // medium: "STRING_VALUE",
487597
* // sizeLimit: "STRING_VALUE",
488598
* // },
489-
* // secret: { // EksSecret
599+
* // secret: {
490600
* // secretName: "STRING_VALUE", // required
491601
* // optional: true || false,
492602
* // },
493603
* // },
494604
* // ],
495-
* // metadata: { // EksMetadata
496-
* // labels: { // EksLabelsMap
605+
* // metadata: {
606+
* // labels: {
497607
* // "<keys>": "STRING_VALUE",
498608
* // },
499609
* // },

0 commit comments

Comments
 (0)