aws-sdk-batch 1.161.0 → 1.163.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad8a17d8ebfc6772f0548c8de2cfa9d0497023dc9888b5b546fbc566e6893692
4
- data.tar.gz: '0508f94cfe2814bc9099c057787edc7795d09d9fca181c3e4d642109128ae142'
3
+ metadata.gz: 91171531a424e136974428460cb5ebc0e40d19c565621618e7f03d478375619c
4
+ data.tar.gz: 26420163f658ae7b72eda98840597eb50a632993eecd88d2186863a76d4a18fc
5
5
  SHA512:
6
- metadata.gz: 947abd1982010036bd0fc6cae078b4e9622db13b052b8ee56cd1e43a6c2cab5743d221dcd5f55b2a111e40a4a96ed29b6245331e6753a95d21389cab32469d3a
7
- data.tar.gz: a0c20e353b890a2cb59d33d06607748c67c222c4c1a8a4ce91060ad35f42686de7d9e98920a0035f173256c63a55741cdf481dd17ff08c77a44a0d9f685f20aa
6
+ metadata.gz: 74e121b8f3694c6488477e939c6d91353ecad4e918836b44f4333ef16f111d4c88fe396e5aa68c22119a9859f238119de680bed34612106ffc759c6bea99ec9f
7
+ data.tar.gz: 5cea2e044212913d47eb25bfd31f0c890ec672f22c325145c1525b5c09c5d5294e246e4fedc04753750d383ec9c7692622879b74948a9a0a1c7717c1eea98f9f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.163.0 (2026-11-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.162.0 (2026-11-09)
10
+ ------------------
11
+
12
+ * Feature - Adds support for additional Amazon EKS security context settings in AWS Batch. Pod-level settings include fsGroup, runAsUser, runAsGroup, runAsNonRoot, and seccompProfile. Container-level settings add Linux capabilities and seccompProfile to existing runAsUser, runAsGroup, and runAsNonRoot support.
13
+
4
14
  1.161.0 (2026-11-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.161.0
1
+ 1.163.0
@@ -264,7 +264,8 @@ module Aws::Batch
264
264
  # An integer representing the maximum number attempts that will be made for
265
265
  # a single request, including the initial attempt. For example,
266
266
  # setting this value to 5 will result in a request being retried up to
267
- # 4 times. Used in `standard` and `adaptive` retry modes.
267
+ # 4 times. Used in `standard` and `adaptive` retry modes. Defaults to 3,
268
+ # except for DynamoDB and DynamoDB Streams, which default to 4.
268
269
  #
269
270
  # @option options [String] :profile ("default")
270
271
  # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
@@ -327,15 +328,15 @@ module Aws::Batch
327
328
  # used by the default backoff function. This option is only used in the
328
329
  # `legacy` retry mode.
329
330
  #
330
- # @option options [String] :retry_mode ("legacy")
331
+ # @option options [String] :retry_mode ("standard")
331
332
  # Specifies which retry algorithm to use. Values are:
332
333
  #
333
- # * `legacy` - The pre-existing retry behavior. This is the default
334
- # value if no retry mode is provided.
334
+ # * `legacy` - The pre-existing retry behavior.
335
335
  #
336
336
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
337
337
  # This includes support for retry quotas, which limit the number of
338
- # unsuccessful retries a client can make.
338
+ # unsuccessful retries a client can make. This is the default value
339
+ # if no retry mode is provided.
339
340
  #
340
341
  # * `adaptive` - A retry mode that includes all the functionality of
341
342
  # `standard` mode along with automatic client side throttling.
@@ -2571,6 +2572,12 @@ module Aws::Batch
2571
2572
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.allow_privilege_escalation #=> Boolean
2572
2573
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.read_only_root_filesystem #=> Boolean
2573
2574
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_non_root #=> Boolean
2575
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add #=> Array
2576
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add[0] #=> String
2577
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop #=> Array
2578
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop[0] #=> String
2579
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
2580
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.localhost_profile #=> String
2574
2581
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers #=> Array
2575
2582
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].name #=> String
2576
2583
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].image #=> String
@@ -2597,6 +2604,12 @@ module Aws::Batch
2597
2604
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.allow_privilege_escalation #=> Boolean
2598
2605
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.read_only_root_filesystem #=> Boolean
2599
2606
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_non_root #=> Boolean
2607
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add #=> Array
2608
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add[0] #=> String
2609
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop #=> Array
2610
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop[0] #=> String
2611
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
2612
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.localhost_profile #=> String
2600
2613
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes #=> Array
2601
2614
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].name #=> String
2602
2615
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].host_path.path #=> String
@@ -2612,6 +2625,12 @@ module Aws::Batch
2612
2625
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
2613
2626
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.namespace #=> String
2614
2627
  # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2628
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.run_as_user #=> Integer
2629
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.run_as_group #=> Integer
2630
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.run_as_non_root #=> Boolean
2631
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
2632
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.seccomp_profile.localhost_profile #=> String
2633
+ # resp.job_definitions[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.fs_group #=> Integer
2615
2634
  # resp.job_definitions[0].node_properties.node_range_properties[0].consumable_resource_properties.consumable_resource_list #=> Array
2616
2635
  # resp.job_definitions[0].node_properties.node_range_properties[0].consumable_resource_properties.consumable_resource_list[0].consumable_resource #=> String
2617
2636
  # resp.job_definitions[0].node_properties.node_range_properties[0].consumable_resource_properties.consumable_resource_list[0].quantity #=> Integer
@@ -2731,6 +2750,12 @@ module Aws::Batch
2731
2750
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.allow_privilege_escalation #=> Boolean
2732
2751
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.read_only_root_filesystem #=> Boolean
2733
2752
  # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.run_as_non_root #=> Boolean
