Struct aws_sdk_codedeploy::model::TargetGroupPairInfo
source · [−]#[non_exhaustive]pub struct TargetGroupPairInfo { /* private fields */ }
Expand description
Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.
Implementations
sourceimpl TargetGroupPairInfo
impl TargetGroupPairInfo
sourcepub fn target_groups(&self) -> Option<&[TargetGroupInfo]>
pub fn target_groups(&self) -> Option<&[TargetGroupInfo]>
One pair of target groups. One is associated with the original task set. The second is associated with the task set that serves traffic after the deployment is complete.
sourcepub fn prod_traffic_route(&self) -> Option<&TrafficRoute>
pub fn prod_traffic_route(&self) -> Option<&TrafficRoute>
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
sourcepub fn test_traffic_route(&self) -> Option<&TrafficRoute>
pub fn test_traffic_route(&self) -> Option<&TrafficRoute>
An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a deployment.
sourceimpl TargetGroupPairInfo
impl TargetGroupPairInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetGroupPairInfo
.
Trait Implementations
sourceimpl Clone for TargetGroupPairInfo
impl Clone for TargetGroupPairInfo
sourcefn clone(&self) -> TargetGroupPairInfo
fn clone(&self) -> TargetGroupPairInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TargetGroupPairInfo
impl Debug for TargetGroupPairInfo
sourceimpl PartialEq<TargetGroupPairInfo> for TargetGroupPairInfo
impl PartialEq<TargetGroupPairInfo> for TargetGroupPairInfo
sourcefn eq(&self, other: &TargetGroupPairInfo) -> bool
fn eq(&self, other: &TargetGroupPairInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TargetGroupPairInfo) -> bool
fn ne(&self, other: &TargetGroupPairInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for TargetGroupPairInfo
Auto Trait Implementations
impl RefUnwindSafe for TargetGroupPairInfo
impl Send for TargetGroupPairInfo
impl Sync for TargetGroupPairInfo
impl Unpin for TargetGroupPairInfo
impl UnwindSafe for TargetGroupPairInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more