@aws-sdk/client-ecs 3.542.0 → 3.547.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.
@@ -1287,6 +1287,15 @@ export interface DeploymentConfiguration {
1287
1287
  * the task towards the minimum healthy percent total.</p>
1288
1288
  * </li>
1289
1289
  * </ul>
1290
+ * <p>The default value for a replica service for
1291
+ * <code>minimumHealthyPercent</code> is 100%. The default
1292
+ * <code>minimumHealthyPercent</code> value for a service using
1293
+ * the <code>DAEMON</code> service schedule is 0% for the CLI,
1294
+ * the Amazon Web Services SDKs, and the APIs and 50% for the Amazon Web Services Management Console.</p>
1295
+ * <p>The minimum number of healthy tasks during a deployment is the
1296
+ * <code>desiredCount</code> multiplied by the
1297
+ * <code>minimumHealthyPercent</code>/100, rounded up to the
1298
+ * nearest integer value.</p>
1290
1299
  * <p>If a service is using either the blue/green (<code>CODE_DEPLOY</code>) or
1291
1300
  * <code>EXTERNAL</code> deployment types and is running tasks that use the
1292
1301
  * EC2 launch type, the <b>minimum healthy
@@ -10464,22 +10473,17 @@ export interface RunTaskRequest {
10464
10473
  * <p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or
10465
10474
  * full ARN of the task definition to run. If a <code>revision</code> isn't specified,
10466
10475
  * the latest <code>ACTIVE</code> revision is used.</p>
10467
- * <p>When you create a policy for run-task, you can set the resource to be the latest task
10468
- * definition revision, or a specific revision.</p>
10469
10476
  * <p>The full ARN value must match the value that you specified as the
10470
10477
  * <code>Resource</code> of the principal's permissions policy.</p>
10471
- * <p>When you specify the policy resource as the latest task definition version (by setting
10472
- * the <code>Resource</code> in the policy to
10473
- * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>),
10474
- * then set this value to
10475
- * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName</code>.</p>
10476
- * <p>When you specify the policy resource as a specific task definition version (by setting
10477
- * the <code>Resource</code> in the policy to
10478
- * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code> or
10479
- * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>),
10480
- * then set this value to
10481
- * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:1</code>.</p>
10482
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service developer Guide.</p>
10478
+ * <p>When you specify a task definition, you must either specify a specific revision, or
10479
+ * all revisions in the ARN.</p>
10480
+ * <p>To specify a specific revision, include the revision number in the ARN. For example,
10481
+ * to specify revision 2, use
10482
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:2</code>.</p>
10483
+ * <p>To specify all revisions, use the wildcard (*) in the ARN. For example, to specify all
10484
+ * revisions, use
10485
+ * <code>arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*</code>.</p>
10486
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-resources">Policy Resources for Amazon ECS</a> in the Amazon Elastic Container Service Developer Guide.</p>
10483
10487
  * @public
10484
10488
  */
10485
10489
  taskDefinition: string | undefined;
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.542.0",
4
+ "version": "3.547.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",