libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Description

 
Synopsis

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

  • prodTrafficRoute :: Maybe TrafficRoute

    The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.

  • testTrafficRoute :: Maybe 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.

  • targetGroups :: Maybe [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.

Instances

Instances details
Eq TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Read TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Show TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Generic TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Associated Types

type Rep TargetGroupPairInfo :: Type -> Type #

NFData TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Methods

rnf :: TargetGroupPairInfo -> () #

Hashable TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

ToJSON TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

FromJSON TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

type Rep TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

type Rep TargetGroupPairInfo = D1 ('MetaData "TargetGroupPairInfo" "Amazonka.CodeDeploy.Types.TargetGroupPairInfo" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "TargetGroupPairInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prodTrafficRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrafficRoute)) :*: (S1 ('MetaSel ('Just "testTrafficRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrafficRoute)) :*: S1 ('MetaSel ('Just "targetGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetGroupInfo])))))

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.