aws-sdk-ecs 1.190.0 → 1.191.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: 696978dd19e9ba3248037b12a185909d623fd8a42dcfb999e320f09adf22d7b2
4
- data.tar.gz: f8717d1752227b9fcb4f9d794339b4d42fc4860a0a4b53d97f7e3cf6f0e81914
3
+ metadata.gz: 027aa2689591df034441a7a47aa347f2a04973f0ee2d8193dfa9583cae9fb6c4
4
+ data.tar.gz: 640d90de39c0b70513bf73c2fd9620617fe80f3c437e95c31c41ce183e222e5f
5
5
  SHA512:
6
- metadata.gz: 14af99e4f0f04687560ae65976c679957067631e8c19c6384fc5673d60c83303bb6fb1d62354bc66d70946cfacee8d368afc645b006a4c37064415f0ca0e12f1
7
- data.tar.gz: c34de1472808d5fdf6e5a335f0d57dc953b07b1489ab124bfaeed273477e6f4895d8971f607845cced000f14b739150e77ca661da331d695e9b410cc2e77f5ab
6
+ metadata.gz: 7c055504aa55c26c54a900bd162eebc71c5dd178c8e78ac368a7fa1c41ca057d716906668ea3cda4dc920e644aa647af056ff39fab14a571b768a30d2f94ad47
7
+ data.tar.gz: 4ba3d8612a17f93f43cca9b5a60618b7640e26e290afc9bf9419306760dfb77a2fc3d122157a3f256c690bed8e2ba7857be3bc3bba0be6f12424fe7a7e49ecd2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.191.0 (2025-05-13)
5
+ ------------------
6
+
7
+ * Feature - This release extends functionality for Amazon EBS volumes attached to Amazon ECS tasks by adding support for the new EBS volumeInitializationRate parameter in ECS RunTask/StartTask/CreateService/UpdateService APIs.
8
+
4
9
  1.190.0 (2025-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.190.0
1
+ 1.191.0
@@ -1630,6 +1630,7 @@ module Aws::ECS
1630
1630
  # volume_type: "EBSVolumeType",
1631
1631
  # size_in_gi_b: 1,
1632
1632
  # snapshot_id: "EBSSnapshotId",
1633
+ # volume_initialization_rate: 1,
1633
1634
  # iops: 1,
1634
1635
  # throughput: 1,
1635
1636
  # tag_specifications: [
@@ -1791,6 +1792,7 @@ module Aws::ECS
1791
1792
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
1792
1793
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
1793
1794
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
1795
+ # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
1794
1796
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
1795
1797
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
1796
1798
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -2172,16 +2174,13 @@ module Aws::ECS
2172
2174
  # container instances is affected.
2173
2175
  #
2174
2176
  # @option params [String] :principal_arn
2175
- # The Amazon Resource Name (ARN) of the principal. It can be a user,
2177
+ # The Amazon Resource Name (ARN) of the principal. It can be an user,
2176
2178
  # role, or the root user. If you specify the root user, it disables the
2177
2179
  # account setting for all users, roles, and the root user of the account
2178
2180
  # unless a user or role explicitly overrides these settings. If this
2179
2181
  # field is omitted, the setting is changed only for the authenticated
2180
2182
  # user.
2181
2183
  #
2182
- # In order to use this parameter, you must be the root user, or the
2183
- # principal.
2184
- #
2185
2184
  # @return [Types::DeleteAccountSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2186
2185
  #
2187
2186
  # * {Types::DeleteAccountSettingResponse#setting #setting} => Types::Setting
@@ -2724,6 +2723,7 @@ module Aws::ECS
2724
2723
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
2725
2724
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
2726
2725
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
2726
+ # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
2727
2727
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
2728
2728
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
2729
2729
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -2852,7 +2852,7 @@ module Aws::ECS
2852
2852
  # environment: [
2853
2853
  # ],
2854
2854
  # essential: true,
2855
- # image: "ubuntu",
2855
+ # image: "public.ecr.aws/docker/library/ubuntu:latest",
2856
2856
  # memory: 100,
2857
2857
  # mount_points: [
2858
2858
  # ],
@@ -3388,10 +3388,10 @@ module Aws::ECS
3388
3388
  #
3389
3389
  # @example Example: To deregister a revision of a task definition
3390
3390
  #
3391
- # # This example deregisters the first revision of the curler task definition
3391
+ # # This example deregisters the first revision of the fargate-task task definition
3392
3392
  #
3393
3393
  # resp = client.deregister_task_definition({
3394
- # task_definition: "curler:1",
3394
+ # task_definition: "fargate-task:1",
3395
3395
  # })
3396
3396
  #
3397
3397
  # resp.to_h outputs the following:
@@ -3399,30 +3399,23 @@ module Aws::ECS
3399
3399
  # task_definition: {
3400
3400
  # container_definitions: [
3401
3401
  # {
3402
- # name: "curler",
3403
- # command: [
3404
- # "curl -v http://example.com/",
3405
- # ],
3406
- # cpu: 100,
3407
- # entry_point: [
3408
- # ],
3409
- # environment: [
3410
- # ],
3402
+ # name: "nginx",
3403
+ # cpu: 256,
3411
3404
  # essential: true,
3412
- # image: "curl:latest",
3413
- # memory: 256,
3414
- # mount_points: [
3415
- # ],
3405
+ # image: "public.ecr.aws/docker/library/nginx:latest",
3406
+ # memory: 128,
3416
3407
  # port_mappings: [
3417
- # ],
3418
- # volumes_from: [
3408
+ # {
3409
+ # container_port: 80,
3410
+ # host_port: 80,
3411
+ # protocol: "tcp",
3412
+ # },
3419
3413
  # ],
3420
3414
  # },
3421
3415
  # ],
3422
- # family: "curler",
3423
- # revision: 1,
3416
+ # family: "fargate-task",
3424
3417
  # status: "INACTIVE",
3425
- # task_definition_arn: "arn:aws:ecs:us-west-2:123456789012:task-definition/curler:1",
3418
+ # task_definition_arn: "arn:aws:ecs:us-west-2:123456789012:task-definition/fargate-task:1",
3426
3419
  # volumes: [
3427
3420
  # ],
3428
3421
  # },
@@ -4363,6 +4356,7 @@ module Aws::ECS
4363
4356
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
4364
4357
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
4365
4358
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
4359
+ # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
4366
4360
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
4367
4361
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
4368
4362
  # resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -4613,6 +4607,7 @@ module Aws::ECS
4613
4607
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
4614
4608
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
4615
4609
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
4610
+ # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
4616
4611
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
4617
4612
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
4618
4613
  # resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -5554,9 +5549,6 @@ module Aws::ECS
5554
5549
  # If this field is omitted, the account settings are listed only for the
5555
5550
  # authenticated user.
5556
5551
  #
5557
- # In order to use this parameter, you must be the root user, or the
5558
- # principal.
5559
- #
5560
5552
  # <note markdown="1"> Federated users assume the account setting of the root user and can't
5561
5553
  # have explicit account settings set for them.
5562
5554
  #
@@ -6832,9 +6824,6 @@ module Aws::ECS
6832
6824
  # explicitly overrides these settings. If this field is omitted, the
6833
6825
  # setting is changed only for the authenticated user.
6834
6826
  #
6835
- # In order to use this parameter, you must be the root user, or the
6836
- # principal.
6837
- #
6838
6827
  # <note markdown="1"> You must use the root user when you set the Fargate wait time
6839
6828
  # (`fargateTaskRetirementWaitPeriod`).
6840
6829
  #
@@ -7899,13 +7888,37 @@ module Aws::ECS
7899
7888
  # (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
7900
7889
  # specify a value, the parameter is ignored.
7901
7890
  #
7902
- # This field is required for Fargate. For information about the valid
7903
- # values, see [Task size][1] in the *Amazon Elastic Container Service
7904
- # Developer Guide*.
7891
+ # If you're using the Fargate launch type, this field is required and
7892
+ # you must use one of the following values, which determines your range
7893
+ # of supported values for the `memory` parameter:
7905
7894
  #
7895
+ # The CPU units cannot be less than 1 vCPU when you use Windows
7896
+ # containers on Fargate.
7897
+ #
7898
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
7899
+ # GB), 2048 (2 GB)
7900
+ #
7901
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2 GB),
7902
+ # 3072 (3 GB), 4096 (4 GB)
7903
+ #
7904
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3 GB),
7905
+ # 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB)
7906
7906
  #
