Struct rusoto_ecs::DeploymentController
source · [−]pub struct DeploymentController {
pub type_: String,
}
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
type_: String
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. - CODEDEPLOY
-
The blue/green (
CODEDEPLOY
) 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.
Trait Implementations
sourceimpl Clone for DeploymentController
impl Clone for DeploymentController
sourcefn clone(&self) -> DeploymentController
fn clone(&self) -> DeploymentController
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeploymentController
impl Debug for DeploymentController
sourceimpl Default for DeploymentController
impl Default for DeploymentController
sourcefn default() -> DeploymentController
fn default() -> DeploymentController
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeploymentController
impl<'de> Deserialize<'de> for DeploymentController
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DeploymentController> for DeploymentController
impl PartialEq<DeploymentController> for DeploymentController
sourcefn eq(&self, other: &DeploymentController) -> bool
fn eq(&self, other: &DeploymentController) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DeploymentController) -> bool
fn ne(&self, other: &DeploymentController) -> bool
This method tests for !=
.
sourceimpl Serialize for DeploymentController
impl Serialize for DeploymentController
impl StructuralPartialEq for DeploymentController
Auto Trait Implementations
impl RefUnwindSafe for DeploymentController
impl Send for DeploymentController
impl Sync for DeploymentController
impl Unpin for DeploymentController
impl UnwindSafe for DeploymentController
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more