Class: Aws::ECS::Types::DeploymentController

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

The deployment controller to use for the service.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#typeString

The deployment controller type to use.

There are three 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][1].

For more information about rolling deployments, see [Deploy Amazon
ECS services by replacing tasks][2] in the *Amazon Elastic
Container Service Developer Guide*.

CODE_DEPLOY

: The blue/green (‘CODE_DEPLOY`) deployment type uses the blue/green

deployment model powered by CodeDeploy, which allows you to verify
a new deployment of a service before sending production traffic to
it.

For more information about blue/green deployments, see [Validate
the state of an Amazon ECS service before deployment ][3] in the
*Amazon Elastic Container Service Developer Guide*.

EXTERNAL

: The external (‘EXTERNAL`) deployment type enables you to use any

third-party deployment controller for full control over the
deployment process for an Amazon ECS service.

For more information about external deployments, see [Deploy
Amazon ECS services using a third-party controller ][4] in the
*Amazon Elastic Container Service Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html [2]: docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html [3]: docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html [4]: docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-external.html

Returns:

  • (String)


4014
4015
4016
4017
4018
# File 'lib/aws-sdk-ecs/types.rb', line 4014

class DeploymentController < Struct.new(
  :type)
  SENSITIVE = []
  include Aws::Structure
end