Menu
AWS CloudFormation
User Guide (API Version 2010-05-15)

Amazon EC2 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 EC2 Container Service (Amazon ECS) service.

Syntax

JSON

Copy
{ "MaximumPercent" : Integer, "MinimumHealthyPercent" : Integer }

YAML

Copy
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 of DesiredCount * (the value of the MaximumPercent/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 of DesiredCount * (the value of the MinimumHealthyPercent/100), rounded up to the nearest integer value.

Required: No

Type: Integer

On this page: