amazonka-globalaccelerator-2.0: Amazon Global Accelerator 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.GlobalAccelerator.Types.PortMapping

Description

 
Synopsis

Documentation

data PortMapping Source #

Returns the ports and associated IP addresses and ports of Amazon EC2 instances in your virtual private cloud (VPC) subnets. Custom routing is a port mapping protocol in Global Accelerator that statically associates port ranges with VPC subnets, which allows Global Accelerator to route to specific instances and ports within one or more subnets.

See: newPortMapping smart constructor.

Constructors

PortMapping' 

Fields

Instances

Instances details
FromJSON PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Generic PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Associated Types

type Rep PortMapping :: Type -> Type #

Read PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Show PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

NFData PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Methods

rnf :: PortMapping -> () #

Eq PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Hashable PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

type Rep PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

type Rep PortMapping = D1 ('MetaData "PortMapping" "Amazonka.GlobalAccelerator.Types.PortMapping" "amazonka-globalaccelerator-2.0-5CEURNOKFgU1mORtBGQfFs" 'False) (C1 ('MetaCons "PortMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "acceleratorPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "destinationSocketAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SocketAddress)) :*: S1 ('MetaSel ('Just "destinationTrafficState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRoutingDestinationTrafficState)))) :*: (S1 ('MetaSel ('Just "endpointGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "protocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty CustomRoutingProtocol)))))))

newPortMapping :: PortMapping Source #

Create a value of PortMapping 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:acceleratorPort:PortMapping', portMapping_acceleratorPort - The accelerator port.

$sel:destinationSocketAddress:PortMapping', portMapping_destinationSocketAddress - The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

$sel:destinationTrafficState:PortMapping', portMapping_destinationTrafficState - Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.

$sel:endpointGroupArn:PortMapping', portMapping_endpointGroupArn - The Amazon Resource Name (ARN) of the endpoint group.

$sel:endpointId:PortMapping', portMapping_endpointId - The IP address of the VPC subnet (the subnet ID).

$sel:protocols:PortMapping', portMapping_protocols - The protocols supported by the endpoint group.

portMapping_destinationSocketAddress :: Lens' PortMapping (Maybe SocketAddress) Source #

The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

portMapping_destinationTrafficState :: Lens' PortMapping (Maybe CustomRoutingDestinationTrafficState) Source #

Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.

portMapping_endpointGroupArn :: Lens' PortMapping (Maybe Text) Source #

The Amazon Resource Name (ARN) of the endpoint group.

portMapping_endpointId :: Lens' PortMapping (Maybe Text) Source #

The IP address of the VPC subnet (the subnet ID).

portMapping_protocols :: Lens' PortMapping (Maybe (NonEmpty CustomRoutingProtocol)) Source #

The protocols supported by the endpoint group.