7907
+ # * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384 (16
7908
+ # GB) in increments of 1024 (1 GB)
7907
7909
  #
7908
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size
7910
+ # * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720 (30
7911
+ # GB) in increments of 1024 (1 GB)
7912
+ #
7913
+ # * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
7914
+ # increments
7915
+ #
7916
+ # This option requires Linux platform `1.4.0` or later.
7917
+ #
7918
+ # * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8 GB
7919
+ # increments
7920
+ #
7921
+ # This option requires Linux platform `1.4.0` or later.
7909
7922
  #
7910
7923
  # @option params [String] :memory
7911
7924
  # The amount of memory (in MiB) used by the task. It can be expressed as
@@ -8119,7 +8132,7 @@ module Aws::ECS
8119
8132
  # ],
8120
8133
  # cpu: 10,
8121
8134
  # essential: true,
8122
- # image: "busybox",
8135
+ # image: "public.ecr.aws/docker/library/busybox:latest",
8123
8136
  # memory: 10,
8124
8137
  # },
8125
8138
  # ],
@@ -8143,7 +8156,7 @@ module Aws::ECS
8143
8156
  # environment: [
8144
8157
  # ],
8145
8158
  # essential: true,
8146
- # image: "busybox",
8159
+ # image: "public.ecr.aws/docker/library/busybox:latest",
8147
8160
  # memory: 10,
