Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data PortMapping = PortMapping' {}
- newPortMapping :: PortMapping
- portMapping_acceleratorPort :: Lens' PortMapping (Maybe Natural)
- portMapping_destinationSocketAddress :: Lens' PortMapping (Maybe SocketAddress)
- portMapping_destinationTrafficState :: Lens' PortMapping (Maybe CustomRoutingDestinationTrafficState)
- portMapping_endpointGroupArn :: Lens' PortMapping (Maybe Text)
- portMapping_endpointId :: Lens' PortMapping (Maybe Text)
- portMapping_protocols :: Lens' PortMapping (Maybe (NonEmpty CustomRoutingProtocol))
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.
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: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_acceleratorPort :: Lens' PortMapping (Maybe Natural) Source #
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_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.