| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeDeploy.Types.TargetGroupPairInfo
Description
Synopsis
- data TargetGroupPairInfo = TargetGroupPairInfo' {}
- newTargetGroupPairInfo :: TargetGroupPairInfo
- targetGroupPairInfo_prodTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
- targetGroupPairInfo_targetGroups :: Lens' TargetGroupPairInfo (Maybe [TargetGroupInfo])
- targetGroupPairInfo_testTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
Documentation
data TargetGroupPairInfo Source #
Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.
See: newTargetGroupPairInfo smart constructor.
Constructors
| TargetGroupPairInfo' | |
Fields
| |
Instances
newTargetGroupPairInfo :: TargetGroupPairInfo Source #
Create a value of TargetGroupPairInfo with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:prodTrafficRoute:TargetGroupPairInfo', targetGroupPairInfo_prodTrafficRoute - The path used by a load balancer to route production traffic when an
Amazon ECS deployment is complete.
$sel:targetGroups:TargetGroupPairInfo', targetGroupPairInfo_targetGroups - 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.
$sel:testTrafficRoute:TargetGroupPairInfo', targetGroupPairInfo_testTrafficRoute - 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.
targetGroupPairInfo_prodTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute) Source #
The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.
targetGroupPairInfo_targetGroups :: Lens' TargetGroupPairInfo (Maybe [TargetGroupInfo]) Source #
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.
targetGroupPairInfo_testTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute) Source #
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.