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§
source§impl 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.
source§impl TargetGroupPairInfo
impl TargetGroupPairInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetGroupPairInfo
.
Trait Implementations§
source§impl Clone for TargetGroupPairInfo
impl Clone for TargetGroupPairInfo
source§fn clone(&self) -> TargetGroupPairInfo
fn clone(&self) -> TargetGroupPairInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TargetGroupPairInfo
impl Debug for TargetGroupPairInfo
source§impl PartialEq<TargetGroupPairInfo> for TargetGroupPairInfo
impl PartialEq<TargetGroupPairInfo> for TargetGroupPairInfo
source§fn 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 ==
.