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 ==
.impl StructuralPartialEq for TargetGroupInfo
Auto Trait Implementations§
impl Freeze for TargetGroupInfo
impl RefUnwindSafe for TargetGroupInfo
impl Send for TargetGroupInfo
impl Sync for TargetGroupInfo
impl Unpin for TargetGroupInfo
impl UnwindSafe for TargetGroupInfo
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