2753
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add #=> Array
2754
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add[0] #=> String
2755
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop #=> Array
2756
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop[0] #=> String
2757
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
2758
+ # resp.job_definitions[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.localhost_profile #=> String
2734
2759
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers #=> Array
2735
2760
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].name #=> String
2736
2761
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].image #=> String
@@ -2757,6 +2782,12 @@ module Aws::Batch
2757
2782
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.allow_privilege_escalation #=> Boolean
2758
2783
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.read_only_root_filesystem #=> Boolean
2759
2784
  # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_non_root #=> Boolean
2785
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add #=> Array
2786
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add[0] #=> String
2787
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop #=> Array
2788
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop[0] #=> String
2789
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
2790
+ # resp.job_definitions[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.localhost_profile #=> String
2760
2791
  # resp.job_definitions[0].eks_properties.pod_properties.volumes #=> Array
2761
2792
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].name #=> String
2762
2793
  # resp.job_definitions[0].eks_properties.pod_properties.volumes[0].host_path.path #=> String
@@ -2772,6 +2803,12 @@ module Aws::Batch
2772
2803
  # resp.job_definitions[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
2773
2804
  # resp.job_definitions[0].eks_properties.pod_properties.metadata.namespace #=> String
2774
2805
  # resp.job_definitions[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2806
+ # resp.job_definitions[0].eks_properties.pod_properties.security_context.run_as_user #=> Integer
2807
+ # resp.job_definitions[0].eks_properties.pod_properties.security_context.run_as_group #=> Integer
2808
+ # resp.job_definitions[0].eks_properties.pod_properties.security_context.run_as_non_root #=> Boolean
2809
+ # resp.job_definitions[0].eks_properties.pod_properties.security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
2810
+ # resp.job_definitions[0].eks_properties.pod_properties.security_context.seccomp_profile.localhost_profile #=> String
2811
+ # resp.job_definitions[0].eks_properties.pod_properties.security_context.fs_group #=> Integer
2775
2812
  # resp.job_definitions[0].container_orchestration_type #=> String, one of "ECS", "EKS"
2776
2813
  # resp.job_definitions[0].consumable_resource_properties.consumable_resource_list #=> Array
2777
2814
  # resp.job_definitions[0].consumable_resource_properties.consumable_resource_list[0].consumable_resource #=> String
@@ -3276,6 +3313,12 @@ module Aws::Batch
3276
3313
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.allow_privilege_escalation #=> Boolean
3277
3314
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.read_only_root_filesystem #=> Boolean
3278
3315
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.run_as_non_root #=> Boolean
3316
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add #=> Array
3317
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add[0] #=> String
3318
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop #=> Array
3319
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop[0] #=> String
3320
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
3321
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.localhost_profile #=> String
3279
3322
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers #=> Array
3280
3323
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].name #=> String
3281
3324
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].image #=> String
@@ -3302,6 +3345,12 @@ module Aws::Batch
3302
3345
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.allow_privilege_escalation #=> Boolean
3303
3346
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.read_only_root_filesystem #=> Boolean
3304
3347
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_non_root #=> Boolean
3348
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add #=> Array
3349
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add[0] #=> String
3350
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop #=> Array
3351
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop[0] #=> String
3352
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
3353
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.localhost_profile #=> String
3305
3354
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes #=> Array
3306
3355
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].name #=> String
3307
3356
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.volumes[0].host_path.path #=> String
@@ -3317,6 +3366,12 @@ module Aws::Batch
3317
3366
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
3318
3367
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.metadata.namespace #=> String
3319
3368
  # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
3369
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.run_as_user #=> Integer
3370
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.run_as_group #=> Integer
3371
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.run_as_non_root #=> Boolean
3372
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
3373
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.seccomp_profile.localhost_profile #=> String
3374
+ # resp.jobs[0].node_properties.node_range_properties[0].eks_properties.pod_properties.security_context.fs_group #=> Integer
3320
3375
  # resp.jobs[0].node_properties.node_range_properties[0].consumable_resource_properties.consumable_resource_list #=> Array
3321
3376
  # resp.jobs[0].node_properties.node_range_properties[0].consumable_resource_properties.consumable_resource_list[0].consumable_resource #=> String
3322
3377
  # resp.jobs[0].node_properties.node_range_properties[0].consumable_resource_properties.consumable_resource_list[0].quantity #=> Integer
@@ -3364,6 +3419,12 @@ module Aws::Batch
3364
3419
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.allow_privilege_escalation #=> Boolean
3365
3420
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.read_only_root_filesystem #=> Boolean
3366
3421
  # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.run_as_non_root #=> Boolean
3422
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add #=> Array
3423
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.capabilities.add[0] #=> String
3424
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop #=> Array
3425
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.capabilities.drop[0] #=> String
3426
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
3427
+ # resp.jobs[0].eks_properties.pod_properties.containers[0].security_context.seccomp_profile.localhost_profile #=> String
3367
3428
  # resp.jobs[0].eks_properties.pod_properties.init_containers #=> Array
3368
3429
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].name #=> String
3369
3430
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].image #=> String
@@ -3392,6 +3453,12 @@ module Aws::Batch
3392
3453
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.allow_privilege_escalation #=> Boolean
3393
3454
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.read_only_root_filesystem #=> Boolean
3394
3455
  # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.run_as_non_root #=> Boolean
3456
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add #=> Array
3457
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.add[0] #=> String
3458
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop #=> Array
3459
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.capabilities.drop[0] #=> String
3460
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
3461
+ # resp.jobs[0].eks_properties.pod_properties.init_containers[0].security_context.seccomp_profile.localhost_profile #=> String
3395
3462
  # resp.jobs[0].eks_properties.pod_properties.volumes #=> Array
3396
3463
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].name #=> String
3397
3464
  # resp.jobs[0].eks_properties.pod_properties.volumes[0].host_path.path #=> String
