AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Optional deployment parameters that control how many tasks run during a deployment and the ordering of stopping and starting tasks.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class DeploymentConfiguration
The DeploymentConfiguration type exposes the following members
Name | Description | |
---|---|---|
DeploymentConfiguration() |
Name | Type | Description | |
---|---|---|---|
Alarms | Amazon.ECS.Model.DeploymentAlarms |
Gets and sets the property Alarms. Information about the CloudWatch alarms. |
|
DeploymentCircuitBreaker | Amazon.ECS.Model.DeploymentCircuitBreaker |
Gets and sets the property DeploymentCircuitBreaker.
The deployment circuit breaker can only be used for services using the rolling update
( The deployment circuit breaker determines whether a service deployment will fail if the service can't reach a steady state. If you use the deployment circuit breaker, a service deployment will transition to a failed state and stop launching new tasks. If you use the rollback option, when a service deployment fails, the service is rolled back to the last deployment that completed successfully. For more information, see Rolling update in the Amazon Elastic Container Service Developer Guide |
|
MaximumPercent | System.Int32 |
Gets and sets the property MaximumPercent.
If a service is using the rolling update (
If a service is using either the blue/green (
You can't specify a custom If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service. |
|
MinimumHealthyPercent | System.Int32 |
Gets and sets the property MinimumHealthyPercent.
If a service is using the rolling update ( For services that do not use a load balancer, the following should be noted:
For services that do use a load balancer, the following should be noted:
The default value for a replica service for
The minimum number of healthy tasks during a deployment is the
If a service is using either the blue/green (
You can't specify a custom
If a service is using either the blue/green ( |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5