8148
8161
  # mount_points: [
8149
8162
  # ],
@@ -8655,17 +8668,10 @@ module Aws::ECS
8655
8668
  # * Run `RunTask` with the `clientToken` and the original set of
8656
8669
  # parameters
8657
8670
  #
8658
- # If you get a `ClientException`error, the `RunTask` could not be
8659
- # processed because you use managed scaling and there is a capacity
8660
- # error because the quota of tasks in the `PROVISIONING` per cluster has
8661
- # been reached. For information about the service quotas, see [Amazon
8662
- # ECS service quotas][3].
8663
- #
8664
8671
  #
8665
8672
  #
8666
8673
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduling_tasks.html
8667
8674
  # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volume-types
8668
- # [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html
8669
8675
  #
8670
8676
  # @option params [Array<Types::CapacityProviderStrategyItem>] :capacity_provider_strategy
8671
8677
  # The capacity provider strategy to use for the task.
@@ -9048,6 +9054,7 @@ module Aws::ECS
9048
9054
  # volume_type: "EBSVolumeType",
9049
9055
  # size_in_gi_b: 1,
9050
9056
  # snapshot_id: "EBSSnapshotId",
9057
+ # volume_initialization_rate: 1,
9051
9058
  # iops: 1,
9052
9059
  # throughput: 1,
9053
9060
  # tag_specifications: [
@@ -9480,6 +9487,7 @@ module Aws::ECS
9480
9487
  # volume_type: "EBSVolumeType",
9481
9488
  # size_in_gi_b: 1,
9482
9489
  # snapshot_id: "EBSSnapshotId",
9490
+ # volume_initialization_rate: 1,
9483
9491
  # iops: 1,
9484
9492
  # throughput: 1,
9485
9493
  # tag_specifications: [
@@ -9629,20 +9637,9 @@ module Aws::ECS
9629
9637
 
9630
9638
  # Stops an ongoing service deployment.
9631
9639
  #
9632
- # The following stop types are avaiable:
9633
- #
9634
- # * ROLLBACK - This option rolls back the service deployment to the
9635
- # previous service revision.
9640
+ # <note markdown="1"> StopServiceDeployment isn't currently supported.
9636
9641
  #
9637
- # You can use this option even if you didn't configure the service
9638
- # deployment for the rollback option.
9639
- #
9640
- # For more information, see [Stopping Amazon ECS service deployments][1]
9641
- # in the *Amazon Elastic Container Service Developer Guide*.
9642
- #
9643
- #
9644
- #
9645
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stop-service-deployment.html
9642
+ # </note>
9646
9643
  #
9647
9644
  # @option params [required, String] :service_deployment_arn
9648
9645
  # The ARN of the service deployment that you want to stop.
@@ -9650,7 +9647,7 @@ module Aws::ECS
9650
9647
  # @option params [String] :stop_type
9651
9648
  # How you want Amazon ECS to stop the service.
9652
9649
  #
9653
- # The valid values are `ROLLBACK`.
9650
+ # The ROLLBACK and ABORT stopType aren't supported.
9654
9651
  #
9655
9652
  # @return [Types::StopServiceDeploymentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
9656
9653
  #
@@ -11847,6 +11844,7 @@ module Aws::ECS
11847
11844
  # volume_type: "EBSVolumeType",
11848
11845
  # size_in_gi_b: 1,
11849
11846
  # snapshot_id: "EBSSnapshotId",
11847
+ # volume_initialization_rate: 1,
11850
11848
  # iops: 1,
11851
11849
  # throughput: 1,
11852
11850
  # tag_specifications: [
@@ -12008,6 +12006,7 @@ module Aws::ECS
12008
12006
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
12009
12007
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
12010
12008
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.snapshot_id #=> String
12009
+ # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_initialization_rate #=> Integer
12011
12010
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
12012
12011
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
12013
12012
  # resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
@@ -12537,7 +12536,7 @@ module Aws::ECS
12537
12536
  tracer: tracer
12538
12537
  )
12539
12538
  context[:gem_name] = 'aws-sdk-ecs'
12540
- context[:gem_version] = '1.190.0'
12539
+ context[:gem_version] = '1.191.0'
12541
12540
  Seahorse::Client::Request.new(handlers, context)
12542
12541
  end
12543
12542
 
@@ -1653,6 +1653,7 @@ module Aws::ECS
1653
1653
  ServiceManagedEBSVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EBSVolumeType, location_name: "volumeType"))
1654
1654
  ServiceManagedEBSVolumeConfiguration.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sizeInGiB"))
1655
1655
  ServiceManagedEBSVolumeConfiguration.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: EBSSnapshotId, location_name: "snapshotId"))
1656
+ ServiceManagedEBSVolumeConfiguration.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "volumeInitializationRate"))
1656
1657
  ServiceManagedEBSVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "iops"))