@@ -3409,6 +3476,12 @@ module Aws::Batch
3409
3476
  # resp.jobs[0].eks_properties.pod_properties.metadata.annotations["String"] #=> String
3410
3477
  # resp.jobs[0].eks_properties.pod_properties.metadata.namespace #=> String
3411
3478
  # resp.jobs[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
3479
+ # resp.jobs[0].eks_properties.pod_properties.security_context.run_as_user #=> Integer
3480
+ # resp.jobs[0].eks_properties.pod_properties.security_context.run_as_group #=> Integer
3481
+ # resp.jobs[0].eks_properties.pod_properties.security_context.run_as_non_root #=> Boolean
3482
+ # resp.jobs[0].eks_properties.pod_properties.security_context.seccomp_profile.type #=> String, one of "RuntimeDefault", "Localhost", "Unconfined"
3483
+ # resp.jobs[0].eks_properties.pod_properties.security_context.seccomp_profile.localhost_profile #=> String
3484
+ # resp.jobs[0].eks_properties.pod_properties.security_context.fs_group #=> Integer
3412
3485
  # resp.jobs[0].eks_attempts #=> Array
3413
3486
  # resp.jobs[0].eks_attempts[0].containers #=> Array
3414
3487
  # resp.jobs[0].eks_attempts[0].containers[0].name #=> String
@@ -4672,10 +4745,17 @@ module Aws::Batch
4672
4745
  # definitions.
4673
4746
  #
4674
4747
  # <note markdown="1"> If the job runs on Fargate resources, then you must not specify
4675
- # `nodeProperties`; use only `containerProperties`.
4748
+ # `nodeProperties`. We recommend `ecsProperties`, which supports both
4749
+ # single-container and multi-container jobs. `containerProperties` is
4750
+ # also supported for single-container jobs. For more information, see
4751
+ # [Multi-container jobs][1] in the *Batch User Guide*.
4676
4752
  #
4677
4753
  # </note>
4678
4754
  #
4755
+ #
4756
+ #
4757
+ # [1]: https://docs.aws.amazon.com/batch/latest/userguide/multi-container-jobs.html
4758
+ #
4679
4759
  # @option params [Types::NodeProperties] :node_properties
4680
4760
  # An object with properties specific to multi-node parallel jobs. If you
4681
4761
  # specify node properties for a job, it becomes a multi-node parallel
@@ -4683,7 +4763,9 @@ module Aws::Batch
4683
4763
  # *Batch User Guide*.
4684
4764
  #
4685
4765
  # <note markdown="1"> If the job runs on Fargate resources, then you must not specify
4686
- # `nodeProperties`; use `containerProperties` instead.
4766
+ # `nodeProperties`. We recommend `ecsProperties`, which supports both
4767
+ # single-container and multi-container jobs. `containerProperties` is
4768
+ # also supported for single-container jobs.
4687
4769
  #
4688
4770
  # </note>
4689
4771
  #
@@ -5439,6 +5521,14 @@ module Aws::Batch
5439
5521
  # allow_privilege_escalation: false,
5440
5522
  # read_only_root_filesystem: false,
5441
5523
  # run_as_non_root: false,
5524
+ # capabilities: {
5525
+ # add: ["EksContainerLinuxCapability"],
5526
+ # drop: ["EksContainerLinuxCapability"],
5527
+ # },
5528
+ # seccomp_profile: {
5529
+ # type: "RuntimeDefault", # required, accepts RuntimeDefault, Localhost, Unconfined
5530
+ # localhost_profile: "EksSeccompLocalhostProfile",
5531
+ # },
5442
5532
  # },
5443
5533
  # },
5444
5534
  # ],
@@ -5478,6 +5568,14 @@ module Aws::Batch
5478
5568
  # allow_privilege_escalation: false,
5479
5569
  # read_only_root_filesystem: false,
5480
5570
  # run_as_non_root: false,
5571
+ # capabilities: {
5572
+ # add: ["EksContainerLinuxCapability"],
5573
+ # drop: ["EksContainerLinuxCapability"],
5574
+ # },
5575
+ # seccomp_profile: {
5576
+ # type: "RuntimeDefault", # required, accepts RuntimeDefault, Localhost, Unconfined
5577
+ # localhost_profile: "EksSeccompLocalhostProfile",
5578
+ # },
5481
5579
  # },
5482
5580
  # },
5483
5581
  # ],
@@ -5511,6 +5609,16 @@ module Aws::Batch
5511
5609
  # namespace: "String",
5512
5610
  # },
5513
5611
  # share_process_namespace: false,
5612
+ # security_context: {
5613
+ # run_as_user: 1,
5614
+ # run_as_group: 1,
5615
+ # run_as_non_root: false,
5616
+ # seccomp_profile: {
5617
+ # type: "RuntimeDefault", # required, accepts RuntimeDefault, Localhost, Unconfined
5618
+ # localhost_profile: "EksSeccompLocalhostProfile",
5619
+ # },
5620
+ # fs_group: 1,
5621
+ # },
5514
5622
  # },
5515
5623
  # },
5516
5624
  # consumable_resource_properties: {
@@ -5589,6 +5697,14 @@ module Aws::Batch
5589
5697
  # allow_privilege_escalation: false,
5590
5698
  # read_only_root_filesystem: false,
5591
5699
  # run_as_non_root: false,
5700
+ # capabilities: {
5701
+ # add: ["EksContainerLinuxCapability"],
5702
+ # drop: ["EksContainerLinuxCapability"],
5703
+ # },
5704
+ # seccomp_profile: {
5705
+ # type: "RuntimeDefault", # required, accepts RuntimeDefault, Localhost, Unconfined
5706
+ # localhost_profile: "EksSeccompLocalhostProfile",
5707
+ # },
5592
5708
  # },
5593
5709
  # },
5594
5710
  # ],
@@ -5628,6 +5744,14 @@ module Aws::Batch
5628
5744
  # allow_privilege_escalation: false,
