libZSservicesZSamazonka-appmeshZSamazonka-appmesh
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.AppMesh.Types.TcpRouteAction

Description

 
Synopsis

Documentation

data TcpRouteAction Source #

An object that represents the action to take if a match is determined.

See: newTcpRouteAction smart constructor.

Constructors

TcpRouteAction' 

Fields

Instances

Instances details
Eq TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

Read TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

Show TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

Generic TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

Associated Types

type Rep TcpRouteAction :: Type -> Type #

NFData TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

Methods

rnf :: TcpRouteAction -> () #

Hashable TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

ToJSON TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

FromJSON TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

type Rep TcpRouteAction Source # 
Instance details

Defined in Amazonka.AppMesh.Types.TcpRouteAction

type Rep TcpRouteAction = D1 ('MetaData "TcpRouteAction" "Amazonka.AppMesh.Types.TcpRouteAction" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "TcpRouteAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "weightedTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty WeightedTarget))))

newTcpRouteAction Source #

Create a value of TcpRouteAction 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:weightedTargets:TcpRouteAction', tcpRouteAction_weightedTargets - An object that represents the targets that traffic is routed to when a request matches the route.

tcpRouteAction_weightedTargets :: Lens' TcpRouteAction (NonEmpty WeightedTarget) Source #

An object that represents the targets that traffic is routed to when a request matches the route.