aws-sdk-ecs 1.157.0 → 1.162.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +22 -36
- data/lib/aws-sdk-ecs/client_api.rb +1 -0
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +8 -5
- data/lib/aws-sdk-ecs/types.rb +288 -80
- data/lib/aws-sdk-ecs.rb +16 -12
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- 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: bb4b72671b0e9cb778b7b4d15c95f1ca241c1a569d601aaac7ac6e67505b5b95
|
4
|
+
data.tar.gz: f5b249ff7b9265a28872e21c01925e25a9e97ddc864a608b79b472e0b204de4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e6ca2b76e483c818816bf002a1deef60cae9a1d9f63a2e88f3b4de775a2453023a5ac11d4652a85dc659ac23be3723db87ffda7f648779617583a83605e77c
|
7
|
+
data.tar.gz: b571ed1ca314aca94d80ea7d9dd4dc258dfef6f84d390bc6cda5a6165798dfbfa5058b32936e261d3a1752984ee2cd50765a1190243f12be442a2577d2c2b1b5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.162.0 (2024-10-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available.
|
8
|
+
|
9
|
+
1.161.0 (2024-09-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.160.0 (2024-09-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.159.0 (2024-09-20)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.158.0 (2024-09-17)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This is a documentation only release to address various tickets.
|
28
|
+
|
4
29
|
1.157.0 (2024-09-11)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.162.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -36,8 +36,6 @@ require 'aws-sdk-core/plugins/telemetry.rb'
|
|
36
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
37
37
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
38
38
|
|
39
|
-
Aws::Plugins::GlobalConfiguration.add_identifier(:ecs)
|
40
|
-
|
41
39
|
module Aws::ECS
|
42
40
|
# An API client for ECS. To construct a client, you need to configure a `:region` and `:credentials`.
|
43
41
|
#
|
@@ -130,13 +128,15 @@ module Aws::ECS
|
|
130
128
|
# locations will be searched for credentials:
|
131
129
|
#
|
132
130
|
# * `Aws.config[:credentials]`
|
133
|
-
# * The `:access_key_id`, `:secret_access_key`,
|
134
|
-
#
|
131
|
+
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
|
+
# `:account_id` options.
|
133
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
|
134
|
+
# ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
|
135
135
|
# * `~/.aws/credentials`
|
136
136
|
# * `~/.aws/config`
|
137
137
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
138
|
# are very aggressive. Construct and pass an instance of
|
139
|
-
# `Aws::
|
139
|
+
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
140
|
# enable retries and extended timeouts. Instance profile credential
|
141
141
|
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
142
|
# to true.
|
@@ -155,6 +155,8 @@ module Aws::ECS
|
|
155
155
|
#
|
156
156
|
# @option options [String] :access_key_id
|
157
157
|
#
|
158
|
+
# @option options [String] :account_id
|
159
|
+
#
|
158
160
|
# @option options [Boolean] :active_endpoint_cache (false)
|
159
161
|
# When set to `true`, a thread polling for endpoints will be running in
|
160
162
|
# the background every 60 secs (default). Defaults to `false`.
|
@@ -376,7 +378,9 @@ module Aws::ECS
|
|
376
378
|
# sending the request.
|
377
379
|
#
|
378
380
|
# @option options [Aws::ECS::EndpointProvider] :endpoint_provider
|
379
|
-
# The endpoint provider used to resolve endpoints. Any object that responds to
|
381
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to
|
382
|
+
# `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
383
|
+
# `Aws::ECS::EndpointParameters`.
|
380
384
|
#
|
381
385
|
# @option options [Float] :http_continue_timeout (1)
|
382
386
|
# The number of seconds to wait for a 100-continue response before sending the
|
@@ -828,6 +832,10 @@ module Aws::ECS
|
|
828
832
|
#
|
829
833
|
# </note>
|
830
834
|
#
|
835
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to customers.
|
836
|
+
#
|
837
|
+
# </note>
|
838
|
+
#
|
831
839
|
# In addition to maintaining the desired count of tasks in your service,
|
832
840
|
# you can optionally run your service behind one or more load balancers.
|
833
841
|
# The load balancers distribute traffic across the tasks that are
|
@@ -928,15 +936,6 @@ module Aws::ECS
|
|
928
936
|
# strategies, see [Amazon ECS task placement][7] in the *Amazon Elastic
|
929
937
|
# Container Service Developer Guide*
|
930
938
|
#
|
931
|
-
# Starting April 15, 2023, Amazon Web Services will not onboard new
|
932
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
933
|
-
# customers migrate their workloads to options that offer better price
|
934
|
-
# and performance. After April 15, 2023, new customers will not be able
|
935
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
936
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
937
|
-
# at least once during the past 30-day period are considered current
|
938
|
-
# customers and will be able to continue using the service.
|
939
|
-
#
|
940
939
|
#
|
941
940
|
#
|
942
941
|
# [1]: https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html
|
@@ -5785,9 +5784,6 @@ module Aws::ECS
|
|
5785
5784
|
# mode][3]. For more information on using IPv6 with tasks launched on
|
5786
5785
|
# Fargate, see [Using a VPC in dual-stack mode][4].
|
5787
5786
|
#
|
5788
|
-
# * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
|
5789
|
-
# 140 compliance is affected.
|
5790
|
-
#
|
5791
5787
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
5792
5788
|
# determines that a security or infrastructure update is needed for an
|
5793
5789
|
# Amazon ECS task hosted on Fargate, the tasks need to be stopped and
|
@@ -7324,6 +7320,10 @@ module Aws::ECS
|
|
7324
7320
|
#
|
7325
7321
|
# </note>
|
7326
7322
|
#
|
7323
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to customers.
|
7324
|
+
#
|
7325
|
+
# </note>
|
7326
|
+
#
|
7327
7327
|
# You can allow Amazon ECS to place tasks for you, or you can customize
|
7328
7328
|
# how Amazon ECS places tasks using placement constraints and placement
|
7329
7329
|
# strategies. For more information, see [Scheduling Tasks][1] in the
|
@@ -7332,15 +7332,6 @@ module Aws::ECS
|
|
7332
7332
|
# Alternatively, you can use `StartTask` to use your own scheduler or
|
7333
7333
|
# place tasks manually on specific container instances.
|
7334
7334
|
#
|
7335
|
-
# Starting April 15, 2023, Amazon Web Services will not onboard new
|
7336
|
-
# customers to Amazon Elastic Inference (EI), and will help current
|
7337
|
-
# customers migrate their workloads to options that offer better price
|
7338
|
-
# and performance. After April 15, 2023, new customers will not be able
|
7339
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
7340
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
7341
|
-
# at least once during the past 30-day period are considered current
|
7342
|
-
# customers and will be able to continue using the service.
|
7343
|
-
#
|
7344
7335
|
# You can attach Amazon EBS volumes to Amazon ECS tasks by configuring
|
7345
7336
|
# the volume when creating or updating a service. For more infomation,
|
7346
7337
|
# see [Amazon EBS volumes][2] in the *Amazon Elastic Container Service
|
@@ -7908,14 +7899,9 @@ module Aws::ECS
|
|
7908
7899
|
#
|
7909
7900
|
# </note>
|
7910
7901
|
#
|
7911
|
-
#
|
7912
|
-
#
|
7913
|
-
#
|
7914
|
-
# and performance. After April 15, 2023, new customers will not be able
|
7915
|
-
# to launch instances with Amazon EI accelerators in Amazon SageMaker,
|
7916
|
-
# Amazon ECS, or Amazon EC2. However, customers who have used Amazon EI
|
7917
|
-
# at least once during the past 30-day period are considered current
|
7918
|
-
# customers and will be able to continue using the service.
|
7902
|
+
# <note markdown="1"> Amazon Elastic Inference (EI) is no longer available to customers.
|
7903
|
+
#
|
7904
|
+
# </note>
|
7919
7905
|
#
|
7920
7906
|
# Alternatively, you can use`RunTask` to place tasks for you. For more
|
7921
7907
|
# information, see [Scheduling Tasks][1] in the *Amazon Elastic
|
@@ -10445,7 +10431,7 @@ module Aws::ECS
|
|
10445
10431
|
tracer: tracer
|
10446
10432
|
)
|
10447
10433
|
context[:gem_name] = 'aws-sdk-ecs'
|
10448
|
-
context[:gem_version] = '1.
|
10434
|
+
context[:gem_version] = '1.162.0'
|
10449
10435
|
Seahorse::Client::Request.new(handlers, context)
|
10450
10436
|
end
|
10451
10437
|
|
@@ -15,11 +15,11 @@ module Aws::ECS
|
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::ECS::EndpointProvider',
|
17
17
|
rbs_type: 'untyped',
|
18
|
-
docstring:
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
docstring: <<~DOCS) do |_cfg|
|
19
|
+
The endpoint provider used to resolve endpoints. Any object that responds to
|
20
|
+
`#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
|
21
|
+
`Aws::ECS::EndpointParameters`.
|
22
|
+
DOCS
|
23
23
|
Aws::ECS::EndpointProvider.new
|
24
24
|
end
|
25
25
|
|
@@ -51,6 +51,9 @@ module Aws::ECS
|
|
51
51
|
if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
|
52
52
|
metrics << 'SIGV4A_SIGNING'
|
53
53
|
end
|
54
|
+
if context.config.credentials&.credentials&.account_id
|
55
|
+
metrics << 'RESOLVED_ACCOUNT_ID'
|
56
|
+
end
|
54
57
|
Aws::Plugins::UserAgent.metric(*metrics, &block)
|
55
58
|
end
|
56
59
|
|
data/lib/aws-sdk-ecs/types.rb
CHANGED
@@ -405,8 +405,10 @@ module Aws::ECS
|
|
405
405
|
# that's discounted compared to the `FARGATE` price. `FARGATE_SPOT`
|
406
406
|
# runs tasks on spare compute capacity. When Amazon Web Services needs
|
407
407
|
# the capacity back, your tasks are interrupted with a two-minute
|
408
|
-
# warning. `FARGATE_SPOT`
|
409
|
-
# architecture on platform version 1.3.0 or later.
|
408
|
+
# warning. `FARGATE_SPOT` supports Linux tasks with the X86\_64
|
409
|
+
# architecture on platform version 1.3.0 or later. `FARGATE_SPOT`
|
410
|
+
# supports Linux tasks with the ARM64 architecture on platform version
|
411
|
+
# 1.4.0 or later.
|
410
412
|
#
|
411
413
|
# A capacity provider strategy may contain a maximum of 6 capacity
|
412
414
|
# providers.
|
@@ -1035,7 +1037,7 @@ module Aws::ECS
|
|
1035
1037
|
# entered in the `links` of another container to connect the
|
1036
1038
|
# containers. Up to 255 letters (uppercase and lowercase), numbers,
|
1037
1039
|
# underscores, and hyphens are allowed. This parameter maps to `name`
|
1038
|
-
# in
|
1040
|
+
# in the docker container create command and the `--name` option to
|
1039
1041
|
# docker run.
|
1040
1042
|
# @return [String]
|
1041
1043
|
#
|
@@ -1046,7 +1048,7 @@ module Aws::ECS
|
|
1046
1048
|
# repository-url/image:tag ` or ` repository-url/image@digest `. Up to
|
1047
1049
|
# 255 letters (uppercase and lowercase), numbers, hyphens,
|
1048
1050
|
# underscores, colons, periods, forward slashes, and number signs are
|
1049
|
-
# allowed. This parameter maps to `Image` in the docker
|
1051
|
+
# allowed. This parameter maps to `Image` in the docker container
|
1050
1052
|
# create command and the `IMAGE` parameter of docker run.
|
1051
1053
|
#
|
1052
1054
|
# * When a new task starts, the Amazon ECS container agent pulls the
|
@@ -1077,7 +1079,7 @@ module Aws::ECS
|
|
1077
1079
|
#
|
1078
1080
|
# @!attribute [rw] cpu
|
1079
1081
|
# The number of `cpu` units reserved for the container. This parameter
|
1080
|
-
# maps to `CpuShares` in the docker
|
1082
|
+
# maps to `CpuShares` in the docker container create commandand the
|
1081
1083
|
# `--cpu-shares` option to docker run.
|
1082
1084
|
#
|
1083
1085
|
# This field is optional for tasks using the Fargate launch type, and
|
@@ -1142,9 +1144,8 @@ module Aws::ECS
|
|
1142
1144
|
# container attempts to exceed the memory specified here, the
|
1143
1145
|
# container is killed. The total amount of memory reserved for all
|
1144
1146
|
# containers within a task must be lower than the task `memory` value,
|
1145
|
-
# if one is specified. This parameter maps to `Memory` in
|
1146
|
-
#
|
1147
|
-
# run.
|
1147
|
+
# if one is specified. This parameter maps to `Memory` in the docker
|
1148
|
+
# container create command and the `--memory` option to docker run.
|
1148
1149
|
#
|
1149
1150
|
# If using the Fargate launch type, this parameter is optional.
|
1150
1151
|
#
|
@@ -1172,9 +1173,8 @@ module Aws::ECS
|
|
1172
1173
|
# consume more memory when it needs to, up to either the hard limit
|
1173
1174
|
# specified with the `memory` parameter (if applicable), or all of the
|
1174
1175
|
# available memory on the container instance, whichever comes first.
|
1175
|
-
# This parameter maps to `MemoryReservation` in the
|
1176
|
-
#
|
1177
|
-
# docker run.
|
1176
|
+
# This parameter maps to `MemoryReservation` in the docker container
|
1177
|
+
# create command and the `--memory-reservation` option to docker run.
|
1178
1178
|
#
|
1179
1179
|
# If a task-level memory value is not specified, you must specify a
|
1180
1180
|
# non-zero integer for one or both of `memory` or `memoryReservation`
|
@@ -1208,7 +1208,7 @@ module Aws::ECS
|
|
1208
1208
|
# `name:internalName` construct is analogous to `name:alias` in Docker
|
1209
1209
|
# links. Up to 255 letters (uppercase and lowercase), numbers,
|
1210
1210
|
# underscores, and hyphens are allowed.. This parameter maps to
|
1211
|
-
# `Links` in the docker
|
1211
|
+
# `Links` in the docker container create command and the `--link`
|
1212
1212
|
# option to docker run.
|
1213
1213
|
#
|
1214
1214
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1235,7 +1235,7 @@ module Aws::ECS
|
|
1235
1235
|
# so you can't access a container's mapped port from the host
|
1236
1236
|
# itself.
|
1237
1237
|
#
|
1238
|
-
# This parameter maps to `PortBindings` in the the docker
|
1238
|
+
# This parameter maps to `PortBindings` in the the docker container
|
1239
1239
|
# create command and the `--publish` option to docker run. If the
|
1240
1240
|
# network mode of a task definition is set to `none`, then you can't
|
1241
1241
|
# specify port mappings. If the network mode of a task definition is
|
@@ -1294,20 +1294,20 @@ module Aws::ECS
|
|
1294
1294
|
# arguments as `command` array items instead.
|
1295
1295
|
#
|
1296
1296
|
# The entry point that's passed to the container. This parameter maps
|
1297
|
-
# to `Entrypoint` in
|
1297
|
+
# to `Entrypoint` in the docker container create command and the
|
1298
1298
|
# `--entrypoint` option to docker run.
|
1299
1299
|
# @return [Array<String>]
|
1300
1300
|
#
|
1301
1301
|
# @!attribute [rw] command
|
1302
1302
|
# The command that's passed to the container. This parameter maps to
|
1303
|
-
# `Cmd` in the docker
|
1303
|
+
# `Cmd` in the docker container create command and the `COMMAND`
|
1304
1304
|
# parameter to docker run. If there are multiple arguments, each
|
1305
1305
|
# argument is a separated string in the array.
|
1306
1306
|
# @return [Array<String>]
|
1307
1307
|
#
|
1308
1308
|
# @!attribute [rw] environment
|
1309
1309
|
# The environment variables to pass to a container. This parameter
|
1310
|
-
# maps to `Env` in the docker
|
1310
|
+
# maps to `Env` in the docker container create command and the `--env`
|
1311
1311
|
# option to docker run.
|
1312
1312
|
#
|
1313
1313
|
# We don't recommend that you use plaintext environment variables for
|
@@ -1341,7 +1341,7 @@ module Aws::ECS
|
|
1341
1341
|
# @!attribute [rw] mount_points
|
1342
1342
|
# The mount points for data volumes in your container.
|
1343
1343
|
#
|
1344
|
-
# This parameter maps to `Volumes` in the
|
1344
|
+
# This parameter maps to `Volumes` in the docker container create
|
1345
1345
|
# command and the `--volume` option to docker run.
|
1346
1346
|
#
|
1347
1347
|
# Windows containers can mount whole directories on the same drive as
|
@@ -1351,7 +1351,7 @@ module Aws::ECS
|
|
1351
1351
|
#
|
1352
1352
|
# @!attribute [rw] volumes_from
|
1353
1353
|
# Data volumes to mount from another container. This parameter maps to
|
1354
|
-
# `VolumesFrom` in
|
1354
|
+
# `VolumesFrom` in the docker container create command and the
|
1355
1355
|
# `--volumes-from` option to docker run.
|
1356
1356
|
# @return [Array<Types::VolumeFrom>]
|
1357
1357
|
#
|
@@ -1468,8 +1468,9 @@ module Aws::ECS
|
|
1468
1468
|
#
|
1469
1469
|
# * Windows platform version `1.0.0` or later.
|
1470
1470
|
#
|
1471
|
-
#
|
1472
|
-
#
|
1471
|
+
# For tasks that use the Fargate launch type, the max stop timeout
|
1472
|
+
# value is 120 seconds and if the parameter is not specified, the
|
1473
|
+
# default value of 30 seconds is used.
|
1473
1474
|
#
|
1474
1475
|
# For tasks that use the EC2 launch type, if the `stopTimeout`
|
1475
1476
|
# parameter isn't specified, the value set for the Amazon ECS
|
@@ -1491,7 +1492,7 @@ module Aws::ECS
|
|
1491
1492
|
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
|
1492
1493
|
# Developer Guide*.
|
1493
1494
|
#
|
1494
|
-
# The valid values are 2-120 seconds.
|
1495
|
+
# The valid values for Fargate are 2-120 seconds.
|
1495
1496
|
#
|
1496
1497
|
#
|
1497
1498
|
#
|
@@ -1501,7 +1502,7 @@ module Aws::ECS
|
|
1501
1502
|
#
|
1502
1503
|
# @!attribute [rw] hostname
|
1503
1504
|
# The hostname to use for your container. This parameter maps to
|
1504
|
-
# `Hostname` in
|
1505
|
+
# `Hostname` in the docker container create command and the
|
1505
1506
|
# `--hostname` option to docker run.
|
1506
1507
|
#
|
1507
1508
|
# <note markdown="1"> The `hostname` parameter is not supported if you're using the
|
@@ -1512,7 +1513,7 @@ module Aws::ECS
|
|
1512
1513
|
#
|
1513
1514
|
# @!attribute [rw] user
|
1514
1515
|
# The user to use inside the container. This parameter maps to `User`
|
1515
|
-
# in the docker
|
1516
|
+
# in the docker container create command and the `--user` option to
|
1516
1517
|
# docker run.
|
1517
1518
|
#
|
1518
1519
|
# When running tasks using the `host` network mode, don't run
|
@@ -1541,13 +1542,13 @@ module Aws::ECS
|
|
1541
1542
|
#
|
1542
1543
|
# @!attribute [rw] working_directory
|
1543
1544
|
# The working directory to run commands inside the container in. This
|
1544
|
-
# parameter maps to `WorkingDir` in the docker
|
1545
|
-
# and the `--workdir` option to docker run.
|
1545
|
+
# parameter maps to `WorkingDir` in the docker container create
|
1546
|
+
# command and the `--workdir` option to docker run.
|
1546
1547
|
# @return [String]
|
1547
1548
|
#
|
1548
1549
|
# @!attribute [rw] disable_networking
|
1549
1550
|
# When this parameter is true, networking is off within the container.
|
1550
|
-
# This parameter maps to `NetworkDisabled` in the docker
|
1551
|
+
# This parameter maps to `NetworkDisabled` in the docker container
|
1551
1552
|
# create command.
|
1552
1553
|
#
|
1553
1554
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1558,8 +1559,8 @@ module Aws::ECS
|
|
1558
1559
|
# @!attribute [rw] privileged
|
1559
1560
|
# When this parameter is true, the container is given elevated
|
1560
1561
|
# privileges on the host container instance (similar to the `root`
|
1561
|
-
# user). This parameter maps to `Privileged` in the
|
1562
|
-
#
|
1562
|
+
# user). This parameter maps to `Privileged` in the docker container
|
1563
|
+
# create command and the `--privileged` option to docker run
|
1563
1564
|
#
|
1564
1565
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run
|
1565
1566
|
# on Fargate.
|
@@ -1570,7 +1571,7 @@ module Aws::ECS
|
|
1570
1571
|
# @!attribute [rw] readonly_root_filesystem
|
1571
1572
|
# When this parameter is true, the container is given read-only access
|
1572
1573
|
# to its root file system. This parameter maps to `ReadonlyRootfs` in
|
1573
|
-
# the docker
|
1574
|
+
# the docker container create command and the `--read-only` option to
|
1574
1575
|
# docker run.
|
1575
1576
|
#
|
1576
1577
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1580,8 +1581,8 @@ module Aws::ECS
|
|
1580
1581
|
#
|
1581
1582
|
# @!attribute [rw] dns_servers
|
1582
1583
|
# A list of DNS servers that are presented to the container. This
|
1583
|
-
# parameter maps to `Dns` in the
|
1584
|
-
#
|
1584
|
+
# parameter maps to `Dns` in the docker container create command and
|
1585
|
+
# the `--dns` option to docker run.
|
1585
1586
|
#
|
1586
1587
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1587
1588
|
#
|
@@ -1590,7 +1591,7 @@ module Aws::ECS
|
|
1590
1591
|
#
|
1591
1592
|
# @!attribute [rw] dns_search_domains
|
1592
1593
|
# A list of DNS search domains that are presented to the container.
|
1593
|
-
# This parameter maps to `DnsSearch` in the docker
|
1594
|
+
# This parameter maps to `DnsSearch` in the docker container create
|
1594
1595
|
# command and the `--dns-search` option to docker run.
|
1595
1596
|
#
|
1596
1597
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1601,7 +1602,7 @@ module Aws::ECS
|
|
1601
1602
|
# @!attribute [rw] extra_hosts
|
1602
1603
|
# A list of hostnames and IP address mappings to append to the
|
1603
1604
|
# `/etc/hosts` file on the container. This parameter maps to
|
1604
|
-
# `ExtraHosts` in the docker
|
1605
|
+
# `ExtraHosts` in the docker container create command and the
|
1605
1606
|
# `--add-host` option to docker run.
|
1606
1607
|
#
|
1607
1608
|
# <note markdown="1"> This parameter isn't supported for Windows containers or tasks that
|
@@ -1624,7 +1625,7 @@ module Aws::ECS
|
|
1624
1625
|
# Windows Containers][1] and [Using gMSAs for Linux Containers][2] in
|
1625
1626
|
# the *Amazon Elastic Container Service Developer Guide*.
|
1626
1627
|
#
|
1627
|
-
# This parameter maps to `SecurityOpt` in the docker
|
1628
|
+
# This parameter maps to `SecurityOpt` in the docker container create
|
1628
1629
|
# command and the `--security-opt` option to docker run.
|
1629
1630
|
#
|
1630
1631
|
# <note markdown="1"> The Amazon ECS container agent running on a container instance must
|
@@ -1649,19 +1650,19 @@ module Aws::ECS
|
|
1649
1650
|
# @!attribute [rw] interactive
|
1650
1651
|
# When this parameter is `true`, you can deploy containerized
|
1651
1652
|
# applications that require `stdin` or a `tty` to be allocated. This
|
1652
|
-
# parameter maps to `OpenStdin` in the docker
|
1653
|
+
# parameter maps to `OpenStdin` in the docker container create command
|
1653
1654
|
# and the `--interactive` option to docker run.
|
1654
1655
|
# @return [Boolean]
|
1655
1656
|
#
|
1656
1657
|
# @!attribute [rw] pseudo_terminal
|
1657
1658
|
# When this parameter is `true`, a TTY is allocated. This parameter
|
1658
|
-
# maps to `Tty` in
|
1659
|
+
# maps to `Tty` in the docker container create command and the `--tty`
|
1659
1660
|
# option to docker run.
|
1660
1661
|
# @return [Boolean]
|
1661
1662
|
#
|
1662
1663
|
# @!attribute [rw] docker_labels
|
1663
1664
|
# A key/value map of labels to add to the container. This parameter
|
1664
|
-
# maps to `Labels` in the docker
|
1665
|
+
# maps to `Labels` in the docker container create command and the
|
1665
1666
|
# `--label` option to docker run. This parameter requires version 1.18
|
1666
1667
|
# of the Docker Remote API or greater on your container instance. To
|
1667
1668
|
# check the Docker Remote API version on your container instance, log
|
@@ -1672,7 +1673,7 @@ module Aws::ECS
|
|
1672
1673
|
# @!attribute [rw] ulimits
|
1673
1674
|
# A list of `ulimits` to set in the container. If a `ulimit` value is
|
1674
1675
|
# specified in a task definition, it overrides the default values set
|
1675
|
-
# by Docker. This parameter maps to `Ulimits` in
|
1676
|
+
# by Docker. This parameter maps to `Ulimits` in the docker container
|
1676
1677
|
# create command and the `--ulimit` option to docker run. Valid naming
|
1677
1678
|
# values are displayed in the [Ulimit][1] data type.
|
1678
1679
|
#
|
@@ -1701,7 +1702,7 @@ module Aws::ECS
|
|
1701
1702
|
# @!attribute [rw] log_configuration
|
1702
1703
|
# The log configuration specification for the container.
|
1703
1704
|
#
|
1704
|
-
# This parameter maps to `LogConfig` in the docker
|
1705
|
+
# This parameter maps to `LogConfig` in the docker container create
|
1705
1706
|
# command and the `--log-driver` option to docker run. By default,
|
1706
1707
|
# containers use the same logging driver that the Docker daemon uses.
|
1707
1708
|
# However the container can use a different logging driver than the
|
@@ -1743,13 +1744,13 @@ module Aws::ECS
|
|
1743
1744
|
# @!attribute [rw] health_check
|
1744
1745
|
# The container health check command and associated configuration
|
1745
1746
|
# parameters for the container. This parameter maps to `HealthCheck`
|
1746
|
-
# in the docker
|
1747
|
+
# in the docker container create command and the `HEALTHCHECK`
|
1747
1748
|
# parameter of docker run.
|
1748
1749
|
# @return [Types::HealthCheck]
|
1749
1750
|
#
|
1750
1751
|
# @!attribute [rw] system_controls
|
1751
1752
|
# A list of namespaced kernel parameters to set in the container. This
|
1752
|
-
# parameter maps to `Sysctls` in
|
1753
|
+
# parameter maps to `Sysctls` in the docker container create command
|
1753
1754
|
# and the `--sysctl` option to docker run. For example, you can
|
1754
1755
|
# configure `net.ipv4.tcp_keepalive_time` setting to maintain longer
|
1755
1756
|
# lived connections.
|
@@ -3733,13 +3734,22 @@ module Aws::ECS
|
|
3733
3734
|
# using the `REPLICA` service scheduler is 200%.
|
3734
3735
|
#
|
3735
3736
|
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3736
|
-
# `EXTERNAL` deployment types and tasks
|
3737
|
-
# the **maximum percent** value is set to the default
|
3738
|
-
#
|
3739
|
-
#
|
3740
|
-
#
|
3741
|
-
#
|
3742
|
-
#
|
3737
|
+
# `EXTERNAL` deployment types, and tasks in the service use the EC2
|
3738
|
+
# launch type, the **maximum percent** value is set to the default
|
3739
|
+
# value. The **maximum percent** value is used to define the upper
|
3740
|
+
# limit on the number of the tasks in the service that remain in the
|
3741
|
+
# `RUNNING` state while the container instances are in the `DRAINING`
|
3742
|
+
# state.
|
3743
|
+
#
|
3744
|
+
# <note markdown="1"> You can't specify a custom `maximumPercent` value for a service
|
3745
|
+
# that uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL`
|
3746
|
+
# deployment types and has tasks that use the EC2 launch type.
|
3747
|
+
#
|
3748
|
+
# </note>
|
3749
|
+
#
|
3750
|
+
# If the tasks in the service use the Fargate launch type, the maximum
|
3751
|
+
# percent value is not used, although it is returned when describing
|
3752
|
+
# your service.
|
3743
3753
|
# @return [Integer]
|
3744
3754
|
#
|
3745
3755
|
# @!attribute [rw] minimum_healthy_percent
|
@@ -3800,13 +3810,22 @@ module Aws::ECS
|
|
3800
3810
|
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3801
3811
|
# `EXTERNAL` deployment types and is running tasks that use the EC2
|
3802
3812
|
# launch type, the **minimum healthy percent** value is set to the
|
3803
|
-
# default value
|
3804
|
-
# the
|
3805
|
-
#
|
3806
|
-
#
|
3807
|
-
#
|
3808
|
-
#
|
3809
|
-
#
|
3813
|
+
# default value. The **minimum healthy percent** value is used to
|
3814
|
+
# define the lower limit on the number of the tasks in the service
|
3815
|
+
# that remain in the `RUNNING` state while the container instances are
|
3816
|
+
# in the `DRAINING` state.
|
3817
|
+
#
|
3818
|
+
# <note markdown="1"> You can't specify a custom `minimumHealthyPercent` value for a
|
3819
|
+
# service that uses either the blue/green (`CODE_DEPLOY`) or
|
3820
|
+
# `EXTERNAL` deployment types and has tasks that use the EC2 launch
|
3821
|
+
# type.
|
3822
|
+
#
|
3823
|
+
# </note>
|
3824
|
+
#
|
3825
|
+
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3826
|
+
# `EXTERNAL` deployment types and is running tasks that use the
|
3827
|
+
# Fargate launch type, the minimum healthy percent value is not used,
|
3828
|
+
# although it is returned when describing your service.
|
3810
3829
|
# @return [Integer]
|
3811
3830
|
#
|
3812
3831
|
# @!attribute [rw] alarms
|
@@ -4461,7 +4480,7 @@ module Aws::ECS
|
|
4461
4480
|
# use `docker plugin ls` to retrieve the driver name from your
|
4462
4481
|
# container instance. If the driver was installed using another
|
4463
4482
|
# method, use Docker plugin discovery to retrieve the driver name.
|
4464
|
-
# This parameter maps to `Driver` in the docker
|
4483
|
+
# This parameter maps to `Driver` in the docker container create
|
4465
4484
|
# command and the `xxdriver` option to docker volume create.
|
4466
4485
|
# @return [String]
|
4467
4486
|
#
|
@@ -4473,7 +4492,7 @@ module Aws::ECS
|
|
4473
4492
|
#
|
4474
4493
|
# @!attribute [rw] labels
|
4475
4494
|
# Custom metadata to add to your Docker volume. This parameter maps to
|
4476
|
-
# `Labels` in the docker
|
4495
|
+
# `Labels` in the docker container create command and the `xxlabel`
|
4477
4496
|
# option to docker volume create.
|
4478
4497
|
# @return [Hash<String,String>]
|
4479
4498
|
#
|
@@ -5202,8 +5221,8 @@ module Aws::ECS
|
|
5202
5221
|
# ` CMD-SHELL, curl -f http://localhost/ || exit 1`
|
5203
5222
|
#
|
5204
5223
|
# An exit code of 0 indicates success, and non-zero exit code
|
5205
|
-
# indicates failure. For more information, see `HealthCheck` in
|
5206
|
-
# docker
|
5224
|
+
# indicates failure. For more information, see `HealthCheck` in the
|
5225
|
+
# docker container create command
|
5207
5226
|
# @return [Array<String>]
|
5208
5227
|
#
|
5209
5228
|
# @!attribute [rw] interval
|
@@ -5410,7 +5429,7 @@ module Aws::ECS
|
|
5410
5429
|
# @!attribute [rw] add
|
5411
5430
|
# The Linux capabilities for the container that have been added to the
|
5412
5431
|
# default configuration provided by Docker. This parameter maps to
|
5413
|
-
# `CapAdd` in the docker
|
5432
|
+
# `CapAdd` in the docker container create command and the `--cap-add`
|
5414
5433
|
# option to docker run.
|
5415
5434
|
#
|
5416
5435
|
# <note markdown="1"> Tasks launched on Fargate only support adding the `SYS_PTRACE`
|
@@ -5432,8 +5451,8 @@ module Aws::ECS
|
|
5432
5451
|
# @!attribute [rw] drop
|
5433
5452
|
# The Linux capabilities for the container that have been removed from
|
5434
5453
|
# the default configuration provided by Docker. This parameter maps to
|
5435
|
-
# `CapDrop` in the docker
|
5436
|
-
# option to docker run.
|
5454
|
+
# `CapDrop` in the docker container create command and the
|
5455
|
+
# `--cap-drop` option to docker run.
|
5437
5456
|
#
|
5438
5457
|
# Valid values: `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" |
|
5439
5458
|
# "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" |
|
@@ -5502,7 +5521,7 @@ module Aws::ECS
|
|
5502
5521
|
#
|
5503
5522
|
# @!attribute [rw] devices
|
5504
5523
|
# Any host devices to expose to the container. This parameter maps to
|
5505
|
-
# `Devices` in
|
5524
|
+
# `Devices` in the docker container create command and the `--device`
|
5506
5525
|
# option to docker run.
|
5507
5526
|
#
|
5508
5527
|
# <note markdown="1"> If you're using tasks that use the Fargate launch type, the
|
@@ -6433,7 +6452,7 @@ module Aws::ECS
|
|
6433
6452
|
end
|
6434
6453
|
|
6435
6454
|
# The log configuration for the container. This parameter maps to
|
6436
|
-
# `LogConfig` in the docker
|
6455
|
+
# `LogConfig` in the docker container create command and the
|
6437
6456
|
# `--log-driver` option to docker run.
|
6438
6457
|
#
|
6439
6458
|
# By default, containers use the same logging driver that the Docker
|
@@ -6511,12 +6530,199 @@ module Aws::ECS
|
|
6511
6530
|
# @return [String]
|
6512
6531
|
#
|
6513
6532
|
# @!attribute [rw] options
|
6514
|
-
# The configuration options to send to the log driver.
|
6515
|
-
#
|
6516
|
-
#
|
6517
|
-
#
|
6518
|
-
#
|
6519
|
-
#
|
6533
|
+
# The configuration options to send to the log driver.
|
6534
|
+
#
|
6535
|
+
# The options you can specify depend on the log driver. Some of the
|
6536
|
+
# options you can specify when you use the `awslogs` log driver to
|
6537
|
+
# route logs to Amazon CloudWatch include the following:
|
6538
|
+
#
|
6539
|
+
# awslogs-create-group
|
6540
|
+
#
|
6541
|
+
# : Required: No
|
6542
|
+
#
|
6543
|
+
# Specify whether you want the log group to be created
|
6544
|
+
# automatically. If this option isn't specified, it defaults to
|
6545
|
+
# `false`.
|
6546
|
+
#
|
6547
|
+
# <note markdown="1"> Your IAM policy must include the `logs:CreateLogGroup` permission
|
6548
|
+
# before you attempt to use `awslogs-create-group`.
|
6549
|
+
#
|
6550
|
+
# </note>
|
6551
|
+
#
|
6552
|
+
# awslogs-region
|
6553
|
+
#
|
6554
|
+
# : Required: Yes
|
6555
|
+
#
|
6556
|
+
# Specify the Amazon Web Services Region that the `awslogs` log
|
6557
|
+
# driver is to send your Docker logs to. You can choose to send all
|
6558
|
+
# of your logs from clusters in different Regions to a single region
|
6559
|
+
# in CloudWatch Logs. This is so that they're all visible in one
|
6560
|
+
# location. Otherwise, you can separate them by Region for more
|
6561
|
+
# granularity. Make sure that the specified log group exists in the
|
6562
|
+
# Region that you specify with this option.
|
6563
|
+
#
|
6564
|
+
# awslogs-group
|
6565
|
+
#
|
6566
|
+
# : Required: Yes
|
6567
|
+
#
|
6568
|
+
# Make sure to specify a log group that the `awslogs` log driver
|
6569
|
+
# sends its log streams to.
|
6570
|
+
#
|
6571
|
+
# awslogs-stream-prefix
|
6572
|
+
#
|
6573
|
+
# : Required: Yes, when using the Fargate launch type.Optional for the
|
6574
|
+
# EC2 launch type, required for the Fargate launch type.
|
6575
|
+
#
|
6576
|
+
# Use the `awslogs-stream-prefix` option to associate a log stream
|
6577
|
+
# with the specified prefix, the container name, and the ID of the
|
6578
|
+
# Amazon ECS task that the container belongs to. If you specify a
|
6579
|
+
# prefix with this option, then the log stream takes the format
|
6580
|
+
# `prefix-name/container-name/ecs-task-id`.
|
6581
|
+
#
|
6582
|
+
# If you don't specify a prefix with this option, then the log
|
6583
|
+
# stream is named after the container ID that's assigned by the
|
6584
|
+
# Docker daemon on the container instance. Because it's difficult
|
6585
|
+
# to trace logs back to the container that sent them with just the
|
6586
|
+
# Docker container ID (which is only available on the container
|
6587
|
+
# instance), we recommend that you specify a prefix with this
|
6588
|
+
# option.
|
6589
|
+
#
|
6590
|
+
# For Amazon ECS services, you can use the service name as the
|
6591
|
+
# prefix. Doing so, you can trace log streams to the service that
|
6592
|
+
# the container belongs to, the name of the container that sent
|
6593
|
+
# them, and the ID of the task that the container belongs to.
|
6594
|
+
#
|
6595
|
+
# You must specify a stream-prefix for your logs to have your logs
|
6596
|
+
# appear in the Log pane when using the Amazon ECS console.
|
6597
|
+
#
|
6598
|
+
# awslogs-datetime-format
|
6599
|
+
#
|
6600
|
+
# : Required: No
|
6601
|
+
#
|
6602
|
+
# This option defines a multiline start pattern in Python `strftime`
|
6603
|
+
# format. A log message consists of a line that matches the pattern
|
6604
|
+
# and any following lines that don’t match the pattern. The matched
|
6605
|
+
# line is the delimiter between log messages.
|
6606
|
+
#
|
6607
|
+
# One example of a use case for using this format is for parsing
|
6608
|
+
# output such as a stack dump, which might otherwise be logged in
|
6609
|
+
# multiple entries. The correct pattern allows it to be captured in
|
6610
|
+
# a single entry.
|
6611
|
+
#
|
6612
|
+
# For more information, see [awslogs-datetime-format][1].
|
6613
|
+
#
|
6614
|
+
# You cannot configure both the `awslogs-datetime-format` and
|
6615
|
+
# `awslogs-multiline-pattern` options.
|
6616
|
+
#
|
6617
|
+
# <note markdown="1"> Multiline logging performs regular expression parsing and matching
|
6618
|
+
# of all log messages. This might have a negative impact on logging
|
6619
|
+
# performance.
|
6620
|
+
#
|
6621
|
+
# </note>
|
6622
|
+
#
|
6623
|
+
# awslogs-multiline-pattern
|
6624
|
+
#
|
6625
|
+
# : Required: No
|
6626
|
+
#
|
6627
|
+
# This option defines a multiline start pattern that uses a regular
|
6628
|
+
# expression. A log message consists of a line that matches the
|
6629
|
+
# pattern and any following lines that don’t match the pattern. The
|
6630
|
+
# matched line is the delimiter between log messages.
|
6631
|
+
#
|
6632
|
+
# For more information, see [awslogs-multiline-pattern][2].
|
6633
|
+
#
|
6634
|
+
# This option is ignored if `awslogs-datetime-format` is also
|
6635
|
+
# configured.
|
6636
|
+
#
|
6637
|
+
# You cannot configure both the `awslogs-datetime-format` and
|
6638
|
+
# `awslogs-multiline-pattern` options.
|
6639
|
+
#
|
6640
|
+
# <note markdown="1"> Multiline logging performs regular expression parsing and matching
|
6641
|
+
# of all log messages. This might have a negative impact on logging
|
6642
|
+
# performance.
|
6643
|
+
#
|
6644
|
+
# </note>
|
6645
|
+
#
|
6646
|
+
# mode
|
6647
|
+
#
|
6648
|
+
# : Required: No
|
6649
|
+
#
|
6650
|
+
# Valid values: `non-blocking` \| `blocking`
|
6651
|
+
#
|
6652
|
+
# This option defines the delivery mode of log messages from the
|
6653
|
+
# container to CloudWatch Logs. The delivery mode you choose affects
|
6654
|
+
# application availability when the flow of logs from container to
|
6655
|
+
# CloudWatch is interrupted.
|
6656
|
+
#
|
6657
|
+
# If you use the `blocking` mode and the flow of logs to CloudWatch
|
6658
|
+
# is interrupted, calls from container code to write to the `stdout`
|
6659
|
+
# and `stderr` streams will block. The logging thread of the
|
6660
|
+
# application will block as a result. This may cause the application
|
6661
|
+
# to become unresponsive and lead to container healthcheck failure.
|
6662
|
+
#
|
6663
|
+
# If you use the `non-blocking` mode, the container's logs are
|
6664
|
+
# instead stored in an in-memory intermediate buffer configured with
|
6665
|
+
# the `max-buffer-size` option. This prevents the application from
|
6666
|
+
# becoming unresponsive when logs cannot be sent to CloudWatch. We
|
6667
|
+
# recommend using this mode if you want to ensure service
|
6668
|
+
# availability and are okay with some log loss. For more
|
6669
|
+
# information, see [Preventing log loss with non-blocking mode in
|
6670
|
+
# the `awslogs` container log driver][3].
|
6671
|
+
#
|
6672
|
+
# max-buffer-size
|
6673
|
+
#
|
6674
|
+
# : Required: No
|
6675
|
+
#
|
6676
|
+
# Default value: `1m`
|
6677
|
+
#
|
6678
|
+
# When `non-blocking` mode is used, the `max-buffer-size` log option
|
6679
|
+
# controls the size of the buffer that's used for intermediate
|
6680
|
+
# message storage. Make sure to specify an adequate buffer size
|
6681
|
+
# based on your application. When the buffer fills up, further logs
|
6682
|
+
# cannot be stored. Logs that cannot be stored are lost.
|
6683
|
+
#
|
6684
|
+
# To route logs using the `splunk` log router, you need to specify a
|
6685
|
+
# `splunk-token` and a `splunk-url`.
|
6686
|
+
#
|
6687
|
+
# When you use the `awsfirelens` log router to route logs to an Amazon
|
6688
|
+
# Web Services Service or Amazon Web Services Partner Network
|
6689
|
+
# destination for log storage and analytics, you can set the
|
6690
|
+
# `log-driver-buffer-limit` option to limit the number of events that
|
6691
|
+
# are buffered in memory, before being sent to the log router
|
6692
|
+
# container. It can help to resolve potential log loss issue because
|
6693
|
+
# high throughput might result in memory running out for the buffer
|
6694
|
+
# inside of Docker.
|
6695
|
+
#
|
6696
|
+
# Other options you can specify when using `awsfirelens` to route logs
|
6697
|
+
# depend on the destination. When you export logs to Amazon Data
|
6698
|
+
# Firehose, you can specify the Amazon Web Services Region with
|
6699
|
+
# `region` and a name for the log stream with `delivery_stream`.
|
6700
|
+
#
|
6701
|
+
# When you export logs to Amazon Kinesis Data Streams, you can specify
|
6702
|
+
# an Amazon Web Services Region with `region` and a data stream name
|
6703
|
+
# with `stream`.
|
6704
|
+
#
|
6705
|
+
# When you export logs to Amazon OpenSearch Service, you can specify
|
6706
|
+
# options like `Name`, `Host` (OpenSearch Service endpoint without
|
6707
|
+
# protocol), `Port`, `Index`, `Type`, `Aws_auth`, `Aws_region`,
|
6708
|
+
# `Suppress_Type_Name`, and `tls`.
|
6709
|
+
#
|
6710
|
+
# When you export logs to Amazon S3, you can specify the bucket using
|
6711
|
+
# the `bucket` option. You can also specify `region`,
|
6712
|
+
# `total_file_size`, `upload_timeout`, and `use_put_object` as
|
6713
|
+
# options.
|
6714
|
+
#
|
6715
|
+
# This parameter requires version 1.19 of the Docker Remote API or
|
6716
|
+
# greater on your container instance. To check the Docker Remote API
|
6717
|
+
# version on your container instance, log in to your container
|
6718
|
+
# instance and run the following command: `sudo docker version
|
6719
|
+
# --format '\{\{.Server.APIVersion\}\}'`
|
6720
|
+
#
|
6721
|
+
#
|
6722
|
+
#
|
6723
|
+
# [1]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-datetime-format
|
6724
|
+
# [2]: https://docs.docker.com/config/containers/logging/awslogs/#awslogs-multiline-pattern
|
6725
|
+
# [3]: http://aws.amazon.com/blogs/containers/preventing-log-loss-with-non-blocking-mode-in-the-awslogs-container-log-driver/
|
6520
6726
|
# @return [Hash<String,String>]
|
6521
6727
|
#
|
6522
6728
|
# @!attribute [rw] secret_options
|
@@ -7022,7 +7228,7 @@ module Aws::ECS
|
|
7022
7228
|
# can be left blank or it must be the same value as the `containerPort`.
|
7023
7229
|
#
|
7024
7230
|
# Most fields of this parameter (`containerPort`, `hostPort`,
|
7025
|
-
# `protocol`) maps to `PortBindings` in the docker
|
7231
|
+
# `protocol`) maps to `PortBindings` in the docker container create
|
7026
7232
|
# command and the `--publish` option to `docker run`. If the network
|
7027
7233
|
# mode of a task definition is set to `host`, host ports must either be
|
7028
7234
|
# undefined or match the container port in the port mapping.
|
@@ -7521,9 +7727,6 @@ module Aws::ECS
|
|
7521
7727
|
# mode][3]. For more information on using IPv6 with tasks launched
|
7522
7728
|
# on Fargate, see [Using a VPC in dual-stack mode][4].
|
7523
7729
|
#
|
7524
|
-
# * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
|
7525
|
-
# 140 compliance is affected.
|
7526
|
-
#
|
7527
7730
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
7528
7731
|
# determines that a security or infrastructure update is needed for
|
7529
7732
|
# an Amazon ECS task hosted on Fargate, the tasks need to be stopped
|
@@ -9175,7 +9378,7 @@ module Aws::ECS
|
|
9175
9378
|
#
|
9176
9379
|
# @!attribute [rw] log_configuration
|
9177
9380
|
# The log configuration for the container. This parameter maps to
|
9178
|
-
# `LogConfig` in the docker
|
9381
|
+
# `LogConfig` in the docker container create command and the
|
9179
9382
|
# `--log-driver` option to docker run.
|
9180
9383
|
#
|
9181
9384
|
# By default, containers use the same logging driver that the Docker
|
@@ -10158,7 +10361,7 @@ module Aws::ECS
|
|
10158
10361
|
end
|
10159
10362
|
|
10160
10363
|
# A list of namespaced kernel parameters to set in the container. This
|
10161
|
-
# parameter maps to `Sysctls` in
|
10364
|
+
# parameter maps to `Sysctls` in the docker container create command and
|
10162
10365
|
# the `--sysctl` option to docker run. For example, you can configure
|
10163
10366
|
# `net.ipv4.tcp_keepalive_time` setting to maintain longer lived
|
10164
10367
|
# connections.
|
@@ -10888,8 +11091,8 @@ module Aws::ECS
|
|
10888
11091
|
# @return [Array<Types::TaskDefinitionPlacementConstraint>]
|
10889
11092
|
#
|
10890
11093
|
# @!attribute [rw] compatibilities
|
10891
|
-
#
|
10892
|
-
#
|
11094
|
+
# Amazon ECS validates the task definition parameters with those
|
11095
|
+
# supported by the launch type. For more information, see [Amazon ECS
|
10893
11096
|
# launch types][1] in the *Amazon Elastic Container Service Developer
|
10894
11097
|
# Guide*.
|
10895
11098
|
#
|
@@ -11849,11 +12052,15 @@ module Aws::ECS
|
|
11849
12052
|
# @return [String]
|
11850
12053
|
#
|
11851
12054
|
# @!attribute [rw] soft_limit
|
11852
|
-
# The soft limit for the `ulimit` type.
|
12055
|
+
# The soft limit for the `ulimit` type. The value can be specified in
|
12056
|
+
# bytes, seconds, or as a count, depending on the `type` of the
|
12057
|
+
# `ulimit`.
|
11853
12058
|
# @return [Integer]
|
11854
12059
|
#
|
11855
12060
|
# @!attribute [rw] hard_limit
|
11856
|
-
# The hard limit for the `ulimit` type.
|
12061
|
+
# The hard limit for the `ulimit` type. The value can be specified in
|
12062
|
+
# bytes, seconds, or as a count, depending on the `type` of the
|
12063
|
+
# `ulimit`.
|
11857
12064
|
# @return [Integer]
|
11858
12065
|
#
|
11859
12066
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit AWS API Documentation
|
@@ -12706,3 +12913,4 @@ module Aws::ECS
|
|
12706
12913
|
|
12707
12914
|
end
|
12708
12915
|
end
|
12916
|
+
|
data/lib/aws-sdk-ecs.rb
CHANGED
@@ -11,17 +11,7 @@
|
|
11
11
|
require 'aws-sdk-core'
|
12
12
|
require 'aws-sigv4'
|
13
13
|
|
14
|
-
|
15
|
-
require_relative 'aws-sdk-ecs/client_api'
|
16
|
-
require_relative 'aws-sdk-ecs/plugins/endpoints.rb'
|
17
|
-
require_relative 'aws-sdk-ecs/client'
|
18
|
-
require_relative 'aws-sdk-ecs/errors'
|
19
|
-
require_relative 'aws-sdk-ecs/waiters'
|
20
|
-
require_relative 'aws-sdk-ecs/resource'
|
21
|
-
require_relative 'aws-sdk-ecs/endpoint_parameters'
|
22
|
-
require_relative 'aws-sdk-ecs/endpoint_provider'
|
23
|
-
require_relative 'aws-sdk-ecs/endpoints'
|
24
|
-
require_relative 'aws-sdk-ecs/customizations'
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:ecs)
|
25
15
|
|
26
16
|
# This module provides support for Amazon EC2 Container Service. This module is available in the
|
27
17
|
# `aws-sdk-ecs` gem.
|
@@ -52,7 +42,21 @@ require_relative 'aws-sdk-ecs/customizations'
|
|
52
42
|
#
|
53
43
|
# @!group service
|
54
44
|
module Aws::ECS
|
45
|
+
autoload :Types, 'aws-sdk-ecs/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-ecs/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-ecs/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-ecs/client'
|
51
|
+
autoload :Errors, 'aws-sdk-ecs/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-ecs/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-ecs/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-ecs/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-ecs/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-ecs/endpoints'
|
55
57
|
|
56
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.162.0'
|
57
59
|
|
58
60
|
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-ecs/customizations'
|
data/sig/client.rbs
CHANGED
data/sig/resource.rbs
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.162.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: 2024-
|
11
|
+
date: 2024-10-10 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.207.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.207.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|