Struct aws_sdk_codedeploy::types::TargetGroupInfo
source · #[non_exhaustive]pub struct TargetGroupInfo {
pub name: Option<String>,
}
Expand description
Information about a target group in Elastic Load Balancing to use in a deployment. Instances are registered as targets in a target group, and traffic is routed to the target group.
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.name: Option<String>
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
Implementations§
source§impl TargetGroupInfo
impl TargetGroupInfo
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
For blue/green deployments, the name of the target group that instances in the original environment are deregistered from, and instances in the replacement environment are registered with. For in-place deployments, the name of the target group that instances are deregistered from, so they are not serving traffic during a deployment, and then re-registered with after the deployment is complete.
source§impl TargetGroupInfo
impl TargetGroupInfo
sourcepub fn builder() -> TargetGroupInfoBuilder
pub fn builder() -> TargetGroupInfoBuilder
Creates a new builder-style object to manufacture TargetGroupInfo
.
Trait Implementations§
source§impl Clone for TargetGroupInfo
impl Clone for TargetGroupInfo
source§fn clone(&self) -> TargetGroupInfo
fn clone(&self) -> TargetGroupInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetGroupInfo
impl Debug for TargetGroupInfo
source§impl PartialEq for TargetGroupInfo
impl PartialEq for TargetGroupInfo
source§fn eq(&self, other: &TargetGroupInfo) -> bool
fn eq(&self, other: &TargetGroupInfo) -> bool
self
and other
values to be equal, and is used
by ==
.