Struct aws_sdk_codedeploy::types::DeploymentConfigInfo
source · #[non_exhaustive]pub struct DeploymentConfigInfo {
pub deployment_config_id: Option<String>,
pub deployment_config_name: Option<String>,
pub minimum_healthy_hosts: Option<MinimumHealthyHosts>,
pub create_time: Option<DateTime>,
pub compute_platform: Option<ComputePlatform>,
pub traffic_routing_config: Option<TrafficRoutingConfig>,
pub zonal_config: Option<ZonalConfig>,
}
Expand description
Information about a deployment configuration.
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.deployment_config_id: Option<String>
The deployment configuration ID.
deployment_config_name: Option<String>
The deployment configuration name.
minimum_healthy_hosts: Option<MinimumHealthyHosts>
Information about the number or percentage of minimum healthy instances.
create_time: Option<DateTime>
The time at which the deployment configuration was created.
compute_platform: Option<ComputePlatform>
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
traffic_routing_config: Option<TrafficRoutingConfig>
The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or Amazon ECS compute platform only.
zonal_config: Option<ZonalConfig>
Information about a zonal configuration.
Implementations§
source§impl DeploymentConfigInfo
impl DeploymentConfigInfo
sourcepub fn deployment_config_id(&self) -> Option<&str>
pub fn deployment_config_id(&self) -> Option<&str>
The deployment configuration ID.
sourcepub fn deployment_config_name(&self) -> Option<&str>
pub fn deployment_config_name(&self) -> Option<&str>
The deployment configuration name.
sourcepub fn minimum_healthy_hosts(&self) -> Option<&MinimumHealthyHosts>
pub fn minimum_healthy_hosts(&self) -> Option<&MinimumHealthyHosts>
Information about the number or percentage of minimum healthy instances.
sourcepub fn create_time(&self) -> Option<&DateTime>
pub fn create_time(&self) -> Option<&DateTime>
The time at which the deployment configuration was created.
sourcepub fn compute_platform(&self) -> Option<&ComputePlatform>
pub fn compute_platform(&self) -> Option<&ComputePlatform>
The destination platform type for the deployment (Lambda
, Server
, or ECS
).
sourcepub fn traffic_routing_config(&self) -> Option<&TrafficRoutingConfig>
pub fn traffic_routing_config(&self) -> Option<&TrafficRoutingConfig>
The configuration that specifies how the deployment traffic is routed. Used for deployments with a Lambda or Amazon ECS compute platform only.
sourcepub fn zonal_config(&self) -> Option<&ZonalConfig>
pub fn zonal_config(&self) -> Option<&ZonalConfig>
Information about a zonal configuration.
source§impl DeploymentConfigInfo
impl DeploymentConfigInfo
sourcepub fn builder() -> DeploymentConfigInfoBuilder
pub fn builder() -> DeploymentConfigInfoBuilder
Creates a new builder-style object to manufacture DeploymentConfigInfo
.
Trait Implementations§
source§impl Clone for DeploymentConfigInfo
impl Clone for DeploymentConfigInfo
source§fn clone(&self) -> DeploymentConfigInfo
fn clone(&self) -> DeploymentConfigInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentConfigInfo
impl Debug for DeploymentConfigInfo
source§impl PartialEq for DeploymentConfigInfo
impl PartialEq for DeploymentConfigInfo
source§fn eq(&self, other: &DeploymentConfigInfo) -> bool
fn eq(&self, other: &DeploymentConfigInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeploymentConfigInfo
Auto Trait Implementations§
impl Freeze for DeploymentConfigInfo
impl RefUnwindSafe for DeploymentConfigInfo
impl Send for DeploymentConfigInfo
impl Sync for DeploymentConfigInfo
impl Unpin for DeploymentConfigInfo
impl UnwindSafe for DeploymentConfigInfo
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