1657
1658
  ServiceManagedEBSVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "throughput"))
1658
1659
  ServiceManagedEBSVolumeConfiguration.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: EBSTagSpecifications, location_name: "tagSpecifications"))
@@ -1910,6 +1911,7 @@ module Aws::ECS
1910
1911
  TaskManagedEBSVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EBSVolumeType, location_name: "volumeType"))
1911
1912
  TaskManagedEBSVolumeConfiguration.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sizeInGiB"))
1912
1913
  TaskManagedEBSVolumeConfiguration.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: EBSSnapshotId, location_name: "snapshotId"))
1914
+ TaskManagedEBSVolumeConfiguration.add_member(:volume_initialization_rate, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "volumeInitializationRate"))
1913
1915
  TaskManagedEBSVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "iops"))
1914
1916
  TaskManagedEBSVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "throughput"))
1915
1917
  TaskManagedEBSVolumeConfiguration.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: EBSTagSpecifications, location_name: "tagSpecifications"))
@@ -477,6 +477,19 @@ module Aws::ECS
477
477
  # have permissions to use the action or resource. Or, it might be
478
478
  # specifying an identifier that isn't valid.
479
479
  #
480
+ # The following list includes additional causes for the error:
481
+ #
482
+ # * The `RunTask` could not be processed because you use managed scaling
483
+ # and there is a capacity error because the quota of tasks in the
484
+ # `PROVISIONING` per cluster has been reached. For information about
485
+ # the service quotas, see [Amazon ECS service quotas][1].
486
+ #
487
+ # ^
488
+ #
489
+ #
490
+ #
491
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-quotas.html
492
+ #
480
493
  # @!attribute [rw] message
481
494
  # Message that describes the cause of the exception.
482
495
  # @return [String]
@@ -510,7 +523,8 @@ module Aws::ECS
510
523
  # @return [String]
511
524
  #
512
525
  # @!attribute [rw] configuration
513
- # The execute command configuration for the cluster.
526
+ # The execute command and managed storage configuration for the
527
+ # cluster.
514
528
  # @return [Types::ClusterConfiguration]
515
529
  #
516
530
  # @!attribute [rw] status
@@ -3273,15 +3287,12 @@ module Aws::ECS
3273
3287
  # @return [String]
3274
3288
  #
3275
3289
  # @!attribute [rw] principal_arn
3276
- # The Amazon Resource Name (ARN) of the principal. It can be a user,
3290
+ # The Amazon Resource Name (ARN) of the principal. It can be an user,
3277
3291
  # role, or the root user. If you specify the root user, it disables
3278
3292
  # the account setting for all users, roles, and the root user of the
3279
3293
  # account unless a user or role explicitly overrides these settings.
3280
3294
  # If this field is omitted, the setting is changed only for the
3281
3295
  # authenticated user.
3282
- #
3283
- # In order to use this parameter, you must be the root user, or the
3284
- # principal.
3285
3296
  # @return [String]
3286
3297
  #
3287
3298
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/DeleteAccountSettingRequest AWS API Documentation
@@ -5878,9 +5889,6 @@ module Aws::ECS
5878
5889
  # user. If this field is omitted, the account settings are listed only
5879
5890
  # for the authenticated user.
5880
5891
  #
5881
- # In order to use this parameter, you must be the root user, or the
5882
- # principal.
5883
- #
5884
5892
  # <note markdown="1"> Federated users assume the account setting of the root user and
5885
5893
  # can't have explicit account settings set for them.
5886
5894
  #
@@ -7241,17 +7249,40 @@ module Aws::ECS
7241
7249
  # The managed storage configuration for the cluster.
7242
7250
  #
7243
7251
  # @!attribute [rw] kms_key_id
7244
- # Specify a Key Management Service key ID to encrypt the managed
7245
- # storage.
7252
+ # Specify a Key Management Service key ID to encrypt Amazon ECS
7253
+ # managed storage.
7254
+ #
7255
+ # When you specify a `kmsKeyId`, Amazon ECS uses the key to encrypt
7256
+ # data volumes managed by Amazon ECS that are attached to tasks in the
7257
+ # cluster. The following data volumes are managed by Amazon ECS:
7258
+ # Amazon EBS. For more information about encryption of Amazon EBS
7259
+ # volumes attached to Amazon ECS tasks, see [Encrypt data stored in
7260
+ # Amazon EBS volumes for Amazon ECS][1] in the *Amazon Elastic
7261
+ # Container Service Developer Guide*.
7246
7262
  #
7247
7263
  # The key must be a single Region key.
7264
+ #
7265
+ #
7266
+ #
7267
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html
7248
7268
  # @return [String]
7249
7269
  #
7250
7270
  # @!attribute [rw] fargate_ephemeral_storage_kms_key_id
