libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator
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.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 AWS 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
Eq PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Read PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

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

NFData PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

Methods

rnf :: PortMapping -> () #

Hashable PortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.PortMapping

FromJSON 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" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "PortMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "destinationSocketAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SocketAddress)) :*: (S1 ('MetaSel ('Just "protocols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty CustomRoutingProtocol))) :*: S1 ('MetaSel ('Just "endpointGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "destinationTrafficState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRoutingDestinationTrafficState)) :*: S1 ('MetaSel ('Just "acceleratorPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

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:destinationSocketAddress:PortMapping', portMapping_destinationSocketAddress - The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.

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

$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: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:acceleratorPort:PortMapping', portMapping_acceleratorPort - The accelerator port.

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

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

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

The protocols supported by the endpoint group.

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