You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECS::Types::DeploymentConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeploymentConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  maximum_percent: 1,
  minimum_healthy_percent: 1,
}

Optional deployment parameters that control how many tasks run during the deployment and the ordering of stopping and starting tasks.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#maximum_percentInteger

The upper limit (as a percentage of the service\'s desiredCount) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment. The maximum number of tasks during a deployment is the desiredCount multiplied by maximumPercent/100, rounded down to the nearest integer value.

Returns:

  • (Integer)

    The upper limit (as a percentage of the service\'s desiredCount) of the number of tasks that are allowed in the RUNNING or PENDING state in a service during a deployment.

#minimum_healthy_percentInteger

The lower limit (as a percentage of the service\'s desiredCount) of the number of running tasks that must remain in the RUNNING state in a service during a deployment. The minimum healthy tasks during a deployment is the desiredCount multiplied by minimumHealthyPercent/100, rounded up to the nearest integer value.

Returns:

  • (Integer)

    The lower limit (as a percentage of the service\'s desiredCount) of the number of running tasks that must remain in the RUNNING state in a service during a deployment.