7251
- # Specify the Key Management Service key ID for the Fargate ephemeral
7271
+ # Specify the Key Management Service key ID for Fargate ephemeral
7252
7272
  # storage.
7253
7273
  #
7274
+ # When you specify a `fargateEphemeralStorageKmsKeyId`, Amazon Web
7275
+ # Services Fargate uses the key to encrypt data at rest in ephemeral
7276
+ # storage. For more information about Fargate ephemeral storage
7277
+ # encryption, see [Customer managed keys for Amazon Web Services
7278
+ # Fargate ephemeral storage for Amazon ECS][1] in the *Amazon Elastic
7279
+ # Container Service Developer Guide*.
7280
+ #
7254
7281
  # The key must be a single Region key.
7282
+ #
7283
+ #
7284
+ #
7285
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-storage-encryption.html
7255
7286
  # @return [String]
7256
7287
  #
7257
7288
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedStorageConfiguration AWS API Documentation
@@ -8191,9 +8222,6 @@ module Aws::ECS
8191
8222
  # or role explicitly overrides these settings. If this field is
8192
8223
  # omitted, the setting is changed only for the authenticated user.
8193
8224
  #
8194
- # In order to use this parameter, you must be the root user, or the
8195
- # principal.
8196
- #
8197
8225
  # <note markdown="1"> You must use the root user when you set the Fargate wait time
8198
8226
  # (`fargateTaskRetirementWaitPeriod`).
8199
8227
  #
@@ -8554,13 +8582,38 @@ module Aws::ECS
8554
8582
  # (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
8555
8583
  # specify a value, the parameter is ignored.
8556
8584
  #
8557
- # This field is required for Fargate. For information about the valid
8558
- # values, see [Task size][1] in the *Amazon Elastic Container Service
8559
- # Developer Guide*.
8585
+ # If you're using the Fargate launch type, this field is required and
8586
+ # you must use one of the following values, which determines your
8587
+ # range of supported values for the `memory` parameter:
8588
+ #
8589
+ # The CPU units cannot be less than 1 vCPU when you use Windows
8590
+ # containers on Fargate.
8591
+ #
8592
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
8593
+ # GB), 2048 (2 GB)
8594
+ #
8595
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
8596
+ # GB), 3072 (3 GB), 4096 (4 GB)
8597
+ #
8598
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3
8599
+ # GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
8600
+ # GB)
8560
8601
  #
8602
+ # * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
8603
+ # (16 GB) in increments of 1024 (1 GB)
8561
8604
  #
8605
+ # * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
8606
+ # (30 GB) in increments of 1024 (1 GB)
8562
8607
  #
8563
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size
8608
+ # * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
8609
+ # increments
8610
+ #
8611
+ # This option requires Linux platform `1.4.0` or later.
8612
+ #
8613
+ # * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
8614
+ # GB increments
8615
+ #
8616
+ # This option requires Linux platform `1.4.0` or later.
8564
8617
  # @return [String]
8565
8618
  #
8566
8619
  # @!attribute [rw] memory
@@ -10335,10 +10388,12 @@ module Aws::ECS
10335
10388
  # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration
10336
10389
  #
10337
10390
  # @!attribute [rw] encrypted
10338
- # Indicates whether the volume should be encrypted. If no value is
10339
- # specified, encryption is turned on by default. This parameter maps
10340
- # 1:1 with the `Encrypted` parameter of the [CreateVolume API][1] in
10341
- # the *Amazon EC2 API Reference*.
10391
+ # Indicates whether the volume should be encrypted. If you turn on
10392
+ # Region-level Amazon EBS encryption by default but set this value as
10393
+ # `false`, the setting is overridden and the volume is encrypted with
10394
+ # the KMS key specified for Amazon EBS encryption by default. This
10395
+ # parameter maps 1:1 with the `Encrypted` parameter of the
10396
+ # [CreateVolume API][1] in the *Amazon EC2 API Reference*.
10342
10397
  #
10343
10398
  #
10344
10399
  #
@@ -10347,12 +10402,14 @@ module Aws::ECS
10347
10402
  #
10348
10403
  # @!attribute [rw] kms_key_id
10349
10404
  # The Amazon Resource Name (ARN) identifier of the Amazon Web Services
10350
- # Key Management Service key to use for Amazon EBS encryption. When
10351
- # encryption is turned on and no Amazon Web Services Key Management
10352
- # Service key is specified, the default Amazon Web Services managed
10353
- # key for Amazon EBS volumes is used. This parameter maps 1:1 with the
10354
- # `KmsKeyId` parameter of the [CreateVolume API][1] in the *Amazon EC2
10355
- # API Reference*.
10405
+ # Key Management Service key to use for Amazon EBS encryption. When a
10406
+ # key is specified using this parameter, it overrides Amazon EBS
10407
+ # default encryption or any KMS key that you specified for
10408
+ # cluster-level managed storage encryption. This parameter maps 1:1
10409
+ # with the `KmsKeyId` parameter of the [CreateVolume API][1] in the
10410
+ # *Amazon EC2 API Reference*. For more information about encrypting
10411
+ # Amazon EBS volumes attached to tasks, see [Encrypt data stored in
10412
+ # Amazon EBS volumes attached to Amazon ECS tasks][2].
10356
10413
  #
