Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AllowCustomRoutingTrafficCommand

Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that can receive traffic for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a specified list of destination IP addresses and ports in the subnet. 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.

import { GlobalAcceleratorClient, AllowCustomRoutingTrafficCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
// const { GlobalAcceleratorClient, AllowCustomRoutingTrafficCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
const client = new GlobalAcceleratorClient(config);
const command = new AllowCustomRoutingTrafficCommand(input);
const response = await client.send(command);
see

AllowCustomRoutingTrafficCommandInput for command's input shape.

see

AllowCustomRoutingTrafficCommandOutput for command's response shape.

see

config for GlobalAcceleratorClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: AllowCustomRoutingTrafficCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions