Amazon Elastic Container Service Service DeploymentConfiguration
DeploymentConfiguration
is a property of the AWS::ECS::Service resource that configures how many tasks run when you update a running Amazon Elastic
Container Service (Amazon ECS) service.
Syntax
JSON
{ "
MaximumPercent
" :Integer
, "MinimumHealthyPercent
" :Integer
}
YAML
MaximumPercent
:Integer
MinimumHealthyPercent
:Integer
Properties
MaximumPercent
-
The maximum number of tasks, specified as a percentage of the Amazon ECS service's
DesiredCount
value, that can run in a service during a deployment. To calculate the maximum number of tasks, Amazon ECS uses this formula: the value ofDesiredCount
* (the value of theMaximumPercent
/100), rounded down to the nearest integer value.Required: No
Type: Integer
MinimumHealthyPercent
-
The minimum number of tasks, specified as a percentage of the Amazon ECS service's
DesiredCount
value, that must continue to run and remain healthy during a deployment. To calculate the minimum number of tasks, Amazon ECS uses this formula: the value ofDesiredCount
* (the value of theMinimumHealthyPercent
/100), rounded up to the nearest integer value.Required: No
Type: Integer