You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* <p>The details of the deployment lifecycle hook. This provides additional configuration for how the hook should be executed during deployment operations on Amazon ECS Managed Instances.</p>
2266
+
* <p>Use this field to specify custom parameters that Amazon ECS will pass to your hook target invocations (such as a Lambda function).</p>
* <i>Amazon Elastic Container Service Developer Guide</i>
3895
3895
* </i>.</p>
3896
+
* <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
3897
+
* <ul>
3898
+
* <li>
3899
+
* <p>For create service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to <code>ENABLED</code>.</p>
3900
+
* </li>
3901
+
* <li>
3902
+
* <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>
* <p>A load balancer object representing the load balancers to use with your service. For
3902
3911
* 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>
3903
-
* <p>If the service uses the rolling update (<code>ECS</code>) deployment controller and
3912
+
* <p>If the service uses the <code>ECS</code> deployment controller and
3904
3913
* using either an Application Load Balancer or Network Load Balancer, you must specify one or more target group ARNs to attach
3905
3914
* to the service. The service-linked role is required for services that use multiple
3906
3915
* 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
* <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
4070
-
* Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started. If you don't
4071
-
* specify a health check grace period value, the default value of <code>0</code> is used.
4072
-
* If you don't use any of the health checks, then
4073
-
* <code>healthCheckGracePeriodSeconds</code> is unused.</p>
4074
-
* <p>If your service's tasks take a while to start and respond to health checks, you can
4075
-
* specify a health check grace period of up to 2,147,483,647 seconds (about 69 years).
4076
-
* During that time, the Amazon ECS service scheduler ignores health check status. This grace
4077
-
* period can prevent the service scheduler from marking tasks as unhealthy and stopping
4078
-
* them before they have time to come up.</p>
4078
+
* <p>The period of time, in seconds, that the 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>
4079
+
* <p>If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.</p>
4079
4080
* @public
4080
4081
*/
4081
4082
healthCheckGracePeriodSeconds?: number | undefined;
@@ -4959,6 +4960,7 @@ export interface Service {
4959
4960
/**
4960
4961
* <p>The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy
4961
4962
* Elastic Load Balancing, VPC Lattice, and container health checks after a task has first started.</p>
4963
+
* <p>If your service has more running tasks than desired, unhealthy tasks in the grace period might be stopped to reach the desired count.</p>
4962
4964
* @public
4963
4965
*/
4964
4966
healthCheckGracePeriodSeconds?: number | undefined;
@@ -5072,6 +5074,15 @@ export interface Service {
5072
5074
* the <i>
5073
5075
* <i>Amazon Elastic Container Service Developer Guide</i>
5074
5076
* </i>.</p>
5077
+
* <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
5078
+
* <ul>
5079
+
* <li>
5080
+
* <p>For create service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to <code>ENABLED</code>.</p>
5081
+
* </li>
5082
+
* <li>
5083
+
* <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>
* <p>The details of the volume that was <code>configuredAtLaunch</code>. You can configure
1348
-
* the size, volumeType, IOPS, throughput, snapshot and encryption in in <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html">TaskManagedEBSVolumeConfiguration</a>. The <code>name</code> of the volume must
1348
+
* the size, volumeType, IOPS, throughput, snapshot and encryption in <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_TaskManagedEBSVolumeConfiguration.html">TaskManagedEBSVolumeConfiguration</a>. The <code>name</code> of the volume must
1349
1349
* match the <code>name</code> from the task definition.</p>
* <i>Amazon Elastic Container Service Developer Guide</i>
2429
2429
* </i>.</p>
2430
+
* <p>The default behavior of <code>AvailabilityZoneRebalancing</code> differs between create and update requests:</p>
2431
+
* <ul>
2432
+
* <li>
2433
+
* <p>For create service requests, when no value is specified for <code>AvailabilityZoneRebalancing</code>, Amazon ECS defaults the value to <code>ENABLED</code>.</p>
2434
+
* </li>
2435
+
* <li>
2436
+
* <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>
2437
+
* </li>
2438
+
* </ul>
2430
2439
* <p>This parameter doesn't trigger a new service deployment.</p>
0 commit comments