amazonka-codedeploy-2.0: Amazon CodeDeploy SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

  • 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.

  • 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.

Instances

Instances details
FromJSON TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

ToJSON 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 #

Read TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Show TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

NFData TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Methods

rnf :: TargetGroupPairInfo -> () #

Eq TargetGroupPairInfo Source # 
Instance details

Defined in Amazonka.CodeDeploy.Types.TargetGroupPairInfo

Hashable 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" "amazonka-codedeploy-2.0-4OehMEUeOr9G9ZXD2VmvAo" 'False) (C1 ('MetaCons "TargetGroupPairInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "prodTrafficRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrafficRoute)) :*: (S1 ('MetaSel ('Just "targetGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetGroupInfo])) :*: S1 ('MetaSel ('Just "testTrafficRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TrafficRoute)))))

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.