5629
5745
  # read_only_root_filesystem: false,
5630
5746
  # run_as_non_root: false,
5747
+ # capabilities: {
5748
+ # add: ["EksContainerLinuxCapability"],
5749
+ # drop: ["EksContainerLinuxCapability"],
5750
+ # },
5751
+ # seccomp_profile: {
5752
+ # type: "RuntimeDefault", # required, accepts RuntimeDefault, Localhost, Unconfined
5753
+ # localhost_profile: "EksSeccompLocalhostProfile",
5754
+ # },
5631
5755
  # },
5632
5756
  # },
5633
5757
  # ],
@@ -5661,6 +5785,16 @@ module Aws::Batch
5661
5785
  # namespace: "String",
5662
5786
  # },
5663
5787
  # share_process_namespace: false,
5788
+ # security_context: {
5789
+ # run_as_user: 1,
5790
+ # run_as_group: 1,
5791
+ # run_as_non_root: false,
5792
+ # seccomp_profile: {
5793
+ # type: "RuntimeDefault", # required, accepts RuntimeDefault, Localhost, Unconfined
5794
+ # localhost_profile: "EksSeccompLocalhostProfile",
5795
+ # },
5796
+ # fs_group: 1,
5797
+ # },
5664
5798
  # },
5665
5799
  # },
5666
5800
  # ecs_properties: {
@@ -7418,7 +7552,7 @@ module Aws::Batch
7418
7552
  tracer: tracer
7419
7553
  )
7420
7554
  context[:gem_name] = 'aws-sdk-batch'
7421
- context[:gem_version] = '1.161.0'
7555
+ context[:gem_version] = '1.163.0'
7422
7556
  Seahorse::Client::Request.new(handlers, context)
7423
7557
  end
7424
7558
 
@@ -136,6 +136,9 @@ module Aws::Batch
136
136
  EksContainerDetails = Shapes::ListShape.new(name: 'EksContainerDetails')
137
137
  EksContainerEnvironmentVariable = Shapes::StructureShape.new(name: 'EksContainerEnvironmentVariable')
138
138
  EksContainerEnvironmentVariables = Shapes::ListShape.new(name: 'EksContainerEnvironmentVariables')
139
+ EksContainerLinuxCapabilities = Shapes::StructureShape.new(name: 'EksContainerLinuxCapabilities')
140
+ EksContainerLinuxCapability = Shapes::StringShape.new(name: 'EksContainerLinuxCapability')
141
+ EksContainerLinuxCapabilityList = Shapes::ListShape.new(name: 'EksContainerLinuxCapabilityList')
139
142
  EksContainerOverride = Shapes::StructureShape.new(name: 'EksContainerOverride')
140
143
  EksContainerOverrideList = Shapes::ListShape.new(name: 'EksContainerOverrideList')
141
144
  EksContainerResourceRequirements = Shapes::StructureShape.new(name: 'EksContainerResourceRequirements')
@@ -152,10 +155,14 @@ module Aws::Batch
152
155
  EksPodProperties = Shapes::StructureShape.new(name: 'EksPodProperties')
153
156
  EksPodPropertiesDetail = Shapes::StructureShape.new(name: 'EksPodPropertiesDetail')
154
157
  EksPodPropertiesOverride = Shapes::StructureShape.new(name: 'EksPodPropertiesOverride')
158
+ EksPodSecurityContext = Shapes::StructureShape.new(name: 'EksPodSecurityContext')
155
159
  EksProperties = Shapes::StructureShape.new(name: 'EksProperties')
156
160
  EksPropertiesDetail = Shapes::StructureShape.new(name: 'EksPropertiesDetail')
157
161
  EksPropertiesOverride = Shapes::StructureShape.new(name: 'EksPropertiesOverride')
158
162
  EksRequests = Shapes::MapShape.new(name: 'EksRequests')
163
+ EksSeccompLocalhostProfile = Shapes::StringShape.new(name: 'EksSeccompLocalhostProfile')
164
+ EksSeccompProfile = Shapes::StructureShape.new(name: 'EksSeccompProfile')
165
+ EksSeccompProfileType = Shapes::StringShape.new(name: 'EksSeccompProfileType')
159
166
  EksSecret = Shapes::StructureShape.new(name: 'EksSecret')
160
167
  EksVolume = Shapes::StructureShape.new(name: 'EksVolume')
161
168
  EksVolumes = Shapes::ListShape.new(name: 'EksVolumes')
@@ -998,6 +1005,12 @@ module Aws::Batch
998
1005
 
999
1006
  EksContainerEnvironmentVariables.member = Shapes::ShapeRef.new(shape: EksContainerEnvironmentVariable)
1000
1007
 
1008
+ EksContainerLinuxCapabilities.add_member(:add, Shapes::ShapeRef.new(shape: EksContainerLinuxCapabilityList, location_name: "add"))
1009
+ EksContainerLinuxCapabilities.add_member(:drop, Shapes::ShapeRef.new(shape: EksContainerLinuxCapabilityList, location_name: "drop"))
1010
+ EksContainerLinuxCapabilities.struct_class = Types::EksContainerLinuxCapabilities
1011
+
1012
+ EksContainerLinuxCapabilityList.member = Shapes::ShapeRef.new(shape: EksContainerLinuxCapability)
1013
+
1001
1014
  EksContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
1002
1015
  EksContainerOverride.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
1003
1016
  EksContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
