aws-sdk-ecs 1.157.0 → 1.161.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +11 -10
- 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 +91 -72
- 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: 6b5a178cffaf39269127838457a69c73f375da437a3630a97b0d5b3b335e6427
|
4
|
+
data.tar.gz: c2f3698c67f3f95338c9fa511d4b1c571a7f2b531476715f625f7aee1f8ce859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1a93cf66cef36ea15265d5b100f42b75d790a46f77ad2c863c15634d9d16235f4b59aa81927ab98b4e52024e3de79013b949a4459186d6c27ebc7add294fd0f
|
7
|
+
data.tar.gz: f0bd9d3ff78c6f310f64307ff3d2c36c8ea0d803b12675d8a17e864d54c22d8e8d68f10e418a22b2d8e46987c3a890c779fbbda4a88dc0611762159fa5b7116f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.161.0 (2024-09-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.160.0 (2024-09-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.159.0 (2024-09-20)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.158.0 (2024-09-17)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This is a documentation only release to address various tickets.
|
23
|
+
|
4
24
|
1.157.0 (2024-09-11)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.161.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
|
@@ -5785,9 +5789,6 @@ module Aws::ECS
|
|
5785
5789
|
# mode][3]. For more information on using IPv6 with tasks launched on
|
5786
5790
|
# Fargate, see [Using a VPC in dual-stack mode][4].
|
5787
5791
|
#
|
5788
|
-
# * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
|
5789
|
-
# 140 compliance is affected.
|
5790
|
-
#
|
5791
5792
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
5792
5793
|
# determines that a security or infrastructure update is needed for an
|
5793
5794
|
# Amazon ECS task hosted on Fargate, the tasks need to be stopped and
|
@@ -10445,7 +10446,7 @@ module Aws::ECS
|
|
10445
10446
|
tracer: tracer
|
10446
10447
|
)
|
10447
10448
|
context[:gem_name] = 'aws-sdk-ecs'
|
10448
|
-
context[:gem_version] = '1.
|
10449
|
+
context[:gem_version] = '1.161.0'
|
10449
10450
|
Seahorse::Client::Request.new(handlers, context)
|
10450
10451
|
end
|
10451
10452
|
|
@@ -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
@@ -1035,7 +1035,7 @@ module Aws::ECS
|
|
1035
1035
|
# entered in the `links` of another container to connect the
|
1036
1036
|
# containers. Up to 255 letters (uppercase and lowercase), numbers,
|
1037
1037
|
# underscores, and hyphens are allowed. This parameter maps to `name`
|
1038
|
-
# in
|
1038
|
+
# in the docker container create command and the `--name` option to
|
1039
1039
|
# docker run.
|
1040
1040
|
# @return [String]
|
1041
1041
|
#
|
@@ -1046,7 +1046,7 @@ module Aws::ECS
|
|
1046
1046
|
# repository-url/image:tag ` or ` repository-url/image@digest `. Up to
|
1047
1047
|
# 255 letters (uppercase and lowercase), numbers, hyphens,
|
1048
1048
|
# underscores, colons, periods, forward slashes, and number signs are
|
1049
|
-
# allowed. This parameter maps to `Image` in the docker
|
1049
|
+
# allowed. This parameter maps to `Image` in the docker container
|
1050
1050
|
# create command and the `IMAGE` parameter of docker run.
|
1051
1051
|
#
|
1052
1052
|
# * When a new task starts, the Amazon ECS container agent pulls the
|
@@ -1077,7 +1077,7 @@ module Aws::ECS
|
|
1077
1077
|
#
|
1078
1078
|
# @!attribute [rw] cpu
|
1079
1079
|
# The number of `cpu` units reserved for the container. This parameter
|
1080
|
-
# maps to `CpuShares` in the docker
|
1080
|
+
# maps to `CpuShares` in the docker container create commandand the
|
1081
1081
|
# `--cpu-shares` option to docker run.
|
1082
1082
|
#
|
1083
1083
|
# This field is optional for tasks using the Fargate launch type, and
|
@@ -1142,9 +1142,8 @@ module Aws::ECS
|
|
1142
1142
|
# container attempts to exceed the memory specified here, the
|
1143
1143
|
# container is killed. The total amount of memory reserved for all
|
1144
1144
|
# 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.
|
1145
|
+
# if one is specified. This parameter maps to `Memory` in the docker
|
1146
|
+
# container create command and the `--memory` option to docker run.
|
1148
1147
|
#
|
1149
1148
|
# If using the Fargate launch type, this parameter is optional.
|
1150
1149
|
#
|
@@ -1172,9 +1171,8 @@ module Aws::ECS
|
|
1172
1171
|
# consume more memory when it needs to, up to either the hard limit
|
1173
1172
|
# specified with the `memory` parameter (if applicable), or all of the
|
1174
1173
|
# available memory on the container instance, whichever comes first.
|
1175
|
-
# This parameter maps to `MemoryReservation` in the
|
1176
|
-
#
|
1177
|
-
# docker run.
|
1174
|
+
# This parameter maps to `MemoryReservation` in the docker container
|
1175
|
+
# create command and the `--memory-reservation` option to docker run.
|
1178
1176
|
#
|
1179
1177
|
# If a task-level memory value is not specified, you must specify a
|
1180
1178
|
# non-zero integer for one or both of `memory` or `memoryReservation`
|
@@ -1208,7 +1206,7 @@ module Aws::ECS
|
|
1208
1206
|
# `name:internalName` construct is analogous to `name:alias` in Docker
|
1209
1207
|
# links. Up to 255 letters (uppercase and lowercase), numbers,
|
1210
1208
|
# underscores, and hyphens are allowed.. This parameter maps to
|
1211
|
-
# `Links` in the docker
|
1209
|
+
# `Links` in the docker container create command and the `--link`
|
1212
1210
|
# option to docker run.
|
1213
1211
|
#
|
1214
1212
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1235,7 +1233,7 @@ module Aws::ECS
|
|
1235
1233
|
# so you can't access a container's mapped port from the host
|
1236
1234
|
# itself.
|
1237
1235
|
#
|
1238
|
-
# This parameter maps to `PortBindings` in the the docker
|
1236
|
+
# This parameter maps to `PortBindings` in the the docker container
|
1239
1237
|
# create command and the `--publish` option to docker run. If the
|
1240
1238
|
# network mode of a task definition is set to `none`, then you can't
|
1241
1239
|
# specify port mappings. If the network mode of a task definition is
|
@@ -1294,20 +1292,20 @@ module Aws::ECS
|
|
1294
1292
|
# arguments as `command` array items instead.
|
1295
1293
|
#
|
1296
1294
|
# The entry point that's passed to the container. This parameter maps
|
1297
|
-
# to `Entrypoint` in
|
1295
|
+
# to `Entrypoint` in the docker container create command and the
|
1298
1296
|
# `--entrypoint` option to docker run.
|
1299
1297
|
# @return [Array<String>]
|
1300
1298
|
#
|
1301
1299
|
# @!attribute [rw] command
|
1302
1300
|
# The command that's passed to the container. This parameter maps to
|
1303
|
-
# `Cmd` in the docker
|
1301
|
+
# `Cmd` in the docker container create command and the `COMMAND`
|
1304
1302
|
# parameter to docker run. If there are multiple arguments, each
|
1305
1303
|
# argument is a separated string in the array.
|
1306
1304
|
# @return [Array<String>]
|
1307
1305
|
#
|
1308
1306
|
# @!attribute [rw] environment
|
1309
1307
|
# The environment variables to pass to a container. This parameter
|
1310
|
-
# maps to `Env` in the docker
|
1308
|
+
# maps to `Env` in the docker container create command and the `--env`
|
1311
1309
|
# option to docker run.
|
1312
1310
|
#
|
1313
1311
|
# We don't recommend that you use plaintext environment variables for
|
@@ -1341,7 +1339,7 @@ module Aws::ECS
|
|
1341
1339
|
# @!attribute [rw] mount_points
|
1342
1340
|
# The mount points for data volumes in your container.
|
1343
1341
|
#
|
1344
|
-
# This parameter maps to `Volumes` in the
|
1342
|
+
# This parameter maps to `Volumes` in the docker container create
|
1345
1343
|
# command and the `--volume` option to docker run.
|
1346
1344
|
#
|
1347
1345
|
# Windows containers can mount whole directories on the same drive as
|
@@ -1351,7 +1349,7 @@ module Aws::ECS
|
|
1351
1349
|
#
|
1352
1350
|
# @!attribute [rw] volumes_from
|
1353
1351
|
# Data volumes to mount from another container. This parameter maps to
|
1354
|
-
# `VolumesFrom` in
|
1352
|
+
# `VolumesFrom` in the docker container create command and the
|
1355
1353
|
# `--volumes-from` option to docker run.
|
1356
1354
|
# @return [Array<Types::VolumeFrom>]
|
1357
1355
|
#
|
@@ -1468,8 +1466,9 @@ module Aws::ECS
|
|
1468
1466
|
#
|
1469
1467
|
# * Windows platform version `1.0.0` or later.
|
1470
1468
|
#
|
1471
|
-
#
|
1472
|
-
#
|
1469
|
+
# For tasks that use the Fargate launch type, the max stop timeout
|
1470
|
+
# value is 120 seconds and if the parameter is not specified, the
|
1471
|
+
# default value of 30 seconds is used.
|
1473
1472
|
#
|
1474
1473
|
# For tasks that use the EC2 launch type, if the `stopTimeout`
|
1475
1474
|
# parameter isn't specified, the value set for the Amazon ECS
|
@@ -1491,7 +1490,7 @@ module Aws::ECS
|
|
1491
1490
|
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
|
1492
1491
|
# Developer Guide*.
|
1493
1492
|
#
|
1494
|
-
# The valid values are 2-120 seconds.
|
1493
|
+
# The valid values for Fargate are 2-120 seconds.
|
1495
1494
|
#
|
1496
1495
|
#
|
1497
1496
|
#
|
@@ -1501,7 +1500,7 @@ module Aws::ECS
|
|
1501
1500
|
#
|
1502
1501
|
# @!attribute [rw] hostname
|
1503
1502
|
# The hostname to use for your container. This parameter maps to
|
1504
|
-
# `Hostname` in
|
1503
|
+
# `Hostname` in the docker container create command and the
|
1505
1504
|
# `--hostname` option to docker run.
|
1506
1505
|
#
|
1507
1506
|
# <note markdown="1"> The `hostname` parameter is not supported if you're using the
|
@@ -1512,7 +1511,7 @@ module Aws::ECS
|
|
1512
1511
|
#
|
1513
1512
|
# @!attribute [rw] user
|
1514
1513
|
# The user to use inside the container. This parameter maps to `User`
|
1515
|
-
# in the docker
|
1514
|
+
# in the docker container create command and the `--user` option to
|
1516
1515
|
# docker run.
|
1517
1516
|
#
|
1518
1517
|
# When running tasks using the `host` network mode, don't run
|
@@ -1541,13 +1540,13 @@ module Aws::ECS
|
|
1541
1540
|
#
|
1542
1541
|
# @!attribute [rw] working_directory
|
1543
1542
|
# 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.
|
1543
|
+
# parameter maps to `WorkingDir` in the docker container create
|
1544
|
+
# command and the `--workdir` option to docker run.
|
1546
1545
|
# @return [String]
|
1547
1546
|
#
|
1548
1547
|
# @!attribute [rw] disable_networking
|
1549
1548
|
# When this parameter is true, networking is off within the container.
|
1550
|
-
# This parameter maps to `NetworkDisabled` in the docker
|
1549
|
+
# This parameter maps to `NetworkDisabled` in the docker container
|
1551
1550
|
# create command.
|
1552
1551
|
#
|
1553
1552
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1558,8 +1557,8 @@ module Aws::ECS
|
|
1558
1557
|
# @!attribute [rw] privileged
|
1559
1558
|
# When this parameter is true, the container is given elevated
|
1560
1559
|
# privileges on the host container instance (similar to the `root`
|
1561
|
-
# user). This parameter maps to `Privileged` in the
|
1562
|
-
#
|
1560
|
+
# user). This parameter maps to `Privileged` in the docker container
|
1561
|
+
# create command and the `--privileged` option to docker run
|
1563
1562
|
#
|
1564
1563
|
# <note markdown="1"> This parameter is not supported for Windows containers or tasks run
|
1565
1564
|
# on Fargate.
|
@@ -1570,7 +1569,7 @@ module Aws::ECS
|
|
1570
1569
|
# @!attribute [rw] readonly_root_filesystem
|
1571
1570
|
# When this parameter is true, the container is given read-only access
|
1572
1571
|
# to its root file system. This parameter maps to `ReadonlyRootfs` in
|
1573
|
-
# the docker
|
1572
|
+
# the docker container create command and the `--read-only` option to
|
1574
1573
|
# docker run.
|
1575
1574
|
#
|
1576
1575
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1580,8 +1579,8 @@ module Aws::ECS
|
|
1580
1579
|
#
|
1581
1580
|
# @!attribute [rw] dns_servers
|
1582
1581
|
# A list of DNS servers that are presented to the container. This
|
1583
|
-
# parameter maps to `Dns` in the
|
1584
|
-
#
|
1582
|
+
# parameter maps to `Dns` in the docker container create command and
|
1583
|
+
# the `--dns` option to docker run.
|
1585
1584
|
#
|
1586
1585
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
1587
1586
|
#
|
@@ -1590,7 +1589,7 @@ module Aws::ECS
|
|
1590
1589
|
#
|
1591
1590
|
# @!attribute [rw] dns_search_domains
|
1592
1591
|
# A list of DNS search domains that are presented to the container.
|
1593
|
-
# This parameter maps to `DnsSearch` in the docker
|
1592
|
+
# This parameter maps to `DnsSearch` in the docker container create
|
1594
1593
|
# command and the `--dns-search` option to docker run.
|
1595
1594
|
#
|
1596
1595
|
# <note markdown="1"> This parameter is not supported for Windows containers.
|
@@ -1601,7 +1600,7 @@ module Aws::ECS
|
|
1601
1600
|
# @!attribute [rw] extra_hosts
|
1602
1601
|
# A list of hostnames and IP address mappings to append to the
|
1603
1602
|
# `/etc/hosts` file on the container. This parameter maps to
|
1604
|
-
# `ExtraHosts` in the docker
|
1603
|
+
# `ExtraHosts` in the docker container create command and the
|
1605
1604
|
# `--add-host` option to docker run.
|
1606
1605
|
#
|
1607
1606
|
# <note markdown="1"> This parameter isn't supported for Windows containers or tasks that
|
@@ -1624,7 +1623,7 @@ module Aws::ECS
|
|
1624
1623
|
# Windows Containers][1] and [Using gMSAs for Linux Containers][2] in
|
1625
1624
|
# the *Amazon Elastic Container Service Developer Guide*.
|
1626
1625
|
#
|
1627
|
-
# This parameter maps to `SecurityOpt` in the docker
|
1626
|
+
# This parameter maps to `SecurityOpt` in the docker container create
|
1628
1627
|
# command and the `--security-opt` option to docker run.
|
1629
1628
|
#
|
1630
1629
|
# <note markdown="1"> The Amazon ECS container agent running on a container instance must
|
@@ -1649,19 +1648,19 @@ module Aws::ECS
|
|
1649
1648
|
# @!attribute [rw] interactive
|
1650
1649
|
# When this parameter is `true`, you can deploy containerized
|
1651
1650
|
# applications that require `stdin` or a `tty` to be allocated. This
|
1652
|
-
# parameter maps to `OpenStdin` in the docker
|
1651
|
+
# parameter maps to `OpenStdin` in the docker container create command
|
1653
1652
|
# and the `--interactive` option to docker run.
|
1654
1653
|
# @return [Boolean]
|
1655
1654
|
#
|
1656
1655
|
# @!attribute [rw] pseudo_terminal
|
1657
1656
|
# When this parameter is `true`, a TTY is allocated. This parameter
|
1658
|
-
# maps to `Tty` in
|
1657
|
+
# maps to `Tty` in the docker container create command and the `--tty`
|
1659
1658
|
# option to docker run.
|
1660
1659
|
# @return [Boolean]
|
1661
1660
|
#
|
1662
1661
|
# @!attribute [rw] docker_labels
|
1663
1662
|
# A key/value map of labels to add to the container. This parameter
|
1664
|
-
# maps to `Labels` in the docker
|
1663
|
+
# maps to `Labels` in the docker container create command and the
|
1665
1664
|
# `--label` option to docker run. This parameter requires version 1.18
|
1666
1665
|
# of the Docker Remote API or greater on your container instance. To
|
1667
1666
|
# check the Docker Remote API version on your container instance, log
|
@@ -1672,7 +1671,7 @@ module Aws::ECS
|
|
1672
1671
|
# @!attribute [rw] ulimits
|
1673
1672
|
# A list of `ulimits` to set in the container. If a `ulimit` value is
|
1674
1673
|
# specified in a task definition, it overrides the default values set
|
1675
|
-
# by Docker. This parameter maps to `Ulimits` in
|
1674
|
+
# by Docker. This parameter maps to `Ulimits` in the docker container
|
1676
1675
|
# create command and the `--ulimit` option to docker run. Valid naming
|
1677
1676
|
# values are displayed in the [Ulimit][1] data type.
|
1678
1677
|
#
|
@@ -1701,7 +1700,7 @@ module Aws::ECS
|
|
1701
1700
|
# @!attribute [rw] log_configuration
|
1702
1701
|
# The log configuration specification for the container.
|
1703
1702
|
#
|
1704
|
-
# This parameter maps to `LogConfig` in the docker
|
1703
|
+
# This parameter maps to `LogConfig` in the docker container create
|
1705
1704
|
# command and the `--log-driver` option to docker run. By default,
|
1706
1705
|
# containers use the same logging driver that the Docker daemon uses.
|
1707
1706
|
# However the container can use a different logging driver than the
|
@@ -1743,13 +1742,13 @@ module Aws::ECS
|
|
1743
1742
|
# @!attribute [rw] health_check
|
1744
1743
|
# The container health check command and associated configuration
|
1745
1744
|
# parameters for the container. This parameter maps to `HealthCheck`
|
1746
|
-
# in the docker
|
1745
|
+
# in the docker container create command and the `HEALTHCHECK`
|
1747
1746
|
# parameter of docker run.
|
1748
1747
|
# @return [Types::HealthCheck]
|
1749
1748
|
#
|
1750
1749
|
# @!attribute [rw] system_controls
|
1751
1750
|
# A list of namespaced kernel parameters to set in the container. This
|
1752
|
-
# parameter maps to `Sysctls` in
|
1751
|
+
# parameter maps to `Sysctls` in the docker container create command
|
1753
1752
|
# and the `--sysctl` option to docker run. For example, you can
|
1754
1753
|
# configure `net.ipv4.tcp_keepalive_time` setting to maintain longer
|
1755
1754
|
# lived connections.
|
@@ -3733,13 +3732,22 @@ module Aws::ECS
|
|
3733
3732
|
# using the `REPLICA` service scheduler is 200%.
|
3734
3733
|
#
|
3735
3734
|
# 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
|
-
#
|
3735
|
+
# `EXTERNAL` deployment types, and tasks in the service use the EC2
|
3736
|
+
# launch type, the **maximum percent** value is set to the default
|
3737
|
+
# value. The **maximum percent** value is used to define the upper
|
3738
|
+
# limit on the number of the tasks in the service that remain in the
|
3739
|
+
# `RUNNING` state while the container instances are in the `DRAINING`
|
3740
|
+
# state.
|
3741
|
+
#
|
3742
|
+
# <note markdown="1"> You can't specify a custom `maximumPercent` value for a service
|
3743
|
+
# that uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL`
|
3744
|
+
# deployment types and has tasks that use the EC2 launch type.
|
3745
|
+
#
|
3746
|
+
# </note>
|
3747
|
+
#
|
3748
|
+
# If the tasks in the service use the Fargate launch type, the maximum
|
3749
|
+
# percent value is not used, although it is returned when describing
|
3750
|
+
# your service.
|
3743
3751
|
# @return [Integer]
|
3744
3752
|
#
|
3745
3753
|
# @!attribute [rw] minimum_healthy_percent
|
@@ -3800,13 +3808,22 @@ module Aws::ECS
|
|
3800
3808
|
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3801
3809
|
# `EXTERNAL` deployment types and is running tasks that use the EC2
|
3802
3810
|
# launch type, the **minimum healthy percent** value is set to the
|
3803
|
-
# default value
|
3804
|
-
# the
|
3805
|
-
#
|
3806
|
-
#
|
3807
|
-
#
|
3808
|
-
#
|
3809
|
-
#
|
3811
|
+
# default value. The **minimum healthy percent** value is used to
|
3812
|
+
# define the lower limit on the number of the tasks in the service
|
3813
|
+
# that remain in the `RUNNING` state while the container instances are
|
3814
|
+
# in the `DRAINING` state.
|
3815
|
+
#
|
3816
|
+
# <note markdown="1"> You can't specify a custom `minimumHealthyPercent` value for a
|
3817
|
+
# service that uses either the blue/green (`CODE_DEPLOY`) or
|
3818
|
+
# `EXTERNAL` deployment types and has tasks that use the EC2 launch
|
3819
|
+
# type.
|
3820
|
+
#
|
3821
|
+
# </note>
|
3822
|
+
#
|
3823
|
+
# If a service is using either the blue/green (`CODE_DEPLOY`) or
|
3824
|
+
# `EXTERNAL` deployment types and is running tasks that use the
|
3825
|
+
# Fargate launch type, the minimum healthy percent value is not used,
|
3826
|
+
# although it is returned when describing your service.
|
3810
3827
|
# @return [Integer]
|
3811
3828
|
#
|
3812
3829
|
# @!attribute [rw] alarms
|
@@ -4461,7 +4478,7 @@ module Aws::ECS
|
|
4461
4478
|
# use `docker plugin ls` to retrieve the driver name from your
|
4462
4479
|
# container instance. If the driver was installed using another
|
4463
4480
|
# method, use Docker plugin discovery to retrieve the driver name.
|
4464
|
-
# This parameter maps to `Driver` in the docker
|
4481
|
+
# This parameter maps to `Driver` in the docker container create
|
4465
4482
|
# command and the `xxdriver` option to docker volume create.
|
4466
4483
|
# @return [String]
|
4467
4484
|
#
|
@@ -4473,7 +4490,7 @@ module Aws::ECS
|
|
4473
4490
|
#
|
4474
4491
|
# @!attribute [rw] labels
|
4475
4492
|
# Custom metadata to add to your Docker volume. This parameter maps to
|
4476
|
-
# `Labels` in the docker
|
4493
|
+
# `Labels` in the docker container create command and the `xxlabel`
|
4477
4494
|
# option to docker volume create.
|
4478
4495
|
# @return [Hash<String,String>]
|
4479
4496
|
#
|
@@ -5202,8 +5219,8 @@ module Aws::ECS
|
|
5202
5219
|
# ` CMD-SHELL, curl -f http://localhost/ || exit 1`
|
5203
5220
|
#
|
5204
5221
|
# An exit code of 0 indicates success, and non-zero exit code
|
5205
|
-
# indicates failure. For more information, see `HealthCheck` in
|
5206
|
-
# docker
|
5222
|
+
# indicates failure. For more information, see `HealthCheck` in the
|
5223
|
+
# docker container create command
|
5207
5224
|
# @return [Array<String>]
|
5208
5225
|
#
|
5209
5226
|
# @!attribute [rw] interval
|
@@ -5410,7 +5427,7 @@ module Aws::ECS
|
|
5410
5427
|
# @!attribute [rw] add
|
5411
5428
|
# The Linux capabilities for the container that have been added to the
|
5412
5429
|
# default configuration provided by Docker. This parameter maps to
|
5413
|
-
# `CapAdd` in the docker
|
5430
|
+
# `CapAdd` in the docker container create command and the `--cap-add`
|
5414
5431
|
# option to docker run.
|
5415
5432
|
#
|
5416
5433
|
# <note markdown="1"> Tasks launched on Fargate only support adding the `SYS_PTRACE`
|
@@ -5432,8 +5449,8 @@ module Aws::ECS
|
|
5432
5449
|
# @!attribute [rw] drop
|
5433
5450
|
# The Linux capabilities for the container that have been removed from
|
5434
5451
|
# the default configuration provided by Docker. This parameter maps to
|
5435
|
-
# `CapDrop` in the docker
|
5436
|
-
# option to docker run.
|
5452
|
+
# `CapDrop` in the docker container create command and the
|
5453
|
+
# `--cap-drop` option to docker run.
|
5437
5454
|
#
|
5438
5455
|
# Valid values: `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" |
|
5439
5456
|
# "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" |
|
@@ -5502,7 +5519,7 @@ module Aws::ECS
|
|
5502
5519
|
#
|
5503
5520
|
# @!attribute [rw] devices
|
5504
5521
|
# Any host devices to expose to the container. This parameter maps to
|
5505
|
-
# `Devices` in
|
5522
|
+
# `Devices` in the docker container create command and the `--device`
|
5506
5523
|
# option to docker run.
|
5507
5524
|
#
|
5508
5525
|
# <note markdown="1"> If you're using tasks that use the Fargate launch type, the
|
@@ -6433,7 +6450,7 @@ module Aws::ECS
|
|
6433
6450
|
end
|
6434
6451
|
|
6435
6452
|
# The log configuration for the container. This parameter maps to
|
6436
|
-
# `LogConfig` in the docker
|
6453
|
+
# `LogConfig` in the docker container create command and the
|
6437
6454
|
# `--log-driver` option to docker run.
|
6438
6455
|
#
|
6439
6456
|
# By default, containers use the same logging driver that the Docker
|
@@ -7022,7 +7039,7 @@ module Aws::ECS
|
|
7022
7039
|
# can be left blank or it must be the same value as the `containerPort`.
|
7023
7040
|
#
|
7024
7041
|
# Most fields of this parameter (`containerPort`, `hostPort`,
|
7025
|
-
# `protocol`) maps to `PortBindings` in the docker
|
7042
|
+
# `protocol`) maps to `PortBindings` in the docker container create
|
7026
7043
|
# command and the `--publish` option to `docker run`. If the network
|
7027
7044
|
# mode of a task definition is set to `host`, host ports must either be
|
7028
7045
|
# undefined or match the container port in the port mapping.
|
@@ -7521,9 +7538,6 @@ module Aws::ECS
|
|
7521
7538
|
# mode][3]. For more information on using IPv6 with tasks launched
|
7522
7539
|
# on Fargate, see [Using a VPC in dual-stack mode][4].
|
7523
7540
|
#
|
7524
|
-
# * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
|
7525
|
-
# 140 compliance is affected.
|
7526
|
-
#
|
7527
7541
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
7528
7542
|
# determines that a security or infrastructure update is needed for
|
7529
7543
|
# an Amazon ECS task hosted on Fargate, the tasks need to be stopped
|
@@ -9175,7 +9189,7 @@ module Aws::ECS
|
|
9175
9189
|
#
|
9176
9190
|
# @!attribute [rw] log_configuration
|
9177
9191
|
# The log configuration for the container. This parameter maps to
|
9178
|
-
# `LogConfig` in the docker
|
9192
|
+
# `LogConfig` in the docker container create command and the
|
9179
9193
|
# `--log-driver` option to docker run.
|
9180
9194
|
#
|
9181
9195
|
# By default, containers use the same logging driver that the Docker
|
@@ -10158,7 +10172,7 @@ module Aws::ECS
|
|
10158
10172
|
end
|
10159
10173
|
|
10160
10174
|
# A list of namespaced kernel parameters to set in the container. This
|
10161
|
-
# parameter maps to `Sysctls` in
|
10175
|
+
# parameter maps to `Sysctls` in the docker container create command and
|
10162
10176
|
# the `--sysctl` option to docker run. For example, you can configure
|
10163
10177
|
# `net.ipv4.tcp_keepalive_time` setting to maintain longer lived
|
10164
10178
|
# connections.
|
@@ -10888,8 +10902,8 @@ module Aws::ECS
|
|
10888
10902
|
# @return [Array<Types::TaskDefinitionPlacementConstraint>]
|
10889
10903
|
#
|
10890
10904
|
# @!attribute [rw] compatibilities
|
10891
|
-
#
|
10892
|
-
#
|
10905
|
+
# Amazon ECS validates the task definition parameters with those
|
10906
|
+
# supported by the launch type. For more information, see [Amazon ECS
|
10893
10907
|
# launch types][1] in the *Amazon Elastic Container Service Developer
|
10894
10908
|
# Guide*.
|
10895
10909
|
#
|
@@ -11849,11 +11863,15 @@ module Aws::ECS
|
|
11849
11863
|
# @return [String]
|
11850
11864
|
#
|
11851
11865
|
# @!attribute [rw] soft_limit
|
11852
|
-
# The soft limit for the `ulimit` type.
|
11866
|
+
# The soft limit for the `ulimit` type. The value can be specified in
|
11867
|
+
# bytes, seconds, or as a count, depending on the `type` of the
|
11868
|
+
# `ulimit`.
|
11853
11869
|
# @return [Integer]
|
11854
11870
|
#
|
11855
11871
|
# @!attribute [rw] hard_limit
|
11856
|
-
# The hard limit for the `ulimit` type.
|
11872
|
+
# The hard limit for the `ulimit` type. The value can be specified in
|
11873
|
+
# bytes, seconds, or as a count, depending on the `type` of the
|
11874
|
+
# `ulimit`.
|
11857
11875
|
# @return [Integer]
|
11858
11876
|
#
|
11859
11877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit AWS API Documentation
|
@@ -12706,3 +12724,4 @@ module Aws::ECS
|
|
12706
12724
|
|
12707
12725
|
end
|
12708
12726
|
end
|
12727
|
+
|
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.161.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.161.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-09-
|
11
|
+
date: 2024-09-24 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
|