Class: Aws::ECS::Types::DeploymentController
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::DeploymentController
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ecs/types.rb
Overview
Note:
When making an API call, you may pass DeploymentController data as a hash:
{
type: "ECS", # required, accepts ECS, CODE_DEPLOY
}
The deployment controller to use for the service. For more information, see [Amazon ECS Deployment Types] in the *Amazon Elastic Container Service Developer Guide*.
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
Instance Attribute Summary collapse
-
#type ⇒ String
The deployment controller type to use.
Instance Attribute Details
#type ⇒ String
The deployment controller type to use.
There are two deployment controller types available:
ECS
: The rolling update (‘ECS`) deployment type involves replacing the
current running version of the container with the latest version.
The number of containers Amazon ECS adds or removes from the
service during a rolling update is controlled by adjusting the
minimum and maximum number of healthy tasks allowed during a
service deployment, as specified in the DeploymentConfiguration.
CODE_DEPLOY
: The blue/green (‘CODE_DEPLOY`) deployment type uses the blue/green
deployment model powered by AWS CodeDeploy, which allows you to
verify a new deployment of a service before sending production
traffic to it. For more information, see [Amazon ECS Deployment
Types][1] in the *Amazon Elastic Container Service Developer
Guide*.
[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html
2286 2287 2288 2289 |
# File 'lib/aws-sdk-ecs/types.rb', line 2286 class DeploymentController < Struct.new( :type) include Aws::Structure end |