10357
10414
  # Amazon Web Services authenticates the Amazon Web Services Key
10358
10415
  # Management Service key asynchronously. Therefore, if you specify an
@@ -10362,6 +10419,7 @@ module Aws::ECS
10362
10419
  #
10363
10420
  #
10364
10421
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
10422
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html
10365
10423
  # @return [String]
10366
10424
  #
10367
10425
  # @!attribute [rw] volume_type
@@ -10417,16 +10475,29 @@ module Aws::ECS
10417
10475
  # @return [Integer]
10418
10476
  #
10419
10477
  # @!attribute [rw] snapshot_id
10420
- # The snapshot that Amazon ECS uses to create the volume. You must
10421
- # specify either a snapshot ID or a volume size. This parameter maps
10422
- # 1:1 with the `SnapshotId` parameter of the [CreateVolume API][1] in
10423
- # the *Amazon EC2 API Reference*.
10478
+ # The snapshot that Amazon ECS uses to create volumes for attachment
10479
+ # to tasks maintained by the service. You must specify either
10480
+ # `snapshotId` or `sizeInGiB` in your volume configuration. This
10481
+ # parameter maps 1:1 with the `SnapshotId` parameter of the
10482
+ # [CreateVolume API][1] in the *Amazon EC2 API Reference*.
10424
10483
  #
10425
10484
  #
10426
10485
  #
10427
10486
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
10428
10487
  # @return [String]
10429
10488
  #
10489
+ # @!attribute [rw] volume_initialization_rate
10490
+ # The rate, in MiB/s, at which data is fetched from a snapshot of an
10491
+ # existing EBS volume to create new volumes for attachment to the
10492
+ # tasks maintained by the service. This property can be specified only
10493
+ # if you specify a `snapshotId`. For more information, see [Initialize
10494
+ # Amazon EBS volumes][1] in the *Amazon EBS User Guide*.
10495
+ #
10496
+ #
10497
+ #
10498
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
10499
+ # @return [Integer]
10500
+ #
10430
10501
  # @!attribute [rw] iops
10431
10502
  # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
10432
10503
  # and `io2` volumes, this represents the number of IOPS that are
@@ -10495,7 +10566,7 @@ module Aws::ECS
10495
10566
  # The filesystem type for the volume. For volumes created from a
10496
10567
  # snapshot, you must specify the same filesystem type that the volume
10497
10568
  # was using when the snapshot was created. If there is a filesystem
10498
- # type mismatch, the task will fail to start.
10569
+ # type mismatch, the tasks will fail to start.
10499
10570
  #
10500
10571
  # The available Linux filesystem types are
 `ext3`, `ext4`, and `xfs`.
10501
10572
  # If no value is specified, the `xfs` filesystem type is used by
@@ -10512,6 +10583,7 @@ module Aws::ECS
10512
10583
  :volume_type,
10513
10584
  :size_in_gi_b,
10514
10585
  :snapshot_id,
10586
+ :volume_initialization_rate,
10515
10587
  :iops,
10516
10588
  :throughput,
10517
10589
  :tag_specifications,
@@ -11034,7 +11106,7 @@ module Aws::ECS
11034
11106
  # @!attribute [rw] stop_type
11035
11107
  # How you want Amazon ECS to stop the service.
11036
11108
  #
11037
- # The valid values are `ROLLBACK`.
11109
+ # The ROLLBACK and ABORT stopType aren't supported.
11038
11110
  # @return [String]
11039
11111
  #
11040
11112
  # @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/StopServiceDeploymentRequest AWS API Documentation
@@ -11320,7 +11392,9 @@ module Aws::ECS
11320
11392
  # "kernel.shmmni" | "kernel.shm_rmid_forced"`, and `Sysctls` that
11321
11393
  # start with `"fs.mqueue.*"`
11322
11394
  #
11323
- # Valid network namespace values: `Sysctls` that start with `"net.*"`
11395
+ # Valid network namespace values: `Sysctls` that start with `"net.*"`.
11396
+ # Only namespaced `Sysctls` that exist within the container starting
11397
+ # with "net.* are accepted.
11324
11398
  #
11325
11399
  # All of these values are supported by Fargate.
11326
11400
  # @return [String]
@@ -11539,13 +11613,38 @@ module Aws::ECS
11539
11613
  # (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
11540
11614
  # specify a value, the parameter is ignored.
11541
11615
  #