@@ -1018,6 +1031,8 @@ module Aws::Batch
1018
1031
  EksContainerSecurityContext.add_member(:allow_privilege_escalation, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowPrivilegeEscalation"))
1019
1032
  EksContainerSecurityContext.add_member(:read_only_root_filesystem, Shapes::ShapeRef.new(shape: Boolean, location_name: "readOnlyRootFilesystem"))
1020
1033
  EksContainerSecurityContext.add_member(:run_as_non_root, Shapes::ShapeRef.new(shape: Boolean, location_name: "runAsNonRoot"))
1034
+ EksContainerSecurityContext.add_member(:capabilities, Shapes::ShapeRef.new(shape: EksContainerLinuxCapabilities, location_name: "capabilities"))
1035
+ EksContainerSecurityContext.add_member(:seccomp_profile, Shapes::ShapeRef.new(shape: EksSeccompProfile, location_name: "seccompProfile"))
1021
1036
  EksContainerSecurityContext.struct_class = Types::EksContainerSecurityContext
1022
1037
 
1023
1038
  EksContainerVolumeMount.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -1061,6 +1076,7 @@ module Aws::Batch
1061
1076
  EksPodProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: EksVolumes, location_name: "volumes"))
1062
1077
  EksPodProperties.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
1063
1078
  EksPodProperties.add_member(:share_process_namespace, Shapes::ShapeRef.new(shape: Boolean, location_name: "shareProcessNamespace"))
1079
+ EksPodProperties.add_member(:security_context, Shapes::ShapeRef.new(shape: EksPodSecurityContext, location_name: "securityContext"))
1064
1080
  EksPodProperties.struct_class = Types::EksPodProperties
1065
1081
 
1066
1082
  EksPodPropertiesDetail.add_member(:service_account_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceAccountName"))
@@ -1074,6 +1090,7 @@ module Aws::Batch
1074
1090
  EksPodPropertiesDetail.add_member(:node_name, Shapes::ShapeRef.new(shape: String, location_name: "nodeName"))
1075
1091
  EksPodPropertiesDetail.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
1076
1092
  EksPodPropertiesDetail.add_member(:share_process_namespace, Shapes::ShapeRef.new(shape: Boolean, location_name: "shareProcessNamespace"))
1093
+ EksPodPropertiesDetail.add_member(:security_context, Shapes::ShapeRef.new(shape: EksPodSecurityContext, location_name: "securityContext"))
1077
1094
  EksPodPropertiesDetail.struct_class = Types::EksPodPropertiesDetail
1078
1095
 
1079
1096
  EksPodPropertiesOverride.add_member(:containers, Shapes::ShapeRef.new(shape: EksContainerOverrideList, location_name: "containers"))
@@ -1081,6 +1098,13 @@ module Aws::Batch
1081
1098
  EksPodPropertiesOverride.add_member(:metadata, Shapes::ShapeRef.new(shape: EksMetadata, location_name: "metadata"))
1082
1099
  EksPodPropertiesOverride.struct_class = Types::EksPodPropertiesOverride
1083
1100
 
1101
+ EksPodSecurityContext.add_member(:run_as_user, Shapes::ShapeRef.new(shape: Long, location_name: "runAsUser"))
1102
+ EksPodSecurityContext.add_member(:run_as_group, Shapes::ShapeRef.new(shape: Long, location_name: "runAsGroup"))
1103
+ EksPodSecurityContext.add_member(:run_as_non_root, Shapes::ShapeRef.new(shape: Boolean, location_name: "runAsNonRoot"))
1104
+ EksPodSecurityContext.add_member(:seccomp_profile, Shapes::ShapeRef.new(shape: EksSeccompProfile, location_name: "seccompProfile"))
1105
+ EksPodSecurityContext.add_member(:fs_group, Shapes::ShapeRef.new(shape: Long, location_name: "fsGroup"))
1106
+ EksPodSecurityContext.struct_class = Types::EksPodSecurityContext
1107
+
1084
1108
  EksProperties.add_member(:pod_properties, Shapes::ShapeRef.new(shape: EksPodProperties, location_name: "podProperties"))
1085
1109
  EksProperties.struct_class = Types::EksProperties
1086
1110
 
@@ -1093,6 +1117,10 @@ module Aws::Batch
1093
1117
  EksRequests.key = Shapes::ShapeRef.new(shape: String)
1094
1118
  EksRequests.value = Shapes::ShapeRef.new(shape: Quantity)
1095
1119
 
1120
+ EksSeccompProfile.add_member(:type, Shapes::ShapeRef.new(shape: EksSeccompProfileType, required: true, location_name: "type"))
1121
+ EksSeccompProfile.add_member(:localhost_profile, Shapes::ShapeRef.new(shape: EksSeccompLocalhostProfile, location_name: "localhostProfile"))
1122
+ EksSeccompProfile.struct_class = Types::EksSeccompProfile
1123
+
1096
1124
  EksSecret.add_member(:secret_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "secretName"))
1097
1125
  EksSecret.add_member(:optional, Shapes::ShapeRef.new(shape: Boolean, location_name: "optional"))
1098
1126
  EksSecret.struct_class = Types::EksSecret
@@ -5215,6 +5215,35 @@ module Aws::Batch
5215
5215
  include Aws::Structure
5216
5216
  end
5217
5217
 
5218
+ # The Linux capabilities for the container. For more information, see
5219
+ # [Set capabilities for a container][1] in the *Kubernetes
5220
+ # documentation*.
5221
+ #
5222
+ #
5223
+ #
5224
+ # [1]: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container
5225
+ #
5226
+ # @!attribute [rw] add
5227
+ # The Linux capabilities to add to the default capability set for the
5228
+ # container. This parameter contains up to 64 values. Specify
5229
+ # capability names without the `CAP_` prefix.
5230
+ # @return [Array<String>]
5231
+ #
5232
+ # @!attribute [rw] drop
5233
+ # The Linux capabilities to remove from the default capability set for
5234
+ # the container. This parameter contains up to 64 values. Specify
5235
+ # capability names without the `CAP_` prefix.
5236
+ # @return [Array<String>]
5237
+ #
5238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksContainerLinuxCapabilities AWS API Documentation
5239
+ #
5240
+ class EksContainerLinuxCapabilities < Struct.new(
5241
+ :add,
5242
+ :drop)
5243
+ SENSITIVE = []
5244
+ include Aws::Structure
5245
+ end
5246
+
5218
5247
  # Object representing any Kubernetes overrides to a job definition
