Skip to content

Commit ada2671

Browse files
author
awstools
committed
docs(client-ecs): This is a documentation only release that adds additional information for Amazon ECS Availability Zone rebalancing.
1 parent f32c1f1 commit ada2671

File tree

4 files changed

+15851
-15943
lines changed

4 files changed

+15851
-15943
lines changed

clients/client-ecs/src/commands/RunTaskCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export interface RunTaskCommandOutput extends RunTaskResponse, __MetadataBearer
402402
*
403403
* @throws {@link BlockedException} (client fault)
404404
* <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
405-
* Amazon Web ServicesSupport</a>.</p>
405+
* Amazon Web Services Support</a>.</p>
406406
*
407407
* @throws {@link ClientException} (client fault)
408408
* <p>These errors are usually caused by a client action. This client action might be using

clients/client-ecs/src/models/models_0.ts

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ export type ClusterSettingName = (typeof ClusterSettingName)[keyof typeof Cluste
907907
*/
908908
export interface ClusterSetting {
909909
/**
910-
* <p>The name of the cluster setting. The value is <code>containerInsights</code> .</p>
910+
* <p>The name of the cluster setting. The value is <code>containerInsights</code>.</p>
911911
* @public
912912
*/
913913
name?: ClusterSettingName | undefined;
@@ -1663,7 +1663,7 @@ export interface DeploymentConfiguration {
16631663
* scheduler to start replacement tasks, the scheduler stops the unhealthy tasks one-by-one
16641664
* — using the <code>minimumHealthyPercent</code> as a constraint — to clear up capacity to
16651665
* launch replacement tasks. For more information about how the scheduler replaces
1666-
* unhealthy tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a> . </p>
1666+
* unhealthy tasks, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_services.html">Amazon ECS services</a>. </p>
16671667
* <p>For services that <i>do not</i> use a load balancer, the following
16681668
* should be noted:</p>
16691669
* <ul>
@@ -3198,14 +3198,23 @@ export interface CreateServiceRequest {
31983198
* the <i>
31993199
* <i>Amazon Elastic Container Service Developer Guide</i>
32003200
* </i>.</p>
3201+
* <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
3202+
* <ul>
3203+
* <li>
3204+
* <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p>
3205+
* </li>
3206+
* <li>
3207+
* <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p>
3208+
* </li>
3209+
* </ul>
32013210
* @public
32023211
*/
32033212
availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
32043213

32053214
/**
32063215
* <p>A load balancer object representing the load balancers to use with your service. For
32073216
* more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-load-balancing.html">Service load balancing</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
3208-
* <p>If the service uses the rolling update (<code>ECS</code>) deployment controller and
3217+
* <p>If the service uses the <code>ECS</code> deployment controller and
32093218
* using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to attach
32103219
* to the service. The service-linked role is required for services that use multiple
32113220
* target groups. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Using service-linked roles for Amazon ECS</a> in the
@@ -3371,16 +3380,7 @@ export interface CreateServiceRequest {
33713380
networkConfiguration?: NetworkConfiguration | undefined;
33723381

33733382
/**
3374-
* <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
3375-
* Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't
3376-
* specify a health check grace period value, the default value of <code>0</code> is used.
3377-
* If you don't use any of the health checks, then
3378-
* <code>healthCheckGracePeriodSeconds</code> is unused.</p>
3379-
* <p>If your service's tasks take a while to start and respond to health checks, you can
3380-
* specify a health check grace period of up to 2,147,483,647 seconds (about 69 years).
3381-
* During that time, the Amazon ECS service scheduler ignores health check status. This grace
3382-
* period can prevent the service scheduler from marking tasks as unhealthy and stopping
3383-
* them before they have time to come up.</p>
3383+
* <p>The period of time, in seconds, that the Amazon Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you do not specify a health check grace period value, the default value of 0 is used. If you do not use any of the health checks, then <code>healthCheckGracePeriodSeconds</code> is unused.</p>
33843384
* @public
33853385
*/
33863386
healthCheckGracePeriodSeconds?: number | undefined;
@@ -4263,7 +4263,7 @@ export interface Service {
42634263

42644264
/**
42654265
* <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
4266-
* Elastic Load Balancing target health checks after a task has first started.</p>
4266+
* Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.</p>
42674267
* @public
42684268
*/
42694269
healthCheckGracePeriodSeconds?: number | undefined;
@@ -4377,6 +4377,15 @@ export interface Service {
43774377
* the <i>
43784378
* <i>Amazon Elastic Container Service Developer Guide</i>
43794379
* </i>.</p>
4380+
* <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
4381+
* <ul>
4382+
* <li>
4383+
* <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p>
4384+
* </li>
4385+
* <li>
4386+
* <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p>
4387+
* </li>
4388+
* </ul>
43804389
* @public
43814390
*/
43824391
availabilityZoneRebalancing?: AvailabilityZoneRebalancing | undefined;
@@ -12717,7 +12726,7 @@ export interface RegisterTaskDefinitionResponse {
1271712726

1271812727
/**
1271912728
* <p>Your Amazon Web Services account was blocked. For more information, contact <a href="http://aws.amazon.com/contact-us/">
12720-
* Amazon Web ServicesSupport</a>.</p>
12729+
* Amazon Web Services Support</a>.</p>
1272112730
* @public
1272212731
*/
1272312732
export class BlockedException extends __BaseException {

clients/client-ecs/src/models/models_1.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,15 @@ export interface UpdateServiceRequest {
764764
* the <i>
765765
* <i>Amazon Elastic Container Service Developer Guide</i>
766766
* </i>.</p>
767+
* <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
768+
* <ul>
769+
* <li>
770+
* <p>For create service requests, when when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to to <code>ENABLED</code>.</p>
771+
* </li>
772+
* <li>
773+
* <p>For update service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults to the existing service’s <code>AvailabilityZoneRebalancing</code> value. If the service never had an <code>AvailabilityZoneRebalancing</code> value set, Amazon ECS treats this as <code>DISABLED</code>.</p>
774+
* </li>
775+
* </ul>
767776
* <p>This parameter doesn't trigger a new service deployment.</p>
768777
* @public
769778
*/

0 commit comments

Comments
 (0)