Struct aws_sdk_codedeploy::model::TargetGroupPairInfo [−][src]
#[non_exhaustive]pub struct TargetGroupPairInfo {
pub target_groups: Option<Vec<TargetGroupInfo>>,
pub prod_traffic_route: Option<TrafficRoute>,
pub test_traffic_route: Option<TrafficRoute>,
}
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.
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.target_groups: Option<Vec<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.
prod_traffic_route: Option<TrafficRoute>
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
test_traffic_route: 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.
Implementations
Creates a new builder-style object to manufacture TargetGroupPairInfo
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more