Class: Aws::ECS::Types::DeploymentConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::DeploymentConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
When making an API call, you may pass DeploymentConfiguration data as a 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.
Instance Attribute Summary collapse
-
#maximum_percent ⇒ 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_percent ⇒ 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.
Instance Attribute Details
#maximum_percent ⇒ 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. The maximum number of tasks during a deployment is the `desiredCount` multiplied by `maximumPercent`/100, rounded down to the nearest integer value.
1861 1862 1863 1864 1865 |
# File 'lib/aws-sdk-ecs/types.rb', line 1861 class DeploymentConfiguration < Struct.new( :maximum_percent, :minimum_healthy_percent) include Aws::Structure end |
#minimum_healthy_percent ⇒ 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. The minimum number of healthy tasks during a deployment is the `desiredCount` multiplied by `minimumHealthyPercent`/100, rounded up to the nearest integer value.
1861 1862 1863 1864 1865 |
# File 'lib/aws-sdk-ecs/types.rb', line 1861 class DeploymentConfiguration < Struct.new( :maximum_percent, :minimum_healthy_percent) include Aws::Structure end |