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.
example
Use a bare-bones client and the command you need to make an API call.
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.
Use a bare-bones client and the command you need to make an API call.
import { GlobalAcceleratorClient, DenyCustomRoutingTrafficCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import // const { GlobalAcceleratorClient, DenyCustomRoutingTrafficCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import const client = new GlobalAcceleratorClient(config); const command = new DenyCustomRoutingTrafficCommand(input); const response = await client.send(command);
DenyCustomRoutingTrafficCommandInput for command's
input
shape.DenyCustomRoutingTrafficCommandOutput for command's
response
shape.config for GlobalAcceleratorClient's
config
shape.