aws-sdk-ecs 1.187.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +55 -30
- data/lib/aws-sdk-ecs/client_api.rb +3 -1
- data/lib/aws-sdk-ecs/types.rb +176 -43
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +4 -0
- data/sig/types.rbs +2 -0
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 027aa2689591df034441a7a47aa347f2a04973f0ee2d8193dfa9583cae9fb6c4
|
4
|
+
data.tar.gz: 640d90de39c0b70513bf73c2fd9620617fe80f3c437e95c31c41ce183e222e5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c055504aa55c26c54a900bd162eebc71c5dd178c8e78ac368a7fa1c41ca057d716906668ea3cda4dc920e644aa647af056ff39fab14a571b768a30d2f94ad47
|
7
|
+
data.tar.gz: 4ba3d8612a17f93f43cca9b5a60618b7640e26e290afc9bf9419306760dfb77a2fc3d122157a3f256c690bed8e2ba7857be3bc3bba0be6f12424fe7a7e49ecd2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
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
|
+
|
9
|
+
1.190.0 (2025-05-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.189.0 (2025-05-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Add support to roll back an In_Progress ECS Service Deployment
|
18
|
+
|
19
|
+
1.188.0 (2025-05-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.187.0 (2025-04-25)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.191.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -200,8 +200,7 @@ module Aws::ECS
|
|
200
200
|
# accepted modes and the configuration defaults that are included.
|
201
201
|
#
|
202
202
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
203
|
-
#
|
204
|
-
# to default service endpoint when available.
|
203
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
205
204
|
#
|
206
205
|
# @option options [Boolean] :disable_request_compression (false)
|
207
206
|
# When set to 'true' the request body will not be compressed
|
@@ -1631,6 +1630,7 @@ module Aws::ECS
|
|
1631
1630
|
# volume_type: "EBSVolumeType",
|
1632
1631
|
# size_in_gi_b: 1,
|
1633
1632
|
# snapshot_id: "EBSSnapshotId",
|
1633
|
+
# volume_initialization_rate: 1,
|
1634
1634
|
# iops: 1,
|
1635
1635
|
# throughput: 1,
|
1636
1636
|
# tag_specifications: [
|
@@ -1792,6 +1792,7 @@ module Aws::ECS
|
|
1792
1792
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
1793
1793
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
1794
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
|
1795
1796
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
1796
1797
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
1797
1798
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
@@ -2722,6 +2723,7 @@ module Aws::ECS
|
|
2722
2723
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
2723
2724
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
2724
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
|
2725
2727
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
2726
2728
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
2727
2729
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
@@ -2850,7 +2852,7 @@ module Aws::ECS
|
|
2850
2852
|
# environment: [
|
2851
2853
|
# ],
|
2852
2854
|
# essential: true,
|
2853
|
-
# image: "ubuntu",
|
2855
|
+
# image: "public.ecr.aws/docker/library/ubuntu:latest",
|
2854
2856
|
# memory: 100,
|
2855
2857
|
# mount_points: [
|
2856
2858
|
# ],
|
@@ -3386,10 +3388,10 @@ module Aws::ECS
|
|
3386
3388
|
#
|
3387
3389
|
# @example Example: To deregister a revision of a task definition
|
3388
3390
|
#
|
3389
|
-
# # This example deregisters the first revision of the
|
3391
|
+
# # This example deregisters the first revision of the fargate-task task definition
|
3390
3392
|
#
|
3391
3393
|
# resp = client.deregister_task_definition({
|
3392
|
-
# task_definition: "
|
3394
|
+
# task_definition: "fargate-task:1",
|
3393
3395
|
# })
|
3394
3396
|
#
|
3395
3397
|
# resp.to_h outputs the following:
|
@@ -3397,30 +3399,23 @@ module Aws::ECS
|
|
3397
3399
|
# task_definition: {
|
3398
3400
|
# container_definitions: [
|
3399
3401
|
# {
|
3400
|
-
# name: "
|
3401
|
-
#
|
3402
|
-
# "curl -v http://example.com/",
|
3403
|
-
# ],
|
3404
|
-
# cpu: 100,
|
3405
|
-
# entry_point: [
|
3406
|
-
# ],
|
3407
|
-
# environment: [
|
3408
|
-
# ],
|
3402
|
+
# name: "nginx",
|
3403
|
+
# cpu: 256,
|
3409
3404
|
# essential: true,
|
3410
|
-
# image: "
|
3411
|
-
# memory:
|
3412
|
-
# mount_points: [
|
3413
|
-
# ],
|
3405
|
+
# image: "public.ecr.aws/docker/library/nginx:latest",
|
3406
|
+
# memory: 128,
|
3414
3407
|
# port_mappings: [
|
3415
|
-
#
|
3416
|
-
#
|
3408
|
+
# {
|
3409
|
+
# container_port: 80,
|
3410
|
+
# host_port: 80,
|
3411
|
+
# protocol: "tcp",
|
3412
|
+
# },
|
3417
3413
|
# ],
|
3418
3414
|
# },
|
3419
3415
|
# ],
|
3420
|
-
# family: "
|
3421
|
-
# revision: 1,
|
3416
|
+
# family: "fargate-task",
|
3422
3417
|
# status: "INACTIVE",
|
3423
|
-
# task_definition_arn: "arn:aws:ecs:us-west-2:123456789012:task-definition/
|
3418
|
+
# task_definition_arn: "arn:aws:ecs:us-west-2:123456789012:task-definition/fargate-task:1",
|
3424
3419
|
# volumes: [
|
3425
3420
|
# ],
|
3426
3421
|
# },
|
@@ -4361,6 +4356,7 @@ module Aws::ECS
|
|
4361
4356
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
4362
4357
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
4363
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
|
4364
4360
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
4365
4361
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
4366
4362
|
# resp.service_revisions[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
@@ -4611,6 +4607,7 @@ module Aws::ECS
|
|
4611
4607
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
4612
4608
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
4613
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
|
4614
4611
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
4615
4612
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
4616
4613
|
# resp.services[0].deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
@@ -7891,13 +7888,37 @@ module Aws::ECS
|
|
7891
7888
|
# (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
|
7892
7889
|
# specify a value, the parameter is ignored.
|
7893
7890
|
#
|
7894
|
-
#
|
7895
|
-
#
|
7896
|
-
#
|
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:
|
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)
|
7897
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)
|
7898
7906
|
#
|
7907
|
+
# * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384 (16
|
7908
|
+
# GB) in increments of 1024 (1 GB)
|
7899
7909
|
#
|
7900
|
-
#
|
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.
|
7901
7922
|
#
|
7902
7923
|
# @option params [String] :memory
|
7903
7924
|
# The amount of memory (in MiB) used by the task. It can be expressed as
|
@@ -8111,7 +8132,7 @@ module Aws::ECS
|
|
8111
8132
|
# ],
|
8112
8133
|
# cpu: 10,
|
8113
8134
|
# essential: true,
|
8114
|
-
# image: "busybox",
|
8135
|
+
# image: "public.ecr.aws/docker/library/busybox:latest",
|
8115
8136
|
# memory: 10,
|
8116
8137
|
# },
|
8117
8138
|
# ],
|
@@ -8135,7 +8156,7 @@ module Aws::ECS
|
|
8135
8156
|
# environment: [
|
8136
8157
|
# ],
|
8137
8158
|
# essential: true,
|
8138
|
-
# image: "busybox",
|
8159
|
+
# image: "public.ecr.aws/docker/library/busybox:latest",
|
8139
8160
|
# memory: 10,
|
8140
8161
|
# mount_points: [
|
8141
8162
|
# ],
|
@@ -9033,6 +9054,7 @@ module Aws::ECS
|
|
9033
9054
|
# volume_type: "EBSVolumeType",
|
9034
9055
|
# size_in_gi_b: 1,
|
9035
9056
|
# snapshot_id: "EBSSnapshotId",
|
9057
|
+
# volume_initialization_rate: 1,
|
9036
9058
|
# iops: 1,
|
9037
9059
|
# throughput: 1,
|
9038
9060
|
# tag_specifications: [
|
@@ -9465,6 +9487,7 @@ module Aws::ECS
|
|
9465
9487
|
# volume_type: "EBSVolumeType",
|
9466
9488
|
# size_in_gi_b: 1,
|
9467
9489
|
# snapshot_id: "EBSSnapshotId",
|
9490
|
+
# volume_initialization_rate: 1,
|
9468
9491
|
# iops: 1,
|
9469
9492
|
# throughput: 1,
|
9470
9493
|
# tag_specifications: [
|
@@ -11821,6 +11844,7 @@ module Aws::ECS
|
|
11821
11844
|
# volume_type: "EBSVolumeType",
|
11822
11845
|
# size_in_gi_b: 1,
|
11823
11846
|
# snapshot_id: "EBSSnapshotId",
|
11847
|
+
# volume_initialization_rate: 1,
|
11824
11848
|
# iops: 1,
|
11825
11849
|
# throughput: 1,
|
11826
11850
|
# tag_specifications: [
|
@@ -11982,6 +12006,7 @@ module Aws::ECS
|
|
11982
12006
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.volume_type #=> String
|
11983
12007
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.size_in_gi_b #=> Integer
|
11984
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
|
11985
12010
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.iops #=> Integer
|
11986
12011
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.throughput #=> Integer
|
11987
12012
|
# resp.service.deployments[0].volume_configurations[0].managed_ebs_volume.tag_specifications #=> Array
|
@@ -12511,7 +12536,7 @@ module Aws::ECS
|
|
12511
12536
|
tracer: tracer
|
12512
12537
|
)
|
12513
12538
|
context[:gem_name] = 'aws-sdk-ecs'
|
12514
|
-
context[:gem_version] = '1.
|
12539
|
+
context[:gem_version] = '1.191.0'
|
12515
12540
|
Seahorse::Client::Request.new(handlers, context)
|
12516
12541
|
end
|
12517
12542
|
|
@@ -1497,7 +1497,7 @@ module Aws::ECS
|
|
1497
1497
|
RunTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
|
1498
1498
|
RunTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1499
1499
|
RunTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
|
1500
|
-
RunTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1500
|
+
RunTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
1501
1501
|
RunTaskRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: TaskVolumeConfigurations, location_name: "volumeConfigurations"))
|
1502
1502
|
RunTaskRequest.struct_class = Types::RunTaskRequest
|
1503
1503
|
|
@@ -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"))
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -523,7 +523,8 @@ module Aws::ECS
|
|
523
523
|
# @return [String]
|
524
524
|
#
|
525
525
|
# @!attribute [rw] configuration
|
526
|
-
# The execute command configuration for the
|
526
|
+
# The execute command and managed storage configuration for the
|
527
|
+
# cluster.
|
527
528
|
# @return [Types::ClusterConfiguration]
|
528
529
|
#
|
529
530
|
# @!attribute [rw] status
|
@@ -7248,17 +7249,40 @@ module Aws::ECS
|
|
7248
7249
|
# The managed storage configuration for the cluster.
|
7249
7250
|
#
|
7250
7251
|
# @!attribute [rw] kms_key_id
|
7251
|
-
# Specify a Key Management Service key ID to encrypt
|
7252
|
-
# 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*.
|
7253
7262
|
#
|
7254
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
|
7255
7268
|
# @return [String]
|
7256
7269
|
#
|
7257
7270
|
# @!attribute [rw] fargate_ephemeral_storage_kms_key_id
|
7258
|
-
# Specify the Key Management Service key ID for
|
7271
|
+
# Specify the Key Management Service key ID for Fargate ephemeral
|
7259
7272
|
# storage.
|
7260
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
|
+
#
|
7261
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
|
7262
7286
|
# @return [String]
|
7263
7287
|
#
|
7264
7288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ManagedStorageConfiguration AWS API Documentation
|
@@ -8558,13 +8582,38 @@ module Aws::ECS
|
|
8558
8582
|
# (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
|
8559
8583
|
# specify a value, the parameter is ignored.
|
8560
8584
|
#
|
8561
|
-
#
|
8562
|
-
#
|
8563
|
-
#
|
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.
|
8564
8591
|
#
|
8592
|
+
# * 256 (.25 vCPU) - Available `memory` values: 512 (0.5 GB), 1024 (1
|
8593
|
+
# GB), 2048 (2 GB)
|
8565
8594
|
#
|
8595
|
+
# * 512 (.5 vCPU) - Available `memory` values: 1024 (1 GB), 2048 (2
|
8596
|
+
# GB), 3072 (3 GB), 4096 (4 GB)
|
8566
8597
|
#
|
8567
|
-
#
|
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)
|
8601
|
+
#
|
8602
|
+
# * 2048 (2 vCPU) - Available `memory` values: 4096 (4 GB) and 16384
|
8603
|
+
# (16 GB) in increments of 1024 (1 GB)
|
8604
|
+
#
|
8605
|
+
# * 4096 (4 vCPU) - Available `memory` values: 8192 (8 GB) and 30720
|
8606
|
+
# (30 GB) in increments of 1024 (1 GB)
|
8607
|
+
#
|
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.
|
8568
8617
|
# @return [String]
|
8569
8618
|
#
|
8570
8619
|
# @!attribute [rw] memory
|
@@ -10339,10 +10388,12 @@ module Aws::ECS
|
|
10339
10388
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ebs-volumes.html#ebs-volumes-configuration
|
10340
10389
|
#
|
10341
10390
|
# @!attribute [rw] encrypted
|
10342
|
-
# Indicates whether the volume should be encrypted. If
|
10343
|
-
#
|
10344
|
-
#
|
10345
|
-
# the
|
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*.
|
10346
10397
|
#
|
10347
10398
|
#
|
10348
10399
|
#
|
@@ -10351,12 +10402,14 @@ module Aws::ECS
|
|
10351
10402
|
#
|
10352
10403
|
# @!attribute [rw] kms_key_id
|
10353
10404
|
# The Amazon Resource Name (ARN) identifier of the Amazon Web Services
|
10354
|
-
# Key Management Service key to use for Amazon EBS encryption. When
|
10355
|
-
#
|
10356
|
-
#
|
10357
|
-
#
|
10358
|
-
# `KmsKeyId` parameter of the [CreateVolume API][1] in the
|
10359
|
-
# 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].
|
10360
10413
|
#
|
10361
10414
|
# Amazon Web Services authenticates the Amazon Web Services Key
|
10362
10415
|
# Management Service key asynchronously. Therefore, if you specify an
|
@@ -10366,6 +10419,7 @@ module Aws::ECS
|
|
10366
10419
|
#
|
10367
10420
|
#
|
10368
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
|
10369
10423
|
# @return [String]
|
10370
10424
|
#
|
10371
10425
|
# @!attribute [rw] volume_type
|
@@ -10421,16 +10475,29 @@ module Aws::ECS
|
|
10421
10475
|
# @return [Integer]
|
10422
10476
|
#
|
10423
10477
|
# @!attribute [rw] snapshot_id
|
10424
|
-
# The snapshot that Amazon ECS uses to create
|
10425
|
-
#
|
10426
|
-
#
|
10427
|
-
# the
|
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*.
|
10428
10483
|
#
|
10429
10484
|
#
|
10430
10485
|
#
|
10431
10486
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
|
10432
10487
|
# @return [String]
|
10433
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
|
+
#
|
10434
10501
|
# @!attribute [rw] iops
|
10435
10502
|
# The number of I/O operations per second (IOPS). For `gp3`, `io1`,
|
10436
10503
|
# and `io2` volumes, this represents the number of IOPS that are
|
@@ -10499,7 +10566,7 @@ module Aws::ECS
|
|
10499
10566
|
# The filesystem type for the volume. For volumes created from a
|
10500
10567
|
# snapshot, you must specify the same filesystem type that the volume
|
10501
10568
|
# was using when the snapshot was created. If there is a filesystem
|
10502
|
-
# type mismatch, the
|
10569
|
+
# type mismatch, the tasks will fail to start.
|
10503
10570
|
#
|
10504
10571
|
# The available Linux filesystem types are
`ext3`, `ext4`, and `xfs`.
|
10505
10572
|
# If no value is specified, the `xfs` filesystem type is used by
|
@@ -10516,6 +10583,7 @@ module Aws::ECS
|
|
10516
10583
|
:volume_type,
|
10517
10584
|
:size_in_gi_b,
|
10518
10585
|
:snapshot_id,
|
10586
|
+
:volume_initialization_rate,
|
10519
10587
|
:iops,
|
10520
10588
|
:throughput,
|
10521
10589
|
:tag_specifications,
|
@@ -11324,7 +11392,9 @@ module Aws::ECS
|
|
11324
11392
|
# "kernel.shmmni" | "kernel.shm_rmid_forced"`, and `Sysctls` that
|
11325
11393
|
# start with `"fs.mqueue.*"`
|
11326
11394
|
#
|
11327
|
-
# 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.
|
11328
11398
|
#
|
11329
11399
|
# All of these values are supported by Fargate.
|
11330
11400
|
# @return [String]
|
@@ -11543,13 +11613,38 @@ module Aws::ECS
|
|
11543
11613
|
# (`0.125` vCPUs) and `196608` CPU units (`192` vCPUs). If you do not
|
11544
11614
|
# specify a value, the parameter is ignored.
|
11545
11615
|
#
|
11546
|
-
#
|
11547
|
-
#
|
11548
|
-
#
|
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)
|
11549
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)
|
11638
|
+
#
|
11639
|
+
# * 8192 (8 vCPU) - Available `memory` values: 16 GB and 60 GB in 4 GB
|
11640
|
+
# increments
|
11641
|
+
#
|
11642
|
+
# This option requires Linux platform `1.4.0` or later.
|
11550
11643
|
#
|
11644
|
+
# * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
|
11645
|
+
# GB increments
|
11551
11646
|
#
|
11552
|
-
#
|
11647
|
+
# This option requires Linux platform `1.4.0` or later.
|
11553
11648
|
# @return [String]
|
11554
11649
|
#
|
11555
11650
|
# @!attribute [rw] created_at
|
@@ -12033,15 +12128,35 @@ module Aws::ECS
|
|
12033
12128
|
#
|
12034
12129
|
# If you're using the EC2 launch type or the external launch type,
|
12035
12130
|
# this field is optional. Supported values are between `128` CPU units
|
12036
|
-
# (`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.
|
12037
12134
|
#
|
12038
|
-
#
|
12039
|
-
#
|
12040
|
-
#
|
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)
|
12041
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
|
12153
|
+
#
|
12154
|
+
# This option requires Linux platform `1.4.0` or later.
|
12042
12155
|
#
|
12156
|
+
# * 16384 (16vCPU) - Available `memory` values: 32GB and 120 GB in 8
|
12157
|
+
# GB increments
|
12043
12158
|
#
|
12044
|
-
#
|
12159
|
+
# This option requires Linux platform `1.4.0` or later.
|
12045
12160
|
# @return [String]
|
12046
12161
|
#
|
12047
12162
|
# @!attribute [rw] memory
|
@@ -12298,10 +12413,12 @@ module Aws::ECS
|
|
12298
12413
|
# Amazon EBS volume, with one volume created for each task.
|
12299
12414
|
#
|
12300
12415
|
# @!attribute [rw] encrypted
|
12301
|
-
# Indicates whether the volume should be encrypted. If
|
12302
|
-
#
|
12303
|
-
#
|
12304
|
-
# the
|
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*.
|
12305
12422
|
#
|
12306
12423
|
#
|
12307
12424
|
#
|
@@ -12310,12 +12427,14 @@ module Aws::ECS
|
|
12310
12427
|
#
|
12311
12428
|
# @!attribute [rw] kms_key_id
|
12312
12429
|
# The Amazon Resource Name (ARN) identifier of the Amazon Web Services
|
12313
|
-
# Key Management Service key to use for Amazon EBS encryption. When
|
12314
|
-
#
|
12315
|
-
#
|
12316
|
-
#
|
12317
|
-
# `KmsKeyId` parameter of the [CreateVolume API][1] in the
|
12318
|
-
# 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].
|
12319
12438
|
#
|
12320
12439
|
# Amazon Web Services authenticates the Amazon Web Services Key
|
12321
12440
|
# Management Service key asynchronously. Therefore, if you specify an
|
@@ -12325,6 +12444,7 @@ module Aws::ECS
|
|
12325
12444
|
#
|
12326
12445
|
#
|
12327
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
|
12328
12448
|
# @return [String]
|
12329
12449
|
#
|
12330
12450
|
# @!attribute [rw] volume_type
|
@@ -12390,6 +12510,18 @@ module Aws::ECS
|
|
12390
12510
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVolume.html
|
12391
12511
|
# @return [String]
|
12392
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
|
+
#
|
12393
12525
|
# @!attribute [rw] iops
|
12394
12526
|
# The number of I/O operations per second (IOPS). For `gp3`, `io1`,
|
12395
12527
|
# and `io2` volumes, this represents the number of IOPS that are
|
@@ -12478,6 +12610,7 @@ module Aws::ECS
|
|
12478
12610
|
:volume_type,
|
12479
12611
|
:size_in_gi_b,
|
12480
12612
|
:snapshot_id,
|
12613
|
+
:volume_initialization_rate,
|
12481
12614
|
:iops,
|
12482
12615
|
:throughput,
|
12483
12616
|
:tag_specifications,
|
data/lib/aws-sdk-ecs.rb
CHANGED
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,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.191.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: aws-sdk-core
|
@@ -78,7 +77,6 @@ licenses:
|
|
78
77
|
metadata:
|
79
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecs
|
80
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecs/CHANGELOG.md
|
81
|
-
post_install_message:
|
82
80
|
rdoc_options: []
|
83
81
|
require_paths:
|
84
82
|
- lib
|
@@ -93,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
91
|
- !ruby/object:Gem::Version
|
94
92
|
version: '0'
|
95
93
|
requirements: []
|
96
|
-
rubygems_version: 3.
|
97
|
-
signing_key:
|
94
|
+
rubygems_version: 3.6.7
|
98
95
|
specification_version: 4
|
99
96
|
summary: AWS SDK for Ruby - Amazon ECS
|
100
97
|
test_files: []
|