11542
- # This field is required for Fargate. For information about the valid
11543
- # values, see [Task size][1] in the *Amazon Elastic Container Service
11544
- # Developer Guide*.
11616
+ # If you're using the Fargate launch type, this field is required.
11617
+ # You must use one of the following values. These values determine the
11618
+ # range of supported values for the `memory` parameter:
11619
+ #
11620
+ # The CPU units cannot be less than 1 vCPU when you use Windows
11621
+ # containers on Fargate.
11622
+ #
11623
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
11624
+ # GB), 2048 (2 GB)
11625
+ #
11626
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
11627
+ # GB), 3072 (3 GB), 4096 (4 GB)
11628
+ #
11629
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3
11630
+ # GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
11631
+ # GB)
11632
+ #
11633
+ # * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
11634
+ # (16 GB) in increments of 1024 (1 GB)
11635
+ #
11636
+ # * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
11637
+ # (30 GB) in increments of 1024 (1 GB)
11545
11638
  #
11639
+ # * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
11640
+ # increments
11546
11641
  #
11642
+ # This option requires Linux platform `1.4.0` or later.
11643
+ #
11644
+ # * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
11645
+ # GB increments
11547
11646
  #
11548
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size
11647
+ # This option requires Linux platform `1.4.0` or later.
11549
11648
  # @return [String]
11550
11649
  #
11551
11650
  # @!attribute [rw] created_at
@@ -12029,15 +12128,35 @@ module Aws::ECS
12029
12128
  #
12030
12129
  # If you're using the EC2 launch type or the external launch type,
12031
12130
  # this field is optional. Supported values are between `128` CPU units
12032
- # (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs).
12131
+ # (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). The CPU units
12132
+ # cannot be less than 1 vCPU when you use Windows containers on
12133
+ # Fargate.
12033
12134
  #
12034
- # This field is required for Fargate. For information about the valid
12035
- # values, see [Task size][1] in the *Amazon Elastic Container Service
12036
- # Developer Guide*.
12135
+ # * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
12136
+ # GB), 2048 (2 GB)
12137
+ #
12138
+ # * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
12139
+ # GB), 3072 (3 GB), 4096 (4 GB)
12140
+ #
12141
+ # * 1024 (1 vCPU) - Available `memory` values: 2048 (2 GB), 3072 (3
12142
+ # GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8
12143
+ # GB)
12144
+ #
12145
+ # * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
12146
+ # (16 GB) in increments of 1024 (1 GB)
12147
+ #
12148
+ # * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
12149
+ # (30 GB) in increments of 1024 (1 GB)
12150
+ #
12151
+ # * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
12152
+ # increments
12037
12153
  #
12154
+ # This option requires Linux platform `1.4.0` or later.
12038
12155
  #
12156
+ # * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
12157
+ # GB increments
12039
12158
  #
12040
- # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_size
12159
+ # This option requires Linux platform `1.4.0` or later.
12041
12160
  # @return [String]
12042
12161
  #
12043
12162
  # @!attribute [rw] memory
@@ -12294,10 +12413,12 @@ module Aws::ECS
12294
12413
  # Amazon EBS volume, with one volume created for each task.
12295
12414
  #
12296
12415
  # @!attribute [rw] encrypted
12297
- # Indicates whether the volume should be encrypted. If no value is
12298
- # specified, encryption is turned on by default. This parameter maps
12299
- # 1:1 with the `Encrypted` parameter of the [CreateVolume API][1] in
12300
- # the *Amazon EC2 API Reference*.
12416
+ # Indicates whether the volume should be encrypted. If you turn on
12417
+ # Region-level Amazon EBS encryption by default but set this value as
12418
+ # `false`, the setting is overridden and the volume is encrypted with
12419
+ # the KMS key specified for Amazon EBS encryption by default. This
12420
+ # parameter maps 1:1 with the `Encrypted` parameter of the
12421
+ # [CreateVolume API][1] in the *Amazon EC2 API Reference*.
12301
12422
  #
12302
12423
  #
12303
12424
  #
@@ -12306,12 +12427,14 @@ module Aws::ECS
12306
12427
  #
12307
12428
  # @!attribute [rw] kms_key_id
12308
12429
  # The Amazon Resource Name (ARN) identifier of the Amazon Web Services
12309
- # Key Management Service key to use for Amazon EBS encryption. When
12310
- # encryption is turned on and no Amazon Web Services Key Management
12311
- # Service key is specified, the default Amazon Web Services managed
12312
- # key for Amazon EBS volumes is used. This parameter maps 1:1 with the
12313
- # `KmsKeyId` parameter of the [CreateVolume API][1] in the *Amazon EC2
12314
- # API Reference*.
12430
+ # Key Management Service key to use for Amazon EBS encryption. When a
12431
+ # key is specified using this parameter, it overrides Amazon EBS
12432
+ # default encryption or any KMS key that you specified for
12433
+ # cluster-level managed storage encryption. This parameter maps 1:1
12434
+ # with the `KmsKeyId` parameter of the [CreateVolume API][1] in the
12435
+ # *Amazon EC2 API Reference*. For more information about encrypting
12436
+ # Amazon EBS volumes attached to a task, see [Encrypt data stored in
12437
+ # Amazon EBS volumes attached to Amazon ECS tasks][2].
12315
12438
  #
