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>,
}
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 instance.
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.
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 instance.
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.
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 ==
.