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

Description

 
Synopsis

Documentation

data DestinationPortMapping Source #

The port mappings for a specified endpoint IP address (destination).

See: newDestinationPortMapping smart constructor.

Constructors

DestinationPortMapping' 

Fields

Instances

Instances details
Eq DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

Read DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

Show DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

Generic DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

Associated Types

type Rep DestinationPortMapping :: Type -> Type #

NFData DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

Methods

rnf :: DestinationPortMapping -> () #

Hashable DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

FromJSON DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

type Rep DestinationPortMapping Source # 
Instance details

Defined in Amazonka.GlobalAccelerator.Types.DestinationPortMapping

type Rep DestinationPortMapping = D1 ('MetaData "DestinationPortMapping" "Amazonka.GlobalAccelerator.Types.DestinationPortMapping" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "DestinationPortMapping'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "destinationSocketAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SocketAddress)) :*: S1 ('MetaSel ('Just "acceleratorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endpointGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointGroupRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "ipAddressType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IpAddressType)) :*: S1 ('MetaSel ('Just "acceleratorSocketAddresses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SocketAddress]))) :*: (S1 ('MetaSel ('Just "endpointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationTrafficState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomRoutingDestinationTrafficState))))))

newDestinationPortMapping :: DestinationPortMapping Source #

Create a value of DestinationPortMapping 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:DestinationPortMapping', destinationPortMapping_destinationSocketAddress - The endpoint IP address/port combination for traffic received on the accelerator socket address.

$sel:acceleratorArn:DestinationPortMapping', destinationPortMapping_acceleratorArn - The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.

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

$sel:endpointGroupRegion:DestinationPortMapping', destinationPortMapping_endpointGroupRegion - The AWS Region for the endpoint group.

$sel:ipAddressType:DestinationPortMapping', destinationPortMapping_ipAddressType - The IP address type, which must be IPv4.

$sel:acceleratorSocketAddresses:DestinationPortMapping', destinationPortMapping_acceleratorSocketAddresses - The IP address/port combinations (sockets) that map to a given destination socket address.

$sel:endpointId:DestinationPortMapping', destinationPortMapping_endpointId - The ID for the virtual private cloud (VPC) subnet.

$sel:destinationTrafficState:DestinationPortMapping', destinationPortMapping_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.

destinationPortMapping_destinationSocketAddress :: Lens' DestinationPortMapping (Maybe SocketAddress) Source #

The endpoint IP address/port combination for traffic received on the accelerator socket address.

destinationPortMapping_acceleratorArn :: Lens' DestinationPortMapping (Maybe Text) Source #

The Amazon Resource Name (ARN) of the custom routing accelerator that you have port mappings for.

destinationPortMapping_endpointGroupArn :: Lens' DestinationPortMapping (Maybe Text) Source #

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

destinationPortMapping_acceleratorSocketAddresses :: Lens' DestinationPortMapping (Maybe [SocketAddress]) Source #

The IP address/port combinations (sockets) that map to a given destination socket address.

destinationPortMapping_endpointId :: Lens' DestinationPortMapping (Maybe Text) Source #

The ID for the virtual private cloud (VPC) subnet.

destinationPortMapping_destinationTrafficState :: Lens' DestinationPortMapping (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.