12316
12439
  # Amazon Web Services authenticates the Amazon Web Services Key
12317
12440
  # Management Service key asynchronously. Therefore, if you specify an
@@ -12321,6 +12444,7 @@ module Aws::ECS
12321
12444
  #
12322
12445
  #
12323
12446
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
12447
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-kms-encryption.html
12324
12448
  # @return [String]
12325
12449
  #
12326
12450
  # @!attribute [rw] volume_type
@@ -12386,6 +12510,18 @@ module Aws::ECS
12386
12510
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
12387
12511
  # @return [String]
12388
12512
  #
12513
+ # @!attribute [rw] volume_initialization_rate
12514
+ # The rate, in MiB/s, at which data is fetched from a snapshot of an
12515
+ # existing Amazon EBS volume to create a new volume for attachment to
12516
+ # the task. This property can be specified only if you specify a
12517
+ # `snapshotId`. For more information, see [Initialize Amazon EBS
12518
+ # volumes][1] in the *Amazon EBS User Guide*.
12519
+ #
12520
+ #
12521
+ #
12522
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/initalize-volume.html
12523
+ # @return [Integer]
12524
+ #
12389
12525
  # @!attribute [rw] iops
12390
12526
  # The number of I/O operations per second (IOPS). For `gp3`, `io1`,
12391
12527
  # and `io2` volumes, this represents the number of IOPS that are
@@ -12474,6 +12610,7 @@ module Aws::ECS
12474
12610
  :volume_type,
12475
12611
  :size_in_gi_b,
12476
12612
  :snapshot_id,
12613
+ :volume_initialization_rate,
12477
12614
  :iops,
12478
12615
  :throughput,
12479
12616
  :tag_specifications,
data/lib/aws-sdk-ecs.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::ECS
55
55
  autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-ecs/endpoints'
57
57
 
58
- GEM_VERSION = '1.190.0'
58
+ GEM_VERSION = '1.191.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -287,6 +287,7 @@ module Aws
287
287
  volume_type: ::String?,
288
288
  size_in_gi_b: ::Integer?,
289
289
  snapshot_id: ::String?,
290
+ volume_initialization_rate: ::Integer?,
290
291
  iops: ::Integer?,
291
292
  throughput: ::Integer?,
292
293
  tag_specifications: Array[
@@ -1253,6 +1254,7 @@ module Aws
1253
1254
  volume_type: ::String?,
1254
1255
  size_in_gi_b: ::Integer?,
1255
1256
  snapshot_id: ::String?,
1257
+ volume_initialization_rate: ::Integer?,
1256
1258
  iops: ::Integer?,
1257
1259
  throughput: ::Integer?,
1258
1260
  tag_specifications: Array[
@@ -1358,6 +1360,7 @@ module Aws
1358
1360
  volume_type: ::String?,
1359
1361
  size_in_gi_b: ::Integer?,
1360
1362
  snapshot_id: ::String?,
1363
+ volume_initialization_rate: ::Integer?,
1361
1364
  iops: ::Integer?,
1362
1365
  throughput: ::Integer?,
1363
1366
  tag_specifications: Array[
@@ -1739,6 +1742,7 @@ module Aws
1739
1742
  volume_type: ::String?,
1740
1743
  size_in_gi_b: ::Integer?,
1741
1744
  snapshot_id: ::String?,
1745
+ volume_initialization_rate: ::Integer?,
1742
1746
  iops: ::Integer?,
1743
1747
  throughput: ::Integer?,
1744
1748
  tag_specifications: Array[
data/sig/types.rbs CHANGED
@@ -1458,6 +1458,7 @@ module Aws::ECS
1458
1458
  attr_accessor volume_type: ::String
1459
1459
  attr_accessor size_in_gi_b: ::Integer
1460
1460
  attr_accessor snapshot_id: ::String
1461
+ attr_accessor volume_initialization_rate: ::Integer
1461
1462
  attr_accessor iops: ::Integer
1462
1463
  attr_accessor throughput: ::Integer
1463
1464
  attr_accessor tag_specifications: ::Array[Types::EBSTagSpecification]
@@ -1739,6 +1740,7 @@ module Aws::ECS
1739
1740
  attr_accessor volume_type: ::String
1740
1741
  attr_accessor size_in_gi_b: ::Integer
1741
1742
  attr_accessor snapshot_id: ::String
1743
+ attr_accessor volume_initialization_rate: ::Integer
1742
1744
  attr_accessor iops: ::Integer
1743
1745
  attr_accessor throughput: ::Integer
1744
1746
  attr_accessor tag_specifications: ::Array[Types::EBSTagSpecification]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.190.0
4
+ version: 1.191.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services