#[non_exhaustive]pub struct AwsEcsServiceDeploymentControllerDetails {
pub type: Option<String>,
}
Expand description
Information about the deployment controller type that the service uses.
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: Option<String>
The rolling update (ECS
) deployment type replaces the current running version of the container with the latest version.
The blue/green (CODE_DEPLOY
) deployment type uses the blue/green deployment model that is powered by CodeDeploy. This deployment model a new deployment of a service can be verified before production traffic is sent to it.
The external (EXTERNAL
) deployment type allows the use of any third-party deployment controller for full control over the deployment process for an Amazon ECS service.
Valid values: ECS
| CODE_DEPLOY
| EXTERNAL
Implementations§
source§impl AwsEcsServiceDeploymentControllerDetails
impl AwsEcsServiceDeploymentControllerDetails
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The rolling update (ECS
) deployment type replaces the current running version of the container with the latest version.
The blue/green (CODE_DEPLOY
) deployment type uses the blue/green deployment model that is powered by CodeDeploy. This deployment model a new deployment of a service can be verified before production traffic is sent to it.
The external (EXTERNAL
) deployment type allows the use of any third-party deployment controller for full control over the deployment process for an Amazon ECS service.
Valid values: ECS
| CODE_DEPLOY
| EXTERNAL
source§impl AwsEcsServiceDeploymentControllerDetails
impl AwsEcsServiceDeploymentControllerDetails
sourcepub fn builder() -> AwsEcsServiceDeploymentControllerDetailsBuilder
pub fn builder() -> AwsEcsServiceDeploymentControllerDetailsBuilder
Creates a new builder-style object to manufacture AwsEcsServiceDeploymentControllerDetails
.
Trait Implementations§
source§impl Clone for AwsEcsServiceDeploymentControllerDetails
impl Clone for AwsEcsServiceDeploymentControllerDetails
source§fn clone(&self) -> AwsEcsServiceDeploymentControllerDetails
fn clone(&self) -> AwsEcsServiceDeploymentControllerDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsEcsServiceDeploymentControllerDetails
impl PartialEq for AwsEcsServiceDeploymentControllerDetails
source§fn eq(&self, other: &AwsEcsServiceDeploymentControllerDetails) -> bool
fn eq(&self, other: &AwsEcsServiceDeploymentControllerDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEcsServiceDeploymentControllerDetails
Auto Trait Implementations§
impl Freeze for AwsEcsServiceDeploymentControllerDetails
impl RefUnwindSafe for AwsEcsServiceDeploymentControllerDetails
impl Send for AwsEcsServiceDeploymentControllerDetails
impl Sync for AwsEcsServiceDeploymentControllerDetails
impl Unpin for AwsEcsServiceDeploymentControllerDetails
impl UnwindSafe for AwsEcsServiceDeploymentControllerDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more