aws-sdk-ecs 1.157.0 → 1.158.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +1 -4
- data/lib/aws-sdk-ecs/types.rb +90 -72
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5739e534b04b285c25a3c78619146914c02251786740397e9d0bedecf01f220c
|
4
|
+
data.tar.gz: 9805c58270a78038267aa7fe1f3db260b4ebf949898c2677f3c7a788a5d86b17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db0593cd773d240a548a759c58a07b05bb5bd91e4126ef1f105a707377e1b56f213962f67a82ffe054cf9555758ac0beb5805d6129dd1b6ff57890f8800d2e3c
|
7
|
+
data.tar.gz: 553d6d688d01dd6df6e721db695ad11906990d56a095f83a4943a61927a664611eba1defd0b80d1ec1ae07380d8c5131704bed89ec87fd4dc2849967a4569061
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.158.0
|
data/lib/aws-sdk-ecs/client.rb
CHANGED
@@ -5785,9 +5785,6 @@ module Aws::ECS
|
|
5785
5785
|
# mode][3]. For more information on using IPv6 with tasks launched on
|
5786
5786
|
# Fargate, see [Using a VPC in dual-stack mode][4].
|
5787
5787
|
#
|
5788
|
-
# * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
|
5789
|
-
# 140 compliance is affected.
|
5790
|
-
#
|
5791
5788
|
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
|
5792
5789
|
# determines that a security or infrastructure update is needed for an
|
5793
5790
|
# Amazon ECS task hosted on Fargate, the tasks need to be stopped and
|
@@ -10445,7 +10442,7 @@ module Aws::ECS
|
|
10445
10442
|
tracer: tracer
|
10446
10443
|
)
|
10447
10444
|
context[:gem_name] = 'aws-sdk-ecs'
|
10448
|
-
context[:gem_version] = '1.
|
10445
|
+
context[:gem_version] = '1.158.0'
|
10449
10446
|
Seahorse::Client::Request.new(handlers, context)
|
10450
10447
|
end
|
10451
10448
|
|
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
|
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.158.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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|