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 |
Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, or deny traffic to a specified list of destination IP addresses and ports. Note that you cannot specify IP addresses or ports outside of the range that you configured for the endpoint group.
After you make changes, you can verify that the updates are complete by checking the status of your accelerator: the status changes from IN_PROGRESS to DEPLOYED.
Synopsis
- data DenyCustomRoutingTraffic = DenyCustomRoutingTraffic' {}
- newDenyCustomRoutingTraffic :: Text -> Text -> DenyCustomRoutingTraffic
- denyCustomRoutingTraffic_destinationAddresses :: Lens' DenyCustomRoutingTraffic (Maybe [Text])
- denyCustomRoutingTraffic_destinationPorts :: Lens' DenyCustomRoutingTraffic (Maybe [Natural])
- denyCustomRoutingTraffic_denyAllTrafficToEndpoint :: Lens' DenyCustomRoutingTraffic (Maybe Bool)
- denyCustomRoutingTraffic_endpointGroupArn :: Lens' DenyCustomRoutingTraffic Text
- denyCustomRoutingTraffic_endpointId :: Lens' DenyCustomRoutingTraffic Text
- data DenyCustomRoutingTrafficResponse = DenyCustomRoutingTrafficResponse' {
- newDenyCustomRoutingTrafficResponse :: DenyCustomRoutingTrafficResponse
Creating a Request
data DenyCustomRoutingTraffic Source #
See: newDenyCustomRoutingTraffic
smart constructor.
DenyCustomRoutingTraffic' | |
|
Instances
newDenyCustomRoutingTraffic Source #
:: Text | |
-> Text | |
-> DenyCustomRoutingTraffic |
Create a value of DenyCustomRoutingTraffic
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:destinationAddresses:DenyCustomRoutingTraffic'
, denyCustomRoutingTraffic_destinationAddresses
- A list of specific Amazon EC2 instance IP addresses (destination
addresses) in a subnet that you want to prevent from receiving traffic.
The IP addresses must be a subset of the IP addresses allowed for the
VPC subnet associated with the endpoint group.
$sel:destinationPorts:DenyCustomRoutingTraffic'
, denyCustomRoutingTraffic_destinationPorts
- A list of specific Amazon EC2 instance ports (destination ports) in a
subnet endpoint that you want to prevent from receiving traffic.
$sel:denyAllTrafficToEndpoint:DenyCustomRoutingTraffic'
, denyCustomRoutingTraffic_denyAllTrafficToEndpoint
- Indicates whether all destination IP addresses and ports for a specified
VPC subnet endpoint cannot receive traffic from a custom routing
accelerator. The value is TRUE or FALSE.
When set to TRUE, no destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that cannot receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
$sel:endpointGroupArn:DenyCustomRoutingTraffic'
, denyCustomRoutingTraffic_endpointGroupArn
- The Amazon Resource Name (ARN) of the endpoint group.
$sel:endpointId:DenyCustomRoutingTraffic'
, denyCustomRoutingTraffic_endpointId
- An ID for the endpoint. For custom routing accelerators, this is the
virtual private cloud (VPC) subnet ID.
Request Lenses
denyCustomRoutingTraffic_destinationAddresses :: Lens' DenyCustomRoutingTraffic (Maybe [Text]) Source #
A list of specific Amazon EC2 instance IP addresses (destination addresses) in a subnet that you want to prevent from receiving traffic. The IP addresses must be a subset of the IP addresses allowed for the VPC subnet associated with the endpoint group.
denyCustomRoutingTraffic_destinationPorts :: Lens' DenyCustomRoutingTraffic (Maybe [Natural]) Source #
A list of specific Amazon EC2 instance ports (destination ports) in a subnet endpoint that you want to prevent from receiving traffic.
denyCustomRoutingTraffic_denyAllTrafficToEndpoint :: Lens' DenyCustomRoutingTraffic (Maybe Bool) Source #
Indicates whether all destination IP addresses and ports for a specified VPC subnet endpoint cannot receive traffic from a custom routing accelerator. The value is TRUE or FALSE.
When set to TRUE, no destinations in the custom routing VPC subnet can receive traffic. Note that you cannot specify destination IP addresses and ports when the value is set to TRUE.
When set to FALSE (or not specified), you must specify a list of destination IP addresses that cannot receive traffic. A list of ports is optional. If you don't specify a list of ports, the ports that can accept traffic is the same as the ports configured for the endpoint group.
The default value is FALSE.
denyCustomRoutingTraffic_endpointGroupArn :: Lens' DenyCustomRoutingTraffic Text Source #
The Amazon Resource Name (ARN) of the endpoint group.
denyCustomRoutingTraffic_endpointId :: Lens' DenyCustomRoutingTraffic Text Source #
An ID for the endpoint. For custom routing accelerators, this is the virtual private cloud (VPC) subnet ID.
Destructuring the Response
data DenyCustomRoutingTrafficResponse Source #
See: newDenyCustomRoutingTrafficResponse
smart constructor.
Instances
Eq DenyCustomRoutingTrafficResponse Source # | |
Read DenyCustomRoutingTrafficResponse Source # | |
Show DenyCustomRoutingTrafficResponse Source # | |
Generic DenyCustomRoutingTrafficResponse Source # | |
NFData DenyCustomRoutingTrafficResponse Source # | |
Defined in Amazonka.GlobalAccelerator.DenyCustomRoutingTraffic rnf :: DenyCustomRoutingTrafficResponse -> () # | |
type Rep DenyCustomRoutingTrafficResponse Source # | |
Defined in Amazonka.GlobalAccelerator.DenyCustomRoutingTraffic type Rep DenyCustomRoutingTrafficResponse = D1 ('MetaData "DenyCustomRoutingTrafficResponse" "Amazonka.GlobalAccelerator.DenyCustomRoutingTraffic" "libZSservicesZSamazonka-globalacceleratorZSamazonka-globalaccelerator" 'False) (C1 ('MetaCons "DenyCustomRoutingTrafficResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDenyCustomRoutingTrafficResponse :: DenyCustomRoutingTrafficResponse Source #
Create a value of DenyCustomRoutingTrafficResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.