@aws-sdk/client-ecs 3.507.0 → 3.509.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1411,6 +1411,8 @@ export interface LoadBalancer {
1411
1411
  * @public
1412
1412
  * <p>The name of the container (as it appears in a container definition) to associate with
1413
1413
  * the load balancer.</p>
1414
+ * <p>You need to specify the container name when configuring the target group for an Amazon ECS
1415
+ * load balancer.</p>
1414
1416
  */
1415
1417
  containerName?: string;
1416
1418
  /**
@@ -2363,7 +2365,7 @@ export interface CreateServiceRequest {
2363
2365
  * infrastructure.</p>
2364
2366
  * <note>
2365
2367
  * <p>Fargate Spot infrastructure is available for use but a capacity provider
2366
- * strategy must be used. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html">Fargate capacity providers</a> in the
2368
+ * strategy must be used. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html">Fargate capacity providers</a> in the
2367
2369
  * <i>Amazon ECS User Guide for Fargate</i>.</p>
2368
2370
  * </note>
2369
2371
  * <p>The <code>EC2</code> launch type runs your tasks on Amazon EC2 instances registered to your
@@ -4791,27 +4793,49 @@ export interface ResourceRequirement {
4791
4793
  /**
4792
4794
  * @public
4793
4795
  * <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
4794
- * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
4795
- * <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>.</p>
4796
+ * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
4797
+ * <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For example, you can configure
4798
+ * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
4799
+ * connections.</p>
4796
4800
  * <p>We don't recommend that you specify network-related <code>systemControls</code>
4797
- * parameters for multiple containers in a single task. This task also uses either the
4798
- * <code>awsvpc</code> or <code>host</code> network mode. It does it for the following
4799
- * reasons.</p>
4801
+ * parameters for multiple containers in a single task that also uses either the
4802
+ * <code>awsvpc</code> or <code>host</code> network mode. Doing this has the following
4803
+ * disadvantages:</p>
4800
4804
  * <ul>
4801
4805
  * <li>
4802
- * <p>For tasks that use the <code>awsvpc</code> network mode, if you set
4803
- * <code>systemControls</code> for any container, it applies to all containers
4804
- * in the task. If you set different <code>systemControls</code> for multiple
4805
- * containers in a single task, the container that's started last determines which
4806
- * <code>systemControls</code> take effect.</p>
4806
+ * <p>For tasks that use the <code>awsvpc</code> network mode including Fargate,
4807
+ * if you set <code>systemControls</code> for any container, it applies to all
4808
+ * containers in the task. If you set different <code>systemControls</code> for
4809
+ * multiple containers in a single task, the container that's started last
4810
+ * determines which <code>systemControls</code> take effect.</p>
4807
4811
  * </li>
4808
4812
  * <li>
4809
- * <p>For tasks that use the <code>host</code> network mode, the
4810
- * <code>systemControls</code> parameter applies to the container instance's
4811
- * kernel parameter and that of all containers of any tasks running on that
4812
- * container instance.</p>
4813
+ * <p>For tasks that use the <code>host</code> network mode, the network namespace
4814
+ * <code>systemControls</code> aren't supported.</p>
4813
4815
  * </li>
4814
4816
  * </ul>
4817
+ * <p>If you're setting an IPC resource namespace to use for the containers in the task, the
4818
+ * following conditions apply to your system controls. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#task_definition_ipcmode">IPC mode</a>.</p>
4819
+ * <ul>
4820
+ * <li>
4821
+ * <p>For tasks that use the <code>host</code> IPC mode, IPC namespace
4822
+ * <code>systemControls</code> aren't supported.</p>
4823
+ * </li>
4824
+ * <li>
4825
+ * <p>For tasks that use the <code>task</code> IPC mode, IPC namespace
4826
+ * <code>systemControls</code> values apply to all containers within a
4827
+ * task.</p>
4828
+ * </li>
4829
+ * </ul>
4830
+ * <note>
4831
+ * <p>This parameter is not supported for Windows containers.</p>
4832
+ * </note>
4833
+ * <note>
4834
+ * <p>This parameter is only supported for tasks that are hosted on
4835
+ * Fargate if the tasks are using platform version <code>1.4.0</code> or later
4836
+ * (Linux). This isn't supported for Windows containers on
4837
+ * Fargate.</p>
4838
+ * </note>
4815
4839
  */
4816
4840
  export interface SystemControl {
4817
4841
  /**
@@ -5567,28 +5591,10 @@ export interface ContainerDefinition {
5567
5591
  /**
5568
5592
  * @public
5569
5593
  * <p>A list of namespaced kernel parameters to set in the container. This parameter maps to
5570
- * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
5594
+ * <code>Sysctls</code> in the <a href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
5571
5595
  * <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--sysctl</code> option to <a href="https://docs.docker.com/engine/reference/run/#security-configuration">docker run</a>. For example, you can configure
5572
- * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
5596
+ * <code>net.ipv4.tcp_keepalive_time</code> setting to maintain longer lived
5573
5597
  * connections.</p>
5574
- * <note>
5575
- * <p>We don't recommended that you specify network-related <code>systemControls</code>
5576
- * parameters for multiple containers in a single task that also uses either the
5577
- * <code>awsvpc</code> or <code>host</code> network modes. For tasks that use the
5578
- * <code>awsvpc</code> network mode, the container that's started last determines
5579
- * which <code>systemControls</code> parameters take effect. For tasks that use the
5580
- * <code>host</code> network mode, it changes the container instance's namespaced
5581
- * kernel parameters as well as the containers.</p>
5582
- * </note>
5583
- * <note>
5584
- * <p>This parameter is not supported for Windows containers.</p>
5585
- * </note>
5586
- * <note>
5587
- * <p>This parameter is only supported for tasks that are hosted on
5588
- * Fargate if the tasks are using platform version <code>1.4.0</code> or later
5589
- * (Linux). This isn't supported for Windows containers on
5590
- * Fargate.</p>
5591
- * </note>
5592
5598
  */
5593
5599
  systemControls?: SystemControl[];
5594
5600
  /**
@@ -5647,8 +5653,7 @@ export interface ContainerDefinition {
5647
5653
  * @public
5648
5654
  * <p>The amount of ephemeral storage to allocate for the task. This parameter is used to
5649
5655
  * expand the total amount of ephemeral storage available, beyond the default amount, for
5650
- * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
5651
- * storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
5656
+ * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html">Using data volumes in tasks</a> in the <i>Amazon ECS Developer Guide;</i>.</p>
5652
5657
  * <note>
5653
5658
  * <p>For tasks using the Fargate launch type, the task requires the
5654
5659
  * following platforms:</p>
@@ -8020,7 +8025,7 @@ export interface Task {
8020
8025
  * @public
8021
8026
  * <p>The stop code indicating why a task was stopped. The <code>stoppedReason</code> might
8022
8027
  * contain additional details. </p>
8023
- * <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/stopped-task-error-codes.html">Stopped tasks error codes</a> in the <i>Amazon ECS User Guide</i>.</p>
8028
+ * <p>For more information about stop code, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-error-codes.html">Stopped tasks error codes</a> in the <i>Amazon ECS Developer Guide</i>.</p>
8024
8029
  */
8025
8030
  stopCode?: TaskStopCode;
8026
8031
  /**
@@ -9836,8 +9841,7 @@ export interface RegisterTaskDefinitionRequest {
9836
9841
  * @public
9837
9842
  * <p>The amount of ephemeral storage to allocate for the task. This parameter is used to
9838
9843
  * expand the total amount of ephemeral storage available, beyond the default amount, for
9839
- * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/using_data_volumes.html">Fargate task
9840
- * storage</a> in the <i>Amazon ECS User Guide for Fargate</i>.</p>
9844
+ * tasks hosted on Fargate. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_data_volumes.html">Using data volumes in tasks</a> in the <i>Amazon ECS Developer Guide</i>.</p>
9841
9845
  * <note>
9842
9846
  * <p>For tasks using the Fargate launch type, the task requires the
9843
9847
  * following platforms:</p>
@@ -10188,8 +10192,8 @@ export interface RunTaskRequest {
10188
10192
  * infrastructure.</p>
10189
10193
  * <note>
10190
10194
  * <p>Fargate Spot infrastructure is available for use but a capacity provider
10191
- * strategy must be used. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/userguide/fargate-capacity-providers.html">Fargate capacity providers</a> in the
10192
- * <i>Amazon ECS User Guide for Fargate</i>.</p>
10195
+ * strategy must be used. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/fargate-capacity-providers.html">Fargate capacity providers</a> in the
10196
+ * <i>Amazon ECS Developer Guide</i>.</p>
10193
10197
  * </note>
10194
10198
  * <p>The <code>EC2</code> launch type runs your tasks on Amazon EC2 instances registered to your
10195
10199
  * cluster.</p>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ecs",
3
3
  "description": "AWS SDK for JavaScript Ecs Client for Node.js, Browser and React Native",
4
- "version": "3.507.0",
4
+ "version": "3.509.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ecs",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.507.0",
25
+ "@aws-sdk/credential-provider-node": "3.509.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",