Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PortMapping = PortMapping' {}
- newPortMapping :: PortMapping
- portMapping_destinationSocketAddress :: Lens' PortMapping (Maybe SocketAddress)
- portMapping_protocols :: Lens' PortMapping (Maybe (NonEmpty CustomRoutingProtocol))
- portMapping_endpointGroupArn :: Lens' PortMapping (Maybe Text)
- portMapping_endpointId :: Lens' PortMapping (Maybe Text)
- portMapping_destinationTrafficState :: Lens' PortMapping (Maybe CustomRoutingDestinationTrafficState)
- portMapping_acceleratorPort :: Lens' PortMapping (Maybe Natural)
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.
PortMapping' | |
|
Instances
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.
portMapping_acceleratorPort :: Lens' PortMapping (Maybe Natural) Source #
The accelerator port.