Struct aws_sdk_ecs::types::DeploymentController
source · #[non_exhaustive]pub struct DeploymentController {
pub type: DeploymentControllerType,
}
Expand description
The deployment controller to use for the service. For more information, see Amazon ECS deployment types in the Amazon Elastic Container Service Developer Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type: DeploymentControllerType
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 theDeploymentConfiguration
. - 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. - 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.
Implementations§
source§impl DeploymentController
impl DeploymentController
sourcepub fn type(&self) -> &DeploymentControllerType
pub fn type(&self) -> &DeploymentControllerType
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 theDeploymentConfiguration
. - 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. - 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.
source§impl DeploymentController
impl DeploymentController
sourcepub fn builder() -> DeploymentControllerBuilder
pub fn builder() -> DeploymentControllerBuilder
Creates a new builder-style object to manufacture DeploymentController
.
Trait Implementations§
source§impl Clone for DeploymentController
impl Clone for DeploymentController
source§fn clone(&self) -> DeploymentController
fn clone(&self) -> DeploymentController
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentController
impl Debug for DeploymentController
source§impl PartialEq for DeploymentController
impl PartialEq for DeploymentController
source§fn eq(&self, other: &DeploymentController) -> bool
fn eq(&self, other: &DeploymentController) -> bool
self
and other
values to be equal, and is used
by ==
.