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 |
Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.
The listener port range must be large enough to support the number of IP addresses that can be specified in your subnet. The number of ports required is: subnet size times the number of ports per destination EC2 instances. For example, a subnet defined as /24 requires a listener port range of at least 255 ports.
Note: You must have enough remaining listener ports available to map to the subnet ports, or the call will fail with a LimitExceededException.
By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all destinations to receive traffic, or to specify individual port mappings that can receive traffic, see the AllowCustomRoutingTraffic operation.
Synopsis
- data AddCustomRoutingEndpoints = AddCustomRoutingEndpoints' {}
- newAddCustomRoutingEndpoints :: NonEmpty CustomRoutingEndpointConfiguration -> Text -> AddCustomRoutingEndpoints
- addCustomRoutingEndpoints_endpointConfigurations :: Lens' AddCustomRoutingEndpoints (NonEmpty CustomRoutingEndpointConfiguration)
- addCustomRoutingEndpoints_endpointGroupArn :: Lens' AddCustomRoutingEndpoints Text
- data AddCustomRoutingEndpointsResponse = AddCustomRoutingEndpointsResponse' {}
- newAddCustomRoutingEndpointsResponse :: Int -> AddCustomRoutingEndpointsResponse
- addCustomRoutingEndpointsResponse_endpointGroupArn :: Lens' AddCustomRoutingEndpointsResponse (Maybe Text)
- addCustomRoutingEndpointsResponse_endpointDescriptions :: Lens' AddCustomRoutingEndpointsResponse (Maybe [CustomRoutingEndpointDescription])
- addCustomRoutingEndpointsResponse_httpStatus :: Lens' AddCustomRoutingEndpointsResponse Int
Creating a Request
data AddCustomRoutingEndpoints Source #
See: newAddCustomRoutingEndpoints
smart constructor.
AddCustomRoutingEndpoints' | |
|
Instances
newAddCustomRoutingEndpoints Source #
Create a value of AddCustomRoutingEndpoints
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:endpointConfigurations:AddCustomRoutingEndpoints'
, addCustomRoutingEndpoints_endpointConfigurations
- The list of endpoint objects to add to a custom routing accelerator.
$sel:endpointGroupArn:AddCustomRoutingEndpoints'
, addCustomRoutingEndpoints_endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group for the custom
routing endpoint.
Request Lenses
addCustomRoutingEndpoints_endpointConfigurations :: Lens' AddCustomRoutingEndpoints (NonEmpty CustomRoutingEndpointConfiguration) Source #
The list of endpoint objects to add to a custom routing accelerator.
addCustomRoutingEndpoints_endpointGroupArn :: Lens' AddCustomRoutingEndpoints Text Source #
The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.
Destructuring the Response
data AddCustomRoutingEndpointsResponse Source #
See: newAddCustomRoutingEndpointsResponse
smart constructor.
AddCustomRoutingEndpointsResponse' | |
|
Instances
newAddCustomRoutingEndpointsResponse Source #
Create a value of AddCustomRoutingEndpointsResponse
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:endpointGroupArn:AddCustomRoutingEndpoints'
, addCustomRoutingEndpointsResponse_endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group for the custom
routing endpoint.
$sel:endpointDescriptions:AddCustomRoutingEndpointsResponse'
, addCustomRoutingEndpointsResponse_endpointDescriptions
- The endpoint objects added to the custom routing accelerator.
$sel:httpStatus:AddCustomRoutingEndpointsResponse'
, addCustomRoutingEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
addCustomRoutingEndpointsResponse_endpointGroupArn :: Lens' AddCustomRoutingEndpointsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the endpoint group for the custom routing endpoint.
addCustomRoutingEndpointsResponse_endpointDescriptions :: Lens' AddCustomRoutingEndpointsResponse (Maybe [CustomRoutingEndpointDescription]) Source #
The endpoint objects added to the custom routing accelerator.
addCustomRoutingEndpointsResponse_httpStatus :: Lens' AddCustomRoutingEndpointsResponse Int Source #
The response's http status code.