Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TargetGroupPairInfo = TargetGroupPairInfo' {}
- newTargetGroupPairInfo :: TargetGroupPairInfo
- targetGroupPairInfo_prodTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
- targetGroupPairInfo_testTrafficRoute :: Lens' TargetGroupPairInfo (Maybe TrafficRoute)
- targetGroupPairInfo_targetGroups :: Lens' TargetGroupPairInfo (Maybe [TargetGroupInfo])
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.
TargetGroupPairInfo' | |
|
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: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.
$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.
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_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.
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.