5219
5248
  # that's used in a [SubmitJob][1] API operation.
5220
5249
  #
@@ -5403,10 +5432,10 @@ module Aws::Batch
5403
5432
  # @!attribute [rw] run_as_user
5404
5433
  # When this parameter is specified, the container is run as the
5405
5434
  # specified user ID (`uid`). If this parameter isn't specified, the
5406
- # default is the user that's specified in the image metadata. This
5407
- # parameter maps to `RunAsUser` and `MustRanAs` policy in the [Users
5408
- # and groups pod security policies][1] in the *Kubernetes
5409
- # documentation*.
5435
+ # default is the user that's specified in the image metadata. The
5436
+ # supported value range is `0` through `2147483647`. This parameter
5437
+ # maps to `RunAsUser` and `MustRunAs` policy in the [Users and groups
5438
+ # pod security policies][1] in the *Kubernetes documentation*.
5410
5439
  #
5411
5440
  #
5412
5441
  #
@@ -5416,10 +5445,10 @@ module Aws::Batch
5416
5445
  # @!attribute [rw] run_as_group
5417
5446
  # When this parameter is specified, the container is run as the
5418
5447
  # specified group ID (`gid`). If this parameter isn't specified, the
5419
- # default is the group that's specified in the image metadata. This
5420
- # parameter maps to `RunAsGroup` and `MustRunAs` policy in the [Users
5421
- # and groups pod security policies][1] in the *Kubernetes
5422
- # documentation*.
5448
+ # default is the group that's specified in the image metadata. The
5449
+ # supported value range is `0` through `2147483647`. This parameter
5450
+ # maps to `RunAsGroup` and `MustRunAs` policy in the [Users and groups
5451
+ # pod security policies][1] in the *Kubernetes documentation*.
5423
5452
  #
5424
5453
  #
5425
5454
  #
@@ -5469,6 +5498,21 @@ module Aws::Batch
5469
5498
  # [1]: https://kubernetes.io/docs/concepts/security/pod-security-policy/#users-and-groups
5470
5499
  # @return [Boolean]
5471
5500
  #
5501
+ # @!attribute [rw] capabilities
5502
+ # Adds or removes Linux capabilities from the container's default
5503
+ # capability set. With Linux capabilities, you can grant specific
5504
+ # privileges without granting full root permissions.
5505
+ # @return [Types::EksContainerLinuxCapabilities]
5506
+ #
5507
+ # @!attribute [rw] seccomp_profile
5508
+ # The seccomp profile for the container. A container-level seccomp
5509
+ # profile overrides the profile in the pod security context, which
5510
+ # defines security settings that apply to all containers in the pod
5511
+ # unless a container overrides them. If this parameter isn't
5512
+ # specified, the container uses the pod security context's seccomp
5513
+ # profile when one is specified.
5514
+ # @return [Types::EksSeccompProfile]
5515
+ #
5472
5516
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksContainerSecurityContext AWS API Documentation
5473
5517
  #
5474
5518
  class EksContainerSecurityContext < Struct.new(
@@ -5477,7 +5521,9 @@ module Aws::Batch
5477
5521
  :privileged,
5478
5522
  :allow_privilege_escalation,
5479
5523
  :read_only_root_filesystem,
5480
- :run_as_non_root)
5524
+ :run_as_non_root,
5525
+ :capabilities,
5526
+ :seccomp_profile)
5481
5527
  SENSITIVE = []
5482
5528
  include Aws::Structure
5483
5529
  end
@@ -5810,6 +5856,12 @@ module Aws::Batch
5810
5856
  # [1]: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
5811
5857
  # @return [Boolean]
5812
5858
  #
5859
+ # @!attribute [rw] security_context
5860
+ # The security context to apply to the pod. The settings apply to all
5861
+ # containers in the pod unless an individual container specifies an
5862
+ # overriding value.
5863
+ # @return [Types::EksPodSecurityContext]
5864
+ #
5813
5865
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksPodProperties AWS API Documentation
5814
5866
  #
5815
5867
  class EksPodProperties < Struct.new(
@@ -5821,7 +5873,8 @@ module Aws::Batch
5821
5873
  :init_containers,
5822
5874
  :volumes,
5823
5875
  :metadata,
5824
- :share_process_namespace)
5876
+ :share_process_namespace,
5877
+ :security_context)
5825
5878
  SENSITIVE = []
5826
5879
  include Aws::Structure
5827
5880
  end
@@ -5932,6 +5985,12 @@ module Aws::Batch
5932
5985
  # [1]: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
5933
5986
  # @return [Boolean]
5934
5987
  #
5988
+ # @!attribute [rw] security_context
5989
+ # The security context applied to the pod. The settings apply to all
5990
+ # containers in the pod unless an individual container specifies an
5991
+ # overriding value.
5992
+ # @return [Types::EksPodSecurityContext]
5993
+ #
5935
5994
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksPodPropertiesDetail AWS API Documentation
5936
5995
  #
5937
5996
  class EksPodPropertiesDetail < Struct.new(
@@ -5945,7 +6004,8 @@ module Aws::Batch
5945
6004
  :pod_name,
5946
6005
  :node_name,
5947
6006
  :metadata,
5948
- :share_process_namespace)
6007
+ :share_process_namespace,
6008
+ :security_context)
5949
6009
  SENSITIVE = []
5950
6010
  include Aws::Structure
5951
6011
  end
@@ -5986,6 +6046,57 @@ module Aws::Batch
5986
6046
  include Aws::Structure
5987
6047
  end
5988
6048
 
