aws-sdk-ecs 1.120.0 → 1.127.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 +35 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +51 -12
- data/lib/aws-sdk-ecs/client_api.rb +1 -0
- data/lib/aws-sdk-ecs/endpoints.rb +1 -0
- data/lib/aws-sdk-ecs/types.rb +126 -27
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be19bad5e5c9a653ec7741bc5504596fba18fa3412aadc1bc9c221d03d024ce8
|
4
|
+
data.tar.gz: c46d0060da3110f6fda12a3c39763f2a9e2751beb8738b6cd550bfd00d6de7a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6345f4afabbd40bb6683b5e43370c94510720f9a6d30aa02ab048d18b42bc382375d3fb23bd56eed442ba6647110ae163075e2ffb9b93e3aab08cfc31670afb
|
7
|
+
data.tar.gz: 406c373f515f15827e31d4a47121f41f3a9dbb6dab4a6683decd3b28af6950205bf0ee240df6dccc03738551473099f46061fc9365ebef5905d65ffa5bef804a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,41 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.127.0 (2023-08-04)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This is a documentation update to address various tickets.
|
8
|
+
|
9
|
+
1.126.0 (2023-07-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.125.0 (2023-07-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.124.0 (2023-06-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Added new field "credentialspecs" to the ecs task definition to support gMSA of windows/linux in both domainless and domain-joined mode
|
23
|
+
|
24
|
+
1.123.0 (2023-06-28)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.122.0 (2023-06-19)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Documentation only update to address various tickets.
|
33
|
+
|
34
|
+
1.121.0 (2023-06-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
4
39
|
1.120.0 (2023-05-31)
|
5
40
|
------------------
|
6
41
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.127.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::ECS
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::ECS
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -210,6 +216,10 @@ module Aws::ECS
|
|
210
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
211
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
212
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
213
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
214
224
|
# The log formatter.
|
215
225
|
#
|
@@ -230,6 +240,11 @@ module Aws::ECS
|
|
230
240
|
# Used when loading credentials from the shared credentials file
|
231
241
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
242
|
#
|
243
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
244
|
+
# The minimum size in bytes that triggers compression for request
|
245
|
+
# bodies. The value must be non-negative integer value between 0
|
246
|
+
# and 10485780 bytes inclusive.
|
247
|
+
#
|
233
248
|
# @option options [Proc] :retry_backoff
|
234
249
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
250
|
# This option is only used in the `legacy` retry mode.
|
@@ -1164,6 +1179,9 @@ module Aws::ECS
|
|
1164
1179
|
# resources][1] in the *Amazon Elastic Container Service Developer
|
1165
1180
|
# Guide*.
|
1166
1181
|
#
|
1182
|
+
# When you use Amazon ECS managed tags, you need to set the
|
1183
|
+
# `propagateTags` request parameter.
|
1184
|
+
#
|
1167
1185
|
#
|
1168
1186
|
#
|
1169
1187
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
@@ -1174,6 +1192,8 @@ module Aws::ECS
|
|
1174
1192
|
# can only be propagated to the task during task creation. To add tags
|
1175
1193
|
# to a task after task creation, use the [TagResource][1] API action.
|
1176
1194
|
#
|
1195
|
+
# The default is `NONE`.
|
1196
|
+
#
|
1177
1197
|
#
|
1178
1198
|
#
|
1179
1199
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html
|
@@ -1615,7 +1635,8 @@ module Aws::ECS
|
|
1615
1635
|
# value.
|
1616
1636
|
#
|
1617
1637
|
# @option params [required, String] :task_definition
|
1618
|
-
# The task definition for the tasks in the task set to use.
|
1638
|
+
# The task definition for the tasks in the task set to use. If a
|
1639
|
+
# revision isn't specified, the latest `ACTIVE` revision is used.
|
1619
1640
|
#
|
1620
1641
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
1621
1642
|
# An object representing the network configuration for a task set.
|
@@ -2356,6 +2377,14 @@ module Aws::ECS
|
|
2356
2377
|
# A task definition revision will stay in `DELETE_IN_PROGRESS` status
|
2357
2378
|
# until all the associated tasks and services have been terminated.
|
2358
2379
|
#
|
2380
|
+
# When you delete all `INACTIVE` task definition revisions, the task
|
2381
|
+
# definition name is not displayed in the console and not returned in
|
2382
|
+
# the API. If a task definition revisions are in the
|
2383
|
+
# `DELETE_IN_PROGRESS` state, the task definition name is displayed in
|
2384
|
+
# the console and returned in the API. The task definition name is
|
2385
|
+
# retained by Amazon ECS and the revision is incremented the next time
|
2386
|
+
# you create a task definition with that name.
|
2387
|
+
#
|
2359
2388
|
#
|
2360
2389
|
#
|
2361
2390
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeregisterTaskDefinition.html
|
@@ -2486,6 +2515,8 @@ module Aws::ECS
|
|
2486
2515
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
2487
2516
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.options #=> Hash
|
2488
2517
|
# resp.task_definitions[0].container_definitions[0].firelens_configuration.options["String"] #=> String
|
2518
|
+
# resp.task_definitions[0].container_definitions[0].credential_specs #=> Array
|
2519
|
+
# resp.task_definitions[0].container_definitions[0].credential_specs[0] #=> String
|
2489
2520
|
# resp.task_definitions[0].family #=> String
|
2490
2521
|
# resp.task_definitions[0].task_role_arn #=> String
|
2491
2522
|
# resp.task_definitions[0].execution_role_arn #=> String
|
@@ -2939,6 +2970,8 @@ module Aws::ECS
|
|
2939
2970
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
2940
2971
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
2941
2972
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
2973
|
+
# resp.task_definition.container_definitions[0].credential_specs #=> Array
|
2974
|
+
# resp.task_definition.container_definitions[0].credential_specs[0] #=> String
|
2942
2975
|
# resp.task_definition.family #=> String
|
2943
2976
|
# resp.task_definition.task_role_arn #=> String
|
2944
2977
|
# resp.task_definition.execution_role_arn #=> String
|
@@ -3855,6 +3888,8 @@ module Aws::ECS
|
|
3855
3888
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
3856
3889
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
3857
3890
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
3891
|
+
# resp.task_definition.container_definitions[0].credential_specs #=> Array
|
3892
|
+
# resp.task_definition.container_definitions[0].credential_specs[0] #=> String
|
3858
3893
|
# resp.task_definition.family #=> String
|
3859
3894
|
# resp.task_definition.task_role_arn #=> String
|
3860
3895
|
# resp.task_definition.execution_role_arn #=> String
|
@@ -4027,6 +4062,11 @@ module Aws::ECS
|
|
4027
4062
|
# Currently, stopped tasks appear in the returned results for at least
|
4028
4063
|
# one hour.
|
4029
4064
|
#
|
4065
|
+
# If you have tasks with tags, and then delete the cluster, the tagged
|
4066
|
+
# tasks are returned in the response. If you create a new cluster with
|
4067
|
+
# the same name as the deleted cluster, the tagged tasks are not
|
4068
|
+
# included in the response.
|
4069
|
+
#
|
4030
4070
|
# @option params [String] :cluster
|
4031
4071
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
4032
4072
|
# hosts the task or tasks to describe. If you do not specify a cluster,
|
@@ -5269,8 +5309,6 @@ module Aws::ECS
|
|
5269
5309
|
# started the task, or by the desired status of the task.
|
5270
5310
|
#
|
5271
5311
|
# Recently stopped tasks might appear in the returned results.
|
5272
|
-
# Currently, stopped tasks appear in the returned results for at least
|
5273
|
-
# one hour.
|
5274
5312
|
#
|
5275
5313
|
# @option params [String] :cluster
|
5276
5314
|
# The short name or full Amazon Resource Name (ARN) of the cluster to
|
@@ -6597,6 +6635,7 @@ module Aws::ECS
|
|
6597
6635
|
# "String" => "String",
|
6598
6636
|
# },
|
6599
6637
|
# },
|
6638
|
+
# credential_specs: ["String"],
|
6600
6639
|
# },
|
6601
6640
|
# ],
|
6602
6641
|
# volumes: [
|
@@ -6785,6 +6824,8 @@ module Aws::ECS
|
|
6785
6824
|
# resp.task_definition.container_definitions[0].firelens_configuration.type #=> String, one of "fluentd", "fluentbit"
|
6786
6825
|
# resp.task_definition.container_definitions[0].firelens_configuration.options #=> Hash
|
6787
6826
|
# resp.task_definition.container_definitions[0].firelens_configuration.options["String"] #=> String
|
6827
|
+
# resp.task_definition.container_definitions[0].credential_specs #=> Array
|
6828
|
+
# resp.task_definition.container_definitions[0].credential_specs[0] #=> String
|
6788
6829
|
# resp.task_definition.family #=> String
|
6789
6830
|
# resp.task_definition.task_role_arn #=> String
|
6790
6831
|
# resp.task_definition.execution_role_arn #=> String
|
@@ -8828,23 +8869,21 @@ module Aws::ECS
|
|
8828
8869
|
# with the largest number of running tasks for this service.
|
8829
8870
|
#
|
8830
8871
|
# <note markdown="1"> You must have a service-linked role when you update any of the
|
8831
|
-
# following service properties
|
8832
|
-
# created the service, Amazon ECS automatically replaces the
|
8833
|
-
# [roleARN][2] associated with the service with the ARN of your
|
8834
|
-
# service-linked role. For more information, see [Service-linked
|
8835
|
-
# roles][3] in the *Amazon Elastic Container Service Developer Guide*.
|
8872
|
+
# following service properties:
|
8836
8873
|
#
|
8837
|
-
# * `loadBalancers
|
8874
|
+
# * `loadBalancers`,
|
8838
8875
|
#
|
8839
8876
|
# * `serviceRegistries`
|
8840
8877
|
#
|
8878
|
+
# For more information about the role see the `CreateService` request
|
8879
|
+
# parameter [ `role` ][2].
|
8880
|
+
#
|
8841
8881
|
# </note>
|
8842
8882
|
#
|
8843
8883
|
#
|
8844
8884
|
#
|
8845
8885
|
# [1]: https://docs.aws.amazon.com/codedeploy/latest/APIReference/API_CreateDeployment.html
|
8846
|
-
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/
|
8847
|
-
# [3]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html
|
8886
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role
|
8848
8887
|
#
|
8849
8888
|
# @option params [String] :cluster
|
8850
8889
|
# The short name or full Amazon Resource Name (ARN) of the cluster that
|
@@ -9709,7 +9748,7 @@ module Aws::ECS
|
|
9709
9748
|
params: params,
|
9710
9749
|
config: config)
|
9711
9750
|
context[:gem_name] = 'aws-sdk-ecs'
|
9712
|
-
context[:gem_version] = '1.
|
9751
|
+
context[:gem_version] = '1.127.0'
|
9713
9752
|
Seahorse::Client::Request.new(handlers, context)
|
9714
9753
|
end
|
9715
9754
|
|
@@ -559,6 +559,7 @@ module Aws::ECS
|
|
559
559
|
ContainerDefinition.add_member(:system_controls, Shapes::ShapeRef.new(shape: SystemControls, location_name: "systemControls"))
|
560
560
|
ContainerDefinition.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
|
561
561
|
ContainerDefinition.add_member(:firelens_configuration, Shapes::ShapeRef.new(shape: FirelensConfiguration, location_name: "firelensConfiguration"))
|
562
|
+
ContainerDefinition.add_member(:credential_specs, Shapes::ShapeRef.new(shape: StringList, location_name: "credentialSpecs"))
|
562
563
|
ContainerDefinition.struct_class = Types::ContainerDefinition
|
563
564
|
|
564
565
|
ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -127,11 +127,11 @@ module Aws::ECS
|
|
127
127
|
#
|
128
128
|
# @!attribute [rw] auto_scaling_group_arn
|
129
129
|
# The Amazon Resource Name (ARN) that identifies the Auto Scaling
|
130
|
-
# group.
|
130
|
+
# group, or the Auto Scaling group name.
|
131
131
|
# @return [String]
|
132
132
|
#
|
133
133
|
# @!attribute [rw] managed_scaling
|
134
|
-
#
|
134
|
+
# he managed scaling settings for the Auto Scaling group capacity
|
135
135
|
# provider.
|
136
136
|
# @return [Types::ManagedScaling]
|
137
137
|
#
|
@@ -1404,6 +1404,8 @@ module Aws::ECS
|
|
1404
1404
|
# [Amazon ECS-optimized Linux AMI][2] in the *Amazon Elastic Container
|
1405
1405
|
# Service Developer Guide*.
|
1406
1406
|
#
|
1407
|
+
# The valid values are 2-120 seconds.
|
1408
|
+
#
|
1407
1409
|
#
|
1408
1410
|
#
|
1409
1411
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
@@ -1444,6 +1446,8 @@ module Aws::ECS
|
|
1444
1446
|
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
|
1445
1447
|
# Developer Guide*.
|
1446
1448
|
#
|
1449
|
+
# The valid values are 2-120 seconds.
|
1450
|
+
#
|
1447
1451
|
#
|
1448
1452
|
#
|
1449
1453
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-update.html
|
@@ -1837,6 +1841,52 @@ module Aws::ECS
|
|
1837
1841
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_firelens.html
|
1838
1842
|
# @return [Types::FirelensConfiguration]
|
1839
1843
|
#
|
1844
|
+
# @!attribute [rw] credential_specs
|
1845
|
+
# A list of ARNs in SSM or Amazon S3 to a credential spec (`CredSpec`)
|
1846
|
+
# file that configures the container for Active Directory
|
1847
|
+
# authentication. We recommend that you use this parameter instead of
|
1848
|
+
# the `dockerSecurityOptions`. The maximum number of ARNs is 1.
|
1849
|
+
#
|
1850
|
+
# There are two formats for each ARN.
|
1851
|
+
#
|
1852
|
+
# credentialspecdomainless:MyARN
|
1853
|
+
#
|
1854
|
+
# : You use `credentialspecdomainless:MyARN` to provide a `CredSpec`
|
1855
|
+
# with an additional section for a secret in Secrets Manager. You
|
1856
|
+
# provide the login credentials to the domain in the secret.
|
1857
|
+
#
|
1858
|
+
# Each task that runs on any container instance can join different
|
1859
|
+
# domains.
|
1860
|
+
#
|
1861
|
+
# You can use this format without joining the container instance to
|
1862
|
+
# a domain.
|
1863
|
+
#
|
1864
|
+
# credentialspec:MyARN
|
1865
|
+
#
|
1866
|
+
# : You use `credentialspec:MyARN` to provide a `CredSpec` for a
|
1867
|
+
# single domain.
|
1868
|
+
#
|
1869
|
+
# You must join the container instance to the domain before you
|
1870
|
+
# start any tasks that use this task definition.
|
1871
|
+
#
|
1872
|
+
# In both formats, replace `MyARN` with the ARN in SSM or Amazon S3.
|
1873
|
+
#
|
1874
|
+
# If you provide a `credentialspecdomainless:MyARN`, the `credspec`
|
1875
|
+
# must provide a ARN in Secrets Manager for a secret containing the
|
1876
|
+
# username, password, and the domain to connect to. For better
|
1877
|
+
# security, the instance isn't joined to the domain for domainless
|
1878
|
+
# authentication. Other applications on the instance can't use the
|
1879
|
+
# domainless credentials. You can use this parameter to run tasks on
|
1880
|
+
# the same instance, even it the tasks need to join different domains.
|
1881
|
+
# For more information, see [Using gMSAs for Windows Containers][1]
|
1882
|
+
# and [Using gMSAs for Linux Containers][2].
|
1883
|
+
#
|
1884
|
+
#
|
1885
|
+
#
|
1886
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html
|
1887
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html
|
1888
|
+
# @return [Array<String>]
|
1889
|
+
#
|
1840
1890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/ContainerDefinition AWS API Documentation
|
1841
1891
|
#
|
1842
1892
|
class ContainerDefinition < Struct.new(
|
@@ -1878,7 +1928,8 @@ module Aws::ECS
|
|
1878
1928
|
:health_check,
|
1879
1929
|
:system_controls,
|
1880
1930
|
:resource_requirements,
|
1881
|
-
:firelens_configuration
|
1931
|
+
:firelens_configuration,
|
1932
|
+
:credential_specs)
|
1882
1933
|
SENSITIVE = []
|
1883
1934
|
include Aws::Structure
|
1884
1935
|
end
|
@@ -2172,6 +2223,15 @@ module Aws::ECS
|
|
2172
2223
|
# is `\{"containerOverrides": [ ] \}`. If a non-empty container override
|
2173
2224
|
# is specified, the `name` parameter must be included.
|
2174
2225
|
#
|
2226
|
+
# You can use Secrets Manager or Amazon Web Services Systems Manager
|
2227
|
+
# Parameter Store to store the sensitive data. For more information, see
|
2228
|
+
# [Retrieve secrets through environment variables][1] in the Amazon ECS
|
2229
|
+
# Developer Guide.
|
2230
|
+
#
|
2231
|
+
#
|
2232
|
+
#
|
2233
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/secrets-envvar.html
|
2234
|
+
#
|
2175
2235
|
# @!attribute [rw] name
|
2176
2236
|
# The name of the container that receives the override. This parameter
|
2177
2237
|
# is required if any override is specified.
|
@@ -2828,6 +2888,9 @@ module Aws::ECS
|
|
2828
2888
|
# ECS resources][1] in the *Amazon Elastic Container Service Developer
|
2829
2889
|
# Guide*.
|
2830
2890
|
#
|
2891
|
+
# When you use Amazon ECS managed tags, you need to set the
|
2892
|
+
# `propagateTags` request parameter.
|
2893
|
+
#
|
2831
2894
|
#
|
2832
2895
|
#
|
2833
2896
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html
|
@@ -2840,6 +2903,8 @@ module Aws::ECS
|
|
2840
2903
|
# tags to a task after task creation, use the [TagResource][1] API
|
2841
2904
|
# action.
|
2842
2905
|
#
|
2906
|
+
# The default is `NONE`.
|
2907
|
+
#
|
2843
2908
|
#
|
2844
2909
|
#
|
2845
2910
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TagResource.html
|
@@ -2944,7 +3009,8 @@ module Aws::ECS
|
|
2944
3009
|
# @return [String]
|
2945
3010
|
#
|
2946
3011
|
# @!attribute [rw] task_definition
|
2947
|
-
# The task definition for the tasks in the task set to use.
|
3012
|
+
# The task definition for the tasks in the task set to use. If a
|
3013
|
+
# revision isn't specified, the latest `ACTIVE` revision is used.
|
2948
3014
|
# @return [String]
|
2949
3015
|
#
|
2950
3016
|
# @!attribute [rw] network_configuration
|
@@ -3573,9 +3639,13 @@ module Aws::ECS
|
|
3573
3639
|
# failure. For more information, see [Rolling update][1] in the *Amazon
|
3574
3640
|
# Elastic Container Service Developer Guide*.
|
3575
3641
|
#
|
3642
|
+
# For more information about API failure reasons, see [API failure
|
3643
|
+
# reasons][2] in the *Amazon Elastic Container Service Developer Guide*.
|
3644
|
+
#
|
3576
3645
|
#
|
3577
3646
|
#
|
3578
3647
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html
|
3648
|
+
# [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/api_failures_messages.html
|
3579
3649
|
#
|
3580
3650
|
# @!attribute [rw] enable
|
3581
3651
|
# Determines whether to use the deployment circuit breaker logic for
|
@@ -4508,8 +4578,7 @@ module Aws::ECS
|
|
4508
4578
|
# variables][2] in the *Amazon Elastic Container Service Developer
|
4509
4579
|
# Guide*.
|
4510
4580
|
#
|
4511
|
-
#
|
4512
|
-
# following platform versions:
|
4581
|
+
# You must use the following platforms for the Fargate launch type:
|
4513
4582
|
#
|
4514
4583
|
# * Linux platform version `1.4.0` or later.
|
4515
4584
|
#
|
@@ -4945,6 +5014,9 @@ module Aws::ECS
|
|
4945
5014
|
# task with the DescribeTasks API operation or when viewing the task
|
4946
5015
|
# details in the console.
|
4947
5016
|
#
|
5017
|
+
# The health check is designed to make sure that your containers survive
|
5018
|
+
# agent restarts, upgrades, or temporary unavailability.
|
5019
|
+
#
|
4948
5020
|
# The following describes the possible `healthStatus` values for a
|
4949
5021
|
# container:
|
4950
5022
|
#
|
@@ -4977,6 +5049,13 @@ module Aws::ECS
|
|
4977
5049
|
#
|
4978
5050
|
# The following are notes about container health check support:
|
4979
5051
|
#
|
5052
|
+
# * When the Amazon ECS agent cannot connect to the Amazon ECS service,
|
5053
|
+
# the service reports the container as `UNHEALTHY`.
|
5054
|
+
#
|
5055
|
+
# * The health check statuses are the "last heard from" response from
|
5056
|
+
# the Amazon ECS agent. There are no assumptions made about the status
|
5057
|
+
# of the container health checks.
|
5058
|
+
#
|
4980
5059
|
# * Container health checks require version 1.17.0 or greater of the
|
4981
5060
|
# Amazon ECS container agent. For more information, see [Updating the
|
4982
5061
|
# Amazon ECS container agent][2].
|
@@ -6223,8 +6302,7 @@ module Aws::ECS
|
|
6223
6302
|
# target group or groups associated with a service or task set.
|
6224
6303
|
#
|
6225
6304
|
# A target group ARN is only specified when using an Application Load
|
6226
|
-
# Balancer or Network Load Balancer.
|
6227
|
-
# Balancer, omit the target group ARN.
|
6305
|
+
# Balancer or Network Load Balancer.
|
6228
6306
|
#
|
6229
6307
|
# For services using the `ECS` deployment controller, you can specify
|
6230
6308
|
# one or multiple target groups. For more information, see
|
@@ -6253,9 +6331,8 @@ module Aws::ECS
|
|
6253
6331
|
# The name of the load balancer to associate with the Amazon ECS
|
6254
6332
|
# service or task set.
|
6255
6333
|
#
|
6256
|
-
#
|
6257
|
-
# Balancer
|
6258
|
-
# Load Balancer the load balancer name parameter should be omitted.
|
6334
|
+
# If you are using an Application Load Balancer or a Network Load
|
6335
|
+
# Balancer the load balancer name parameter should be omitted.
|
6259
6336
|
# @return [String]
|
6260
6337
|
#
|
6261
6338
|
# @!attribute [rw] container_name
|
@@ -6297,9 +6374,15 @@ module Aws::ECS
|
|
6297
6374
|
# containers.
|
6298
6375
|
#
|
6299
6376
|
# * Amazon ECS currently supports a subset of the logging drivers
|
6300
|
-
# available to the Docker daemon
|
6301
|
-
#
|
6302
|
-
#
|
6377
|
+
# available to the Docker daemon. Additional log drivers may be
|
6378
|
+
# available in future releases of the Amazon ECS container agent.
|
6379
|
+
#
|
6380
|
+
# For tasks on Fargate, the supported log drivers are `awslogs`,
|
6381
|
+
# `splunk`, and `awsfirelens`.
|
6382
|
+
#
|
6383
|
+
# For tasks hosted on Amazon EC2 instances, the supported log drivers
|
6384
|
+
# are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,
|
6385
|
+
# `logentries`,`syslog`, `splunk`, and `awsfirelens`.
|
6303
6386
|
#
|
6304
6387
|
# * This parameter requires version 1.18 of the Docker Remote API or
|
6305
6388
|
# greater on your container instance.
|
@@ -6500,8 +6583,8 @@ module Aws::ECS
|
|
6500
6583
|
# @!attribute [rw] maximum_scaling_step_size
|
6501
6584
|
# The maximum number of Amazon EC2 instances that Amazon ECS will
|
6502
6585
|
# scale out at one time. The scale in process is not affected by this
|
6503
|
-
# parameter. If this parameter is omitted, the default value of
|
6504
|
-
# used.
|
6586
|
+
# parameter. If this parameter is omitted, the default value of
|
6587
|
+
# `10000` is used.
|
6505
6588
|
# @return [Integer]
|
6506
6589
|
#
|
6507
6590
|
# @!attribute [rw] instance_warmup_period
|
@@ -6915,10 +6998,10 @@ module Aws::ECS
|
|
6915
6998
|
# is listed on the instance under
|
6916
6999
|
# `/proc/sys/net/ipv4/ip_local_port_range`. If this kernel parameter
|
6917
7000
|
# is unavailable, the default ephemeral port range from 49153 through
|
6918
|
-
# 65535
|
6919
|
-
# ephemeral port range as these
|
6920
|
-
# In general, ports below 32768
|
6921
|
-
# range.
|
7001
|
+
# 65535 (Linux) or 49152 through 65535 (Windows) is used. Do not
|
7002
|
+
# attempt to specify a host port in the ephemeral port range as these
|
7003
|
+
# are reserved for automatic assignment. In general, ports below 32768
|
7004
|
+
# are outside of the ephemeral port range.
|
6922
7005
|
#
|
6923
7006
|
# The default reserved ports are 22 for SSH, the Docker ports 2375 and
|
6924
7007
|
# 2376, and the Amazon ECS container agent ports 51678-51680. Any host
|
@@ -8784,9 +8867,15 @@ module Aws::ECS
|
|
8784
8867
|
# your containers.
|
8785
8868
|
#
|
8786
8869
|
# * Amazon ECS currently supports a subset of the logging drivers
|
8787
|
-
# available to the Docker daemon
|
8788
|
-
#
|
8789
|
-
#
|
8870
|
+
# available to the Docker daemon. Additional log drivers may be
|
8871
|
+
# available in future releases of the Amazon ECS container agent.
|
8872
|
+
#
|
8873
|
+
# For tasks on Fargate, the supported log drivers are `awslogs`,
|
8874
|
+
# `splunk`, and `awsfirelens`.
|
8875
|
+
#
|
8876
|
+
# For tasks hosted on Amazon EC2 instances, the supported log
|
8877
|
+
# drivers are `awslogs`, `fluentd`, `gelf`, `json-file`, `journald`,
|
8878
|
+
# `logentries`,`syslog`, `splunk`, and `awsfirelens`.
|
8790
8879
|
#
|
8791
8880
|
# * This parameter requires version 1.18 of the Docker Remote API or
|
8792
8881
|
# greater on your container instance.
|
@@ -9860,6 +9949,9 @@ module Aws::ECS
|
|
9860
9949
|
# The stop code indicating why a task was stopped. The `stoppedReason`
|
9861
9950
|
# might contain additional details.
|
9862
9951
|
#
|
9952
|
+
# For more information about stop code, see [Stopped tasks error
|
9953
|
+
# codes][1] in the *Amazon ECS User Guide*.
|
9954
|
+
#
|
9863
9955
|
# The following are valid values:
|
9864
9956
|
#
|
9865
9957
|
# * `TaskFailedToStart`
|
@@ -9873,6 +9965,10 @@ module Aws::ECS
|
|
9873
9965
|
# * `ServiceSchedulerInitiated`
|
9874
9966
|
#
|
9875
9967
|
# * `SpotInterruption`
|
9968
|
+
#
|
9969
|
+
#
|
9970
|
+
#
|
9971
|
+
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html
|
9876
9972
|
# @return [String]
|
9877
9973
|
#
|
9878
9974
|
# @!attribute [rw] stopped_at
|
@@ -9888,7 +9984,7 @@ module Aws::ECS
|
|
9888
9984
|
# @!attribute [rw] stopping_at
|
9889
9985
|
# The Unix timestamp for the time when the task stops. More
|
9890
9986
|
# specifically, it's for the time when the task transitions from the
|
9891
|
-
# `RUNNING` state to `
|
9987
|
+
# `RUNNING` state to `STOPPING`.
|
9892
9988
|
# @return [Time]
|
9893
9989
|
#
|
9894
9990
|
# @!attribute [rw] tags
|
@@ -10173,9 +10269,10 @@ module Aws::ECS
|
|
10173
10269
|
# @return [Types::RuntimePlatform]
|
10174
10270
|
#
|
10175
10271
|
# @!attribute [rw] requires_compatibilities
|
10176
|
-
# The task launch types the task definition was validated against.
|
10177
|
-
#
|
10178
|
-
#
|
10272
|
+
# The task launch types the task definition was validated against. The
|
10273
|
+
# valid values are `EC2`, `FARGATE`, and `EXTERNAL`. For more
|
10274
|
+
# information, see [Amazon ECS launch types][1] in the *Amazon Elastic
|
10275
|
+
# Container Service Developer Guide*.
|
10179
10276
|
#
|
10180
10277
|
#
|
10181
10278
|
#
|
@@ -11525,6 +11622,8 @@ module Aws::ECS
|
|
11525
11622
|
# numbers, underscores, and hyphens are allowed. This name is
|
11526
11623
|
# referenced in the `sourceVolume` parameter of container definition
|
11527
11624
|
# `mountPoints`.
|
11625
|
+
#
|
11626
|
+
# This is required wwhen you use an Amazon EFS volume.
|
11528
11627
|
# @return [String]
|
11529
11628
|
#
|
11530
11629
|
# @!attribute [rw] host
|
data/lib/aws-sdk-ecs.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.127.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.177.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.177.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|