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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DeploymentController as input to an Aws::Client method, you can use a vanilla Hash:

{
  type: "ECS", # required, accepts ECS, CODE_DEPLOY, EXTERNAL
}

The deployment controller to use for the service. For more information, see Amazon ECS Deployment Types in the Amazon Elastic Container Service Developer Guide.

Returned by:

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.

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.

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.

Possible values:

  • ECS
  • CODE_DEPLOY
  • EXTERNAL

Returns:

  • (String)

    The deployment controller type to use.