6049
+ # The security context for the pod. The settings apply to all containers
6050
+ # in the pod when the container does not specify an overriding value.
6051
+ # For more information, see [Set the security context for a Pod][1] in
6052
+ # the *Kubernetes documentation*.
6053
+ #
6054
+ #
6055
+ #
6056
+ # [1]: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
6057
+ #
6058
+ # @!attribute [rw] run_as_user
6059
+ # The user ID that runs containers in the pod when a container does
6060
+ # not specify its own user ID. The supported value range is `0`
6061
+ # through `2147483647`.
6062
+ # @return [Integer]
6063
+ #
6064
+ # @!attribute [rw] run_as_group
6065
+ # The primary group ID that runs containers in the pod when a
6066
+ # container does not specify its own group ID. The supported value
6067
+ # range is `0` through `2147483647`.
6068
+ # @return [Integer]
6069
+ #
6070
+ # @!attribute [rw] run_as_non_root
6071
+ # Specifies whether Kubernetes validates that containers in the pod
6072
+ # don't run as the root user unless a container specifies an
6073
+ # overriding value.
6074
+ # @return [Boolean]
6075
+ #
6076
+ # @!attribute [rw] seccomp_profile
6077
+ # The default seccomp profile for containers in the pod. A
6078
+ # container-level seccomp profile overrides this value.
6079
+ # @return [Types::EksSeccompProfile]
6080
+ #
6081
+ # @!attribute [rw] fs_group
6082
+ # A special supplemental group that is applied to all containers in
6083
+ # the pod. Some volume types allow Kubernetes to change the ownership
6084
+ # and permissions of the volume contents to this group when the volume
6085
+ # is mounted. The supported value range is `0` through `2147483647`.
6086
+ # @return [Integer]
6087
+ #
6088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksPodSecurityContext AWS API Documentation
6089
+ #
6090
+ class EksPodSecurityContext < Struct.new(
6091
+ :run_as_user,
6092
+ :run_as_group,
6093
+ :run_as_non_root,
6094
+ :seccomp_profile,
6095
+ :fs_group)
6096
+ SENSITIVE = []
6097
+ include Aws::Structure
6098
+ end
6099
+
5989
6100
  # An object that contains the properties for the Kubernetes resources of
5990
6101
  # a job.
5991
6102
  #
@@ -6031,6 +6142,55 @@ module Aws::Batch
6031
6142
  include Aws::Structure
6032
6143
  end
6033
6144
 
6145
+ # The Linux seccomp profile for a pod or container. For more
6146
+ # information, see [Restrict a Container's Syscalls with seccomp][1] in
6147
+ # the *Kubernetes documentation*.
6148
+ #
6149
+ #
6150
+ #
6151
+ # [1]: https://kubernetes.io/docs/tutorials/security/seccomp/
6152
+ #
6153
+ # @!attribute [rw] type
6154
+ # The seccomp profile type can be one of the following values:
6155
+ #
6156
+ # RuntimeDefault
6157
+ #
6158
+ # : The `RuntimeDefault` value uses the container runtime's default
6159
+ # seccomp profile.
6160
+ #
6161
+ # Unconfined
6162
+ #
6163
+ # : The `Unconfined` value doesn't filter the container with seccomp.
6164
+ #
6165
+ # Localhost
6166
+ #
6167
+ # : The `Localhost` value uses a custom profile at the path specified
6168
+ # by `localhostProfile`.
6169
+ # @return [String]
6170
+ #
6171
+ # @!attribute [rw] localhost_profile
6172
+ # The path of the profile on the node, relative to the configured
6173
+ # seccomp profile location. You must specify this parameter when
6174
+ # `type` is `Localhost`. Don't set this parameter for any other type.
6175
+ # You are responsible for ensuring that the profile exists on every
6176
+ # eligible worker node. For information about providing files to
6177
+ # Amazon EKS nodes, see [Use a launch template with Batch on Amazon
6178
+ # EKS][1] in the *Batch User Guide*.
6179
+ #
6180
+ #
6181
+ #
6182
+ # [1]: https://docs.aws.amazon.com/batch/latest/userguide/eks-launch-templates.html
6183
+ # @return [String]
6184
+ #
6185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksSeccompProfile AWS API Documentation
6186
+ #
6187
+ class EksSeccompProfile < Struct.new(
6188
+ :type,
6189
+ :localhost_profile)
6190
+ SENSITIVE = []
6191
+ include Aws::Structure
6192
+ end
6193
+
6034
6194
  # Specifies the configuration of a Kubernetes `secret` volume. For more
6035
6195
  # information, see [secret][1] in the *Kubernetes documentation*.
6036
6196
  #
@@ -6822,7 +6982,9 @@ module Aws::Batch
6822
6982
  # `eksProperties`.
6823
6983
  #
6824
6984
  # <note markdown="1"> If the job runs on Fargate resources, don't specify
6825
- # `nodeProperties`. Use `containerProperties` instead.
6985
+ # `nodeProperties`. We recommend `ecsProperties`, which supports both
6986
+ # single-container and multi-container jobs. `containerProperties` is
6987
+ # also supported for single-container jobs.
6826
6988
  #
6827
6989
  # </note>
6828
6990
  # @return [Types::NodeProperties]
@@ -9394,9 +9556,16 @@ module Aws::Batch
9394
9556
  # job definitions.
9395
9557
  #
9396
9558
  # <note markdown="1"> If the job runs on Fargate resources, then you must not specify
9397
- # `nodeProperties`; use only `containerProperties`.
9559
+ # `nodeProperties`. We recommend `ecsProperties`, which supports both
9560
+ # single-container and multi-container jobs. `containerProperties` is
9561
+ # also supported for single-container jobs. For more information, see
9562
+ # [Multi-container jobs][1] in the *Batch User Guide*.
9398
9563
  #
9399
9564
  # </note>
9565
+ #
9566
+ #
9567
+ #
9568
+ # [1]: https://docs.aws.amazon.com/batch/latest/userguide/multi-container-jobs.html
9400
9569
  # @return [Types::ContainerProperties]
