pub struct TargetGroupPairInfo {
pub prod_traffic_route: Option<TrafficRoute>,
pub target_groups: Option<Vec<TargetGroupInfo>>,
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§
§prod_traffic_route: Option<TrafficRoute>The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
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.
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.
Trait Implementations§
Source§impl Clone for TargetGroupPairInfo
impl Clone for TargetGroupPairInfo
Source§fn clone(&self) -> TargetGroupPairInfo
fn clone(&self) -> TargetGroupPairInfo
Returns a duplicate 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 Default for TargetGroupPairInfo
impl Default for TargetGroupPairInfo
Source§fn default() -> TargetGroupPairInfo
fn default() -> TargetGroupPairInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetGroupPairInfo
impl<'de> Deserialize<'de> for TargetGroupPairInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TargetGroupPairInfo
impl PartialEq for TargetGroupPairInfo
Source§impl Serialize for TargetGroupPairInfo
impl Serialize for TargetGroupPairInfo
impl StructuralPartialEq for TargetGroupPairInfo
Auto Trait Implementations§
impl Freeze for TargetGroupPairInfo
impl RefUnwindSafe for TargetGroupPairInfo
impl Send for TargetGroupPairInfo
impl Sync for TargetGroupPairInfo
impl Unpin for TargetGroupPairInfo
impl UnwindSafe for TargetGroupPairInfo
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
Mutably borrows from an owned value. Read more