@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentController extends Object implements Serializable, Cloneable, StructuredPojo
The deployment controller to use for the service. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.
Constructor and Description |
---|
DeploymentController() |
Modifier and Type | Method and Description |
---|---|
DeploymentController |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The deployment controller type to use.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The deployment controller type to use.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentController |
withType(DeploymentControllerType type)
The deployment controller type to use.
|
DeploymentController |
withType(String type)
The deployment controller type to use.
|
public void setType(String type)
The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
type
- The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
DeploymentControllerType
public String getType()
The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
There are three deployment controller types available:
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.
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.
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.
DeploymentControllerType
public DeploymentController withType(String type)
The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
type
- The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
DeploymentControllerType
public DeploymentController withType(DeploymentControllerType type)
The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
type
- The deployment controller type to use.
There are three deployment controller types available:
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.
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.
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.
DeploymentControllerType
public String toString()
toString
in class Object
Object.toString()
public DeploymentController clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.