9401
9570
  #
9402
9571
  # @!attribute [rw] node_properties
@@ -9406,7 +9575,9 @@ module Aws::Batch
9406
9575
  # Jobs][1] in the *Batch User Guide*.
9407
9576
  #
9408
9577
  # <note markdown="1"> If the job runs on Fargate resources, then you must not specify
9409
- # `nodeProperties`; use `containerProperties` instead.
9578
+ # `nodeProperties`. We recommend `ecsProperties`, which supports both
9579
+ # single-container and multi-container jobs. `containerProperties` is
9580
+ # also supported for single-container jobs.
9410
9581
  #
9411
9582
  # </note>
9412
9583
  #
data/lib/aws-sdk-batch.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Batch
54
54
  autoload :EndpointProvider, 'aws-sdk-batch/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-batch/endpoints'
56
56
 
57
- GEM_VERSION = '1.161.0'
57
+ GEM_VERSION = '1.163.0'
58
58
 
59
59
  end
60
60
 
data/sig/params.rbs CHANGED
@@ -250,6 +250,17 @@ module Aws
250
250
  stop_timeout: ::Integer?
251
251
  }
252
252
 
253
+ type eks_pod_security_context = {
254
+ run_as_user: ::Integer?,
255
+ run_as_group: ::Integer?,
256
+ run_as_non_root: bool?,
257
+ seccomp_profile: {
258
+ type: ("RuntimeDefault" | "Localhost" | "Unconfined"),
259
+ localhost_profile: ::String?
260
+ }?,
261
+ fs_group: ::Integer?
262
+ }
263
+
253
264
  type eks_pod_properties = {
254
265
  service_account_name: ::String?,
255
266
  host_network: bool?,
@@ -273,7 +284,8 @@ module Aws
273
284
  annotations: Hash[::String, ::String]?,
274
285
  namespace: ::String?
275
286
  }?,
276
- share_process_namespace: bool?
287
+ share_process_namespace: bool?,
288
+ security_context: Params::eks_pod_security_context?
277
289
  }
278
290
 
279
291
  type eks_properties = {
@@ -286,7 +298,15 @@ module Aws
286
298
  privileged: bool?,
287
299
  allow_privilege_escalation: bool?,
288
300
  read_only_root_filesystem: bool?,
289
- run_as_non_root: bool?
301
+ run_as_non_root: bool?,
302
+ capabilities: {
303
+ add: Array[::String]?,
304
+ drop: Array[::String]?
305
+ }?,
306
+ seccomp_profile: {
307
+ type: ("RuntimeDefault" | "Localhost" | "Unconfined"),
308
+ localhost_profile: ::String?
309
+ }?
290
310
  }
291
311
 
292
312
  type eks_container = {
data/sig/types.rbs CHANGED
@@ -741,6 +741,12 @@ module Aws::Batch
741
741
  SENSITIVE: []
742
742
  end
743
743
 
744
+ class EksContainerLinuxCapabilities
745
+ attr_accessor add: ::Array[::String]
746
+ attr_accessor drop: ::Array[::String]
747
+ SENSITIVE: []
748
+ end
749
+
744
750
  class EksContainerOverride
745
751
  attr_accessor name: ::String
746
752
  attr_accessor image: ::String
@@ -764,6 +770,8 @@ module Aws::Batch
764
770
  attr_accessor allow_privilege_escalation: bool
765
771
  attr_accessor read_only_root_filesystem: bool
766
772
  attr_accessor run_as_non_root: bool
773
+ attr_accessor capabilities: Types::EksContainerLinuxCapabilities
774
+ attr_accessor seccomp_profile: Types::EksSeccompProfile
767
775
  SENSITIVE: []
768
776
  end
769
777
 
@@ -809,6 +817,7 @@ module Aws::Batch
809
817
  attr_accessor volumes: ::Array[Types::EksVolume]
810
818
  attr_accessor metadata: Types::EksMetadata
811
819
  attr_accessor share_process_namespace: bool
820
+ attr_accessor security_context: Types::EksPodSecurityContext
812
821
  SENSITIVE: []
813
822
  end
814
823
 
@@ -824,6 +833,7 @@ module Aws::Batch
824
833
  attr_accessor node_name: ::String
825
834
  attr_accessor metadata: Types::EksMetadata
826
835
  attr_accessor share_process_namespace: bool
836
+ attr_accessor security_context: Types::EksPodSecurityContext
827
837
  SENSITIVE: []
828
838
  end
829
839
 
@@ -834,6 +844,15 @@ module Aws::Batch
834
844
  SENSITIVE: []
835
845
  end
836
846
 
847
+ class EksPodSecurityContext
848
+ attr_accessor run_as_user: ::Integer
849
+ attr_accessor run_as_group: ::Integer
850
+ attr_accessor run_as_non_root: bool
851
+ attr_accessor seccomp_profile: Types::EksSeccompProfile
852
+ attr_accessor fs_group: ::Integer
853
+ SENSITIVE: []
854
+ end
855
+
837
856
  class EksProperties
838
857
  attr_accessor pod_properties: Types::EksPodProperties
839
858
  SENSITIVE: []
@@ -849,6 +868,12 @@ module Aws::Batch
849
868
  SENSITIVE: []
850
869
  end
851
870
 
871
+ class EksSeccompProfile
872
+ attr_accessor type: ("RuntimeDefault" | "Localhost" | "Unconfined")
873
+ attr_accessor localhost_profile: ::String
874
+ SENSITIVE: []
875
+ end
876
+
852
877
  class EksSecret
853
878
  attr_accessor secret_name: ::String
854
879
  attr_accessor optional: bool
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.161.0
4
+ version: 1.163.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.265.0
21
+ version: 3.267.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.265.0
31
+ version: 3.267.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement