@aws-sdk/client-ecs 3.922.0 → 3.923.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.
|
@@ -180,10 +180,9 @@ declare const CreateServiceCommand_base: {
|
|
|
180
180
|
* <code>LINEAR</code>: A <i>linear</i> deployment strategy
|
|
181
181
|
* (<code>LINEAR</code>) gradually shifts traffic from the current
|
|
182
182
|
* production environment to a new environment in equal percentage
|
|
183
|
-
* increments
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* traffic.</p>
|
|
183
|
+
* increments. With Amazon ECS linear deployments, you can control the pace
|
|
184
|
+
* of traffic shifting and validate new service revisions with increasing
|
|
185
|
+
* amounts of production traffic.</p>
|
|
187
186
|
* <p>Linear deployments are best suited for the following scenarios:</p>
|
|
188
187
|
* <ul>
|
|
189
188
|
* <li>
|
|
@@ -200,7 +199,7 @@ declare const CreateServiceCommand_base: {
|
|
|
200
199
|
* </li>
|
|
201
200
|
* <li>
|
|
202
201
|
* <p>Load balancer requirement: When your service uses Application
|
|
203
|
-
* Load Balancer
|
|
202
|
+
* Load Balancer or Service Connect</p>
|
|
204
203
|
* </li>
|
|
205
204
|
* </ul>
|
|
206
205
|
* </li>
|
|
@@ -227,7 +226,7 @@ declare const CreateServiceCommand_base: {
|
|
|
227
226
|
* </li>
|
|
228
227
|
* <li>
|
|
229
228
|
* <p>Load balancer requirement: When your service uses Application
|
|
230
|
-
* Load Balancer
|
|
229
|
+
* Load Balancer or Service Connect</p>
|
|
231
230
|
* </li>
|
|
232
231
|
* </ul>
|
|
233
232
|
* </li>
|
|
@@ -2063,8 +2063,8 @@ export interface DeploymentAlarms {
|
|
|
2063
2063
|
enable: boolean | undefined;
|
|
2064
2064
|
}
|
|
2065
2065
|
/**
|
|
2066
|
-
* <p>Configuration for canary deployment strategy that shifts a fixed percentage of traffic
|
|
2067
|
-
*
|
|
2066
|
+
* <p>Configuration for a canary deployment strategy that shifts a fixed percentage of traffic to
|
|
2067
|
+
* the new service revision, waits for a specified bake time, then shifts the remaining
|
|
2068
2068
|
* traffic. </p>
|
|
2069
2069
|
* <p>This is only valid when you run <code>CreateService</code> or
|
|
2070
2070
|
* <code>UpdateService</code> with <code>deploymentController</code> set to
|
|
@@ -2074,8 +2074,7 @@ export interface DeploymentAlarms {
|
|
|
2074
2074
|
*/
|
|
2075
2075
|
export interface CanaryConfiguration {
|
|
2076
2076
|
/**
|
|
2077
|
-
* <p>The percentage of production traffic to shift to the new service revision during the
|
|
2078
|
-
* canary phase. Valid values are 0.1 to 100.0. The default value is 5.0.</p>
|
|
2077
|
+
* <p>The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are multiples of 0.1 from 0.1 to 100.0. The default value is 5.0.</p>
|
|
2079
2078
|
* @public
|
|
2080
2079
|
*/
|
|
2081
2080
|
canaryPercent?: number | undefined;
|
|
@@ -2217,15 +2216,13 @@ export interface DeploymentLifecycleHook {
|
|
|
2217
2216
|
*/
|
|
2218
2217
|
export interface LinearConfiguration {
|
|
2219
2218
|
/**
|
|
2220
|
-
* <p>The percentage of production traffic to shift in each step during a linear deployment.
|
|
2221
|
-
*
|
|
2219
|
+
* <p>The percentage of production traffic to shift in each step during a linear deployment. Valid
|
|
2220
|
+
* values are multiples of 0.1 from 3.0 to 100.0. The default value is 10.0.</p>
|
|
2222
2221
|
* @public
|
|
2223
2222
|
*/
|
|
2224
2223
|
stepPercent?: number | undefined;
|
|
2225
2224
|
/**
|
|
2226
|
-
* <p>The amount of time in minutes to wait between each traffic shifting step during a
|
|
2227
|
-
* linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is
|
|
2228
|
-
* 6. This bake time is not applied after reaching 100% traffic.</p>
|
|
2225
|
+
* <p>The amount of time in minutes to wait between each traffic shifting step during a linear deployment. Valid values are 0 to 1440 minutes (24 hours). The default value is 6. This bake time is not applied after reaching 100 percent traffic.</p>
|
|
2229
2226
|
* @public
|
|
2230
2227
|
*/
|
|
2231
2228
|
stepBakeTimeInMinutes?: number | undefined;
|
|
@@ -2406,6 +2403,22 @@ export interface DeploymentConfiguration {
|
|
|
2406
2403
|
* production traffic to them. This approach provides a safer way to deploy changes with
|
|
2407
2404
|
* the ability to quickly roll back if needed.</p>
|
|
2408
2405
|
* </li>
|
|
2406
|
+
* <li>
|
|
2407
|
+
* <p>
|
|
2408
|
+
* <code>LINEAR</code> - A <i>linear</i> deployment strategy
|
|
2409
|
+
* (<code>LINEAR</code>) gradually shifts traffic from the current production
|
|
2410
|
+
* environment to a new environment in equal percentages over time. With Amazon ECS linear
|
|
2411
|
+
* deployments, you can control the pace of traffic shifting and validate new service
|
|
2412
|
+
* revisions with increasing amounts of production traffic.</p>
|
|
2413
|
+
* </li>
|
|
2414
|
+
* <li>
|
|
2415
|
+
* <p>
|
|
2416
|
+
* <code>CANARY</code> - A <i>canary</i> deployment strategy
|
|
2417
|
+
* (<code>CANARY</code>) shifts a small percentage of traffic to the new service
|
|
2418
|
+
* revision first, then shifts the remaining traffic all at once after a specified
|
|
2419
|
+
* time period. This allows you to test the new version with a subset of users before
|
|
2420
|
+
* full deployment.</p>
|
|
2421
|
+
* </li>
|
|
2409
2422
|
* </ul>
|
|
2410
2423
|
* @public
|
|
2411
2424
|
*/
|
|
@@ -2693,7 +2706,7 @@ export interface AwsVpcConfiguration {
|
|
|
2693
2706
|
* <ul>
|
|
2694
2707
|
* <li>
|
|
2695
2708
|
* <p>When you use <code>create-service</code> or <code>update-service</code>, the
|
|
2696
|
-
*
|
|
2709
|
+
* default is <code>DISABLED</code>. </p>
|
|
2697
2710
|
* </li>
|
|
2698
2711
|
* <li>
|
|
2699
2712
|
* <p>When the service <code>deploymentController</code> is <code>ECS</code>, the
|
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.
|
|
4
|
+
